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: Regarding "-z lazyload" flag in gnu linker


On Thu, Sep 13, 2007 at 10:15:54AM +0900, Bhushan Verma wrote:
> I have gone one document in which this is written that "-z lazyload " option
> is not supported in gnu ld.
> Is it true? if yes then is there any way how to set this flag values using
> gnu linker.

That is true.  Implementing support shouldn't be too hard.  See
ld/emultempl/elf32.em for existing -z support.  You'll need to add a
new field to struct bfd_link_info to pass POSFLAGS_1 around, and
arrange to emit DT_POSFLAGS_1 in bfd_elf_size_dynamic_sections.

-- 
Alan Modra
Australia Development Lab, IBM


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