On Fri, 3 Aug 2018, Allan Sandfeld Jensen wrote: > > I think you're changing the wrong place for this. If you want -r to be > > usable with GCC without using -nostdlib (which is an interesting > > question), you actually need to change LINK_COMMAND_SPEC (also sometimes > > overridden for targets) to handle -r more like -nostdlib -nostartfiles. > > > Okay, so like this?
Could you confirm if this has passed a bootstrap and testsuite run, with no testsuite regressions compared to GCC without the patch applied? I think it looks mostly OK (modulo ChangeLog rewrites and a missing second space after '.' in the manual change) but I'd like to make sure it's passed the usual testing before preparing it for commit. -- Joseph S. Myers jos...@codesourcery.com