Binutils builds broken with -Werror
Nick Clifton
nickc@redhat.com
Thu Mar 24 23:48:00 GMT 2005
Hi Guys,
Jim's patch to prevent building the elf32-ia64.lo object file when
producing a 32-bit BFD library missed one place - the
_bfd_target_vector in bfd/targets.c. So I am checking in the patch
below to fix this. Tested with a toolchain configured as
"--enable-targets=all" but not with "--enable-64-bit-bfd".
Cheers
Nick
bfd/ChangeLog
2005-03-24 Nick Clifton <nickc@redhat.com>
* targets.c (_bfd_target_vector): Only include the
bfd_elf32_ia64_hpux_big_vec vector when building a 64-bit BFD with
all targets enabled.
Index: bfd/targets.c
===================================================================
RCS file: /cvs/src/src/bfd/targets.c,v
retrieving revision 1.123
diff -c -3 -p -r1.123 targets.c
*** bfd/targets.c 1 Mar 2005 01:56:27 -0000 1.123
--- bfd/targets.c 24 Mar 2005 20:57:21 -0000
*************** static const bfd_target * const _bfd_tar
*** 867,873 ****
--- 867,875 ----
#if 0
&bfd_elf32_ia64_big_vec,
#endif
+ #ifdef BFD64
&bfd_elf32_ia64_hpux_big_vec,
+ #endif
&bfd_elf32_ip2k_vec,
&bfd_elf32_iq2000_vec,
&bfd_elf32_little_generic_vec,
More information about the Binutils
mailing list