PATCH for i386: --no-copy-relocs

Alan Modra amodra@bigpond.net.au
Sun Jun 24 17:18:00 GMT 2001


On Sat, Jun 23, 2001 at 05:38:33PM -0700, H . J . Lu wrote:
> 	* elf32-i386.c (elf_i386_relocate_section): Check the
> 	ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined
> 	in the regular object file and treat the weak definition as
> 	the normal one.

I wasn't careful enough, and copied the condition in check_relocs down
to relocate_section.  I think the real error was leaving in the defweak
test.

Alan



More information about the Binutils mailing list