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]

Re: PATCH for i386: --no-copy-relocs


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.

bug.tar.gz


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