This is the mail archive of the binutils@sources.redhat.com 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: [PATCH] RFC: Clearing st_value of PLT SHN_UNDEF symbols if pointer equality not needed


On Mon, Nov 17, 2003 at 09:12:45AM +0100, Jakub Jelinek wrote:
> 	* elf-bfd.h (ELF_LINK_POINTER_EQUALITY_NEEDED): Define new flag.
> 	* elf.c (_bfd_elf_link_hash_copy_indirect): Copy it.
> 	* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
> 	(elf_i386_check_relocs): Set it.
> 	(elf_i386_finish_dynamic_symbol): If it is not set,
> 	clear st_value of SHN_UNDEF symbol.

I think the idea is probably OK, so go ahead and commit.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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