PATCH for i386: --no-copy-relocs

H . J . Lu hjl@lucon.org
Sun Jun 24 17:25:00 GMT 2001


On Mon, Jun 25, 2001 at 09:52:57AM +0930, Alan Modra wrote:
> 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.
> 

There are 2 errors, one is defweak and the other is common. I am
enclosing a new testcase here.

H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.tar.gz
Type: application/x-gzip
Size: 599 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20010624/462fa6be/attachment.bin>


More information about the Binutils mailing list