This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld -z options


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]