This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] bfd/targets: create elf64 selvecs only if 64-bit bfd support is enabled.
- From: Alan Modra <amodra at gmail dot com>
- To: Philippe De Muyter <phdm at macqel dot be>
- Cc: binutils at sourceware dot org
- Date: Sat, 21 Jun 2014 09:26:37 +0930
- Subject: Re: [PATCH] bfd/targets: create elf64 selvecs only if 64-bit bfd support is enabled.
- Authentication-results: sourceware.org; auth=none
- References: <1403187009-16039-1-git-send-email-phdm at macqel dot be>
On Thu, Jun 19, 2014 at 04:10:09PM +0200, Philippe De Muyter wrote:
> when compiling on a 32-bit target by
>
> ./configure --enable-targets=all
> make
>
> one gets error messages :
> ../bfd/.libs/libbfd.a(targets.o):(.rodata+0xbd4):
> undefined reference to `elf64_be_vec'
> ../bfd/.libs/libbfd.a(targets.o):(.rodata+0xbd8):
> undefined reference to `elf64_le_vec'
> ...
>
> Fix that.
Thanks, committed 886aba9 with this changelog.
2014-06-21 Philippe De Muyter <phdm@macqel.be>
* targets.c (_bfd_target_vector): Add missing #ifdef BFD64 for
a number of targets.
--
Alan Modra
Australia Development Lab, IBM