This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] PR ld/18735: Don't change the default symbol for relocatable link
- 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: Thu, 30 Jul 2015 11:14:18 +0930
- Subject: Re: [PATCH] PR ld/18735: Don't change the default symbol for relocatable link
- Authentication-results: sourceware.org; auth=none
- References: <20150729165751 dot GA14701 at intel dot com>
On Wed, Jul 29, 2015 at 09:57:51AM -0700, H.J. Lu wrote:
> bfd/
>
> PR ld/18735
> * elflink.c (_bfd_elf_add_default_symbol): Add the default
> symbol if not performing a relocatable link.
> (elf_link_add_object_symbols): Adjust the default symbol if
> not performing a relocatable link.
>
> ld/testsuite/
>
> PR ld/18735
> * ld-elf/pr18735.d: New file.
> * ld-elf/pr18735.s: Likewise.
OK.
--
Alan Modra
Australia Development Lab, IBM