bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Do not include aix5coff64_vec in non-64-bit bfd builds


From: Nick Clifton
Subject: Do not include aix5coff64_vec in non-64-bit bfd builds
Date: 25 Jun 2002 11:04:24 +0100

Hi Guys,

  I am applying the patch below to allow a configure with
  --enable-targets=all but without --enable-64-bit-bfd to build.

Cheers
        Nick

2002-06-25  Nick Clifton  <address@hidden>

        * config.bfd (powerpc-*-aix5*): Only create a selvecs for
        aix5coff64_vec if 64-bit bfd support has been enabled.
        (powerpc64-*-aix5*): Only define if 64-bit bfd support has
        been enabled.
        * targets.c (_bfd_target_vector[]): Only include
        aix5coff64_vec if 64-bit bfd support has been enabled.

Index: config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.102
diff -c -3 -p -w -r1.102 config.bfd
*** config.bfd  18 Jun 2002 21:10:48 -0000      1.102
--- config.bfd  25 Jun 2002 10:02:47 -0000
*************** case "${targ}" in
*** 809,814 ****
--- 809,815 ----
  
    powerpc-*-aix5*)
      targ_defvec=rs6000coff_vec
+ #ifdef BFD64
      targ_selvecs="aix5coff64_vec"
      want64=true
      ;;
*************** case "${targ}" in
*** 817,822 ****
--- 818,824 ----
      targ_selvecs="rs6000coff_vec"
      want64=true
      ;;
+ #endif
  
    powerpc-*-aix* | powerpc-*-beos* | rs6000-*-*)
      targ_defvec=rs6000coff_vec

Index: targets.c
===================================================================
RCS file: /cvs/src/src/bfd/targets.c,v
retrieving revision 1.68
diff -c -3 -p -w -r1.68 targets.c
*** targets.c   18 Jun 2002 21:10:54 -0000      1.68
--- targets.c   25 Jun 2002 10:02:47 -0000
*************** static const bfd_target * const _bfd_tar
*** 727,733 ****
--- 727,735 ----
           it wasn't omitted by mistake.  */
        &a29kcoff_big_vec,
        &a_out_adobe_vec,
+ #ifdef BFD64
        &aix5coff64_vec,
+ #endif
        &aout0_big_vec,
  #if 0
        /* We have no way of distinguishing these from other a.out variants */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]