This is the mail archive of the binutils@sourceware.org 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 00/12] Check UNDEFWEAK_NO_DYNAMIC_RELOC for weak undefined symbol


On Thu, 12 Oct 2017, H.J. Lu wrote:
> On 10/12/17, Hans-Peter Nilsson <hp@bitrange.com> wrote:
> > On Thu, 12 Oct 2017, H.J. Lu wrote:
> >> Don't generate dynamic relocation against weak undefined symbol if it
> >> is resolved to zero.
> >>
> >> H.J. Lu (12):
> >>   Move UNDEFWEAK_NO_DYNAMIC_RELOC to elf-bfd.h
> >>   aarch64: Check UNDEFWEAK_NO_DYNAMIC_RELOC
> >>   tile: Check UNDEFWEAK_NO_DYNAMIC_RELOC
> >>   arm: Check UNDEFWEAK_NO_DYNAMIC_RELOC
> >>   mips: Check UNDEFWEAK_NO_DYNAMIC_RELOC
> >>   ia64: Check UNDEFWEAK_NO_DYNAMIC_RELOC
> >>   hppa: Check UNDEFWEAK_NO_DYNAMIC_RELOC
> >>   m68k: Check UNDEFWEAK_NO_DYNAMIC_RELOC
> >>   microblaze: Check UNDEFWEAK_NO_DYNAMIC_RELOC
> >>   nios2: Check UNDEFWEAK_NO_DYNAMIC_RELOC
> >>   s390: Check UNDEFWEAK_NO_DYNAMIC_RELOC
> >>   sh: Check UNDEFWEAK_NO_DYNAMIC_RELOC
> >
> > Looks like this would be the cure for the new FAILs
> > FAIL: PR ld/22269
> > FAIL: PR ld/22269 (-z dynamic-undefined-weak)
> >
> > that I see for cris-linux with that test-case you added.
> > Could you please do the same for elf32-cris.c?
> > Thanks.
>
> Here it is.

Ok, thanks!

brgds, H-P


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