This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH for i386: --no-copy-relocs
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