This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 00/12] Check UNDEFWEAK_NO_DYNAMIC_RELOC for weak undefined symbol
- From: Alan Modra <amodra at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 13 Oct 2017 13:13:28 +1030
- Subject: Re: [PATCH 00/12] Check UNDEFWEAK_NO_DYNAMIC_RELOC for weak undefined symbol
- Authentication-results: sourceware.org; auth=none
- References: <20171012131007.27554-1-hjl.tools@gmail.com>
On Thu, Oct 12, 2017 at 06:09:55AM -0700, 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
Thanks for doing this. The patches are OK if no target maintainers
complain in the next few days.
--
Alan Modra
Australia Development Lab, IBM