This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: PR binutils/16318: Objcopy loses EI_OSABI
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: hjl dot tools at gmail dot com
- Cc: binutils at sourceware dot org
- Date: Fri, 13 Dec 2013 04:29:01 +0100
- Subject: Re: PATCH: PR binutils/16318: Objcopy loses EI_OSABI
- Authentication-results: sourceware.org; auth=none
> From: "H.J. Lu" <hongjiu.lu@intel.com>
> Date: Fri, 13 Dec 2013 00:06:33 +0100
> On Thu, Dec 12, 2013 at 02:44:36PM -0800, H.J. Lu wrote:
> Here is a patch to call _bfd_elf_copy_private_bfd_data. But
> there are 5 failures:
>
> build-alpha-linux/binutils/binutils.log:FAIL: strip on STB_GNU_UNIQUE
> build-crisv32-linux/binutils/binutils.log:FAIL: strip on STB_GNU_UNIQUE
> build-frv-linux/binutils/binutils.log:FAIL: strip on STB_GNU_UNIQUE
> build-ia64-linux/binutils/binutils.log:FAIL: strip on STB_GNU_UNIQUE
> build-m68k-linux/binutils/binutils.log:FAIL: strip on STB_GNU_UNIQUE
My autotester sees failures for mipsisa32r2el-unknown-linux-gnu,
cris-axis-linux-gnu, cris-axis-elf. While the last two would
see the same as your "build-crisv32-linux" the first one seems
missing from your list.
> since those targets don't use _bfd_elf_set_osabi. Shouldn't
> elf_backend_post_process_headers be set to _bfd_elf_set_osabi by
> default?
I'd guess yes?
brgds, H-P