|
|
2e9b04 |
diff -up binutils-2.25.orig/bfd/configure.ac binutils-2.25/bfd/configure.ac
|
|
|
2e9b04 |
--- binutils-2.25.orig/bfd/configure.ac 2014-12-24 10:34:45.590491143 +0000
|
|
|
2e9b04 |
+++ binutils-2.25/bfd/configure.ac 2014-12-24 10:36:12.997981992 +0000
|
|
|
2e9b04 |
@@ -183,11 +183,13 @@ if test "x${ac_cv_sizeof_long}" = "x8";
|
|
|
2e9b04 |
BFD_HOST_64BIT_LONG=1
|
|
|
2e9b04 |
test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long"
|
|
|
2e9b04 |
test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long"
|
|
|
2e9b04 |
-elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
|
|
|
2e9b04 |
+fi
|
|
|
2e9b04 |
+if test "x${ac_cv_sizeof_long_long}" = "x8"; then
|
|
|
2e9b04 |
BFD_HOST_64BIT_LONG_LONG=1
|
|
|
2e9b04 |
test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long long"
|
|
|
2e9b04 |
test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long long"
|
|
|
2e9b04 |
- if test "x${ac_cv_sizeof_void_p}" = "x8"; then
|
|
|
2e9b04 |
+ if test "x${ac_cv_sizeof_void_p}" = "x8" \
|
|
|
2e9b04 |
+ -a "x${ac_cv_sizeof_long}" != "x8"; then
|
|
|
2e9b04 |
BFD_HOSTPTR_T="unsigned long long"
|
|
|
2e9b04 |
fi
|
|
|
2e9b04 |
fi
|
|
|
2e9b04 |
diff -up ../binutils-2.20.51.0.7.original/bfd/configure ./bfd/configure
|
|
|
2e9b04 |
--- a/bfd/configure 2010-04-08 15:23:58.000000000 +0100
|
|
|
2e9b04 |
+++ b/bfd/configure 2010-04-08 15:24:06.000000000 +0100
|
|
|
2e9b04 |
@@ -12819,11 +12819,13 @@
|
|
|
2e9b04 |
BFD_HOST_64BIT_LONG=1
|
|
|
2e9b04 |
test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long"
|
|
|
2e9b04 |
test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long"
|
|
|
2e9b04 |
-elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
|
|
|
2e9b04 |
+fi
|
|
|
2e9b04 |
+if test "x${ac_cv_sizeof_long_long}" = "x8"; then
|
|
|
2e9b04 |
BFD_HOST_64BIT_LONG_LONG=1
|
|
|
2e9b04 |
test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long long"
|
|
|
2e9b04 |
test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long long"
|
|
|
2e9b04 |
- if test "x${ac_cv_sizeof_void_p}" = "x8"; then
|
|
|
2e9b04 |
+ if test "x${ac_cv_sizeof_void_p}" = "x8" \
|
|
|
2e9b04 |
+ -a "x${ac_cv_sizeof_long}" != "x8"; then
|
|
|
2e9b04 |
BFD_HOSTPTR_T="unsigned long long"
|
|
|
2e9b04 |
fi
|
|
|
2e9b04 |
fi
|