ld -z options
Ian Lance Taylor
iant@google.com
Thu Jul 14 00:36:00 GMT 2011
Alan Modra <amodra@gmail.com> writes:
> I found today that none of the ld -z options are available on ELF
> targets that lack shared lib support (unless the target happens to
> provide some target specific options, which is weird). This patch
> rearranges the option support code in elf32.em to make a few useful
> options generally available, and moves a couple of x86/x86_64 options
> out of the general set. I'll commit this after running tests
> overnight.
While you're looking at this, how would you feel about making the linker
give a warning or error when an unrecognized -z option is used?
(I've had various gold bug reports about unrecognized -z options for
options which GNU ld doesn't recognize either.)
Ian
More information about the Binutils
mailing list