This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] PR binutils/19547: Clear HAS_RELOC if there are no relocations
- 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: Tue, 2 Feb 2016 12:58:55 +1030
- Subject: Re: [PATCH] PR binutils/19547: Clear HAS_RELOC if there are no relocations
- Authentication-results: sourceware.org; auth=none
- References: <20160201235309 dot GA25068 at intel dot com>
On Mon, Feb 01, 2016 at 03:53:09PM -0800, H.J. Lu wrote:
> bfd/
>
> PR binutils/19547
> * elf.c (assign_section_numbers): Clear HAS_RELOC if there are
> no relocations in relocatable files.
>
> binutils/
>
> PR binutils/19547
> * testsuite/binutils-all/objcopy.exp
> (objcopy_test_without_global_symbol): New proc.
> Run objcopy_test_without_global_symbol.
> * testsuite/binutils-all/pr19547.c: New file.
OK.
--
Alan Modra
Australia Development Lab, IBM