Blame SOURCES/binutils-2.20.51.0.2-set-long-long.patch

f55871
diff -rcp ../binutils-2.20.51.0.7.original/bfd/configure ./bfd/configure
f55871
*** ../binutils-2.20.51.0.7.original/bfd/configure	2010-04-08 15:23:58.000000000 +0100
f55871
--- ./bfd/configure	2010-04-08 15:24:06.000000000 +0100
f55871
*************** if test "x${ac_cv_sizeof_long}" = "x8"; 
f55871
*** 12819,12829 ****
f55871
    BFD_HOST_64BIT_LONG=1
f55871
    test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long"
f55871
    test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long"
f55871
! elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
f55871
    BFD_HOST_64BIT_LONG_LONG=1
f55871
    test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long long"
f55871
    test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long long"
f55871
!   if test "x${ac_cv_sizeof_void_p}" = "x8"; then
f55871
      BFD_HOSTPTR_T="unsigned long long"
f55871
    fi
f55871
  fi
f55871
--- 12819,12831 ----
f55871
    BFD_HOST_64BIT_LONG=1
f55871
    test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long"
f55871
    test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long"
f55871
! fi
f55871
! if test "x${ac_cv_sizeof_long_long}" = "x8"; then
f55871
    BFD_HOST_64BIT_LONG_LONG=1
f55871
    test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long long"
f55871
    test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long long"
f55871
!   if test "x${ac_cv_sizeof_void_p}" = "x8" \
f55871
!           -a "x${ac_cv_sizeof_long}" != "x8"; then
f55871
      BFD_HOSTPTR_T="unsigned long long"
f55871
    fi
f55871
  fi
f55871
diff -rcp ../binutils-2.20.51.0.7.original/bfd/configure.in ./bfd/configure.in
4910d4
*** ../binutils-2.20.51.0.7.original/bfd/configure.ac	2010-04-08 15:23:58.000000000 +0100
4910d4
--- ./bfd/configure.ac	2010-04-08 15:24:06.000000000 +0100
f55871
*************** if test "x${ac_cv_sizeof_long}" = "x8"; 
f55871
*** 153,163 ****
f55871
    BFD_HOST_64BIT_LONG=1
f55871
    test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long"
f55871
    test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long"
f55871
! elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
f55871
    BFD_HOST_64BIT_LONG_LONG=1
f55871
    test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long long"
f55871
    test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long long"
f55871
!   if test "x${ac_cv_sizeof_void_p}" = "x8"; then
f55871
      BFD_HOSTPTR_T="unsigned long long"
f55871
    fi
f55871
  fi
f55871
--- 153,165 ----
f55871
    BFD_HOST_64BIT_LONG=1
f55871
    test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long"
f55871
    test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long"
f55871
! fi
f55871
! if test "x${ac_cv_sizeof_long_long}" = "x8"; then
f55871
    BFD_HOST_64BIT_LONG_LONG=1
f55871
    test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long long"
f55871
    test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long long"
f55871
!   if test "x${ac_cv_sizeof_void_p}" = "x8" \
f55871
!           -a "x${ac_cv_sizeof_long}" != "x8"; then
f55871
      BFD_HOSTPTR_T="unsigned long long"
f55871
    fi
f55871
  fi