This is the mail archive of the
mailing list for the binutils project.
Re: ld -z options
Alan Modra <firstname.lastname@example.org> 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
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.)