[Patch][GCC] Document and fix -r (partial linking)

Joseph Myers joseph@codesourcery.com
Thu Sep 20 20:02:00 GMT 2018


On Sat, 1 Sep 2018, Allan Sandfeld Jensen wrote:

> On Montag, 27. August 2018 15:37:15 CEST Joseph Myers wrote:
> > On Sun, 26 Aug 2018, Allan Sandfeld Jensen wrote:
> > > Patch updated. I specifically edited a number of the existing tests that
> > > used both -r and -nostdlib and removed -nostdlib so the patch is
> > > exercised by existing tests. The patch bootstrapped, I didn't notice any
> > > relevant failures when running the test suite (though I could have missed
> > > something, I am never comfortable reading that output).
> > 
> > Note that Iain's comments also included that the patch is incomplete
> > because of more specs in gcc.c (VTABLE_VERIFICATION_SPEC,
> > SANITIZER_EARLY_SPEC, SANITIZER_SPEC) that needs corresponding updates to
> > handle -r like -nostdlib.
> 
> Updated (but tests not rerun)

Thanks, I've now committed the patch.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list