summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-01-28 19:00:11 +0000
committerobrien <obrien@FreeBSD.org>2002-01-28 19:00:11 +0000
commit474da9b45d9edd361da51fb51f02b4a277d7e463 (patch)
tree7dc3bb23fe4f3d3a34c70231d88320c53f08a624 /gnu
parent2bc573d950223658f9f09c7353a44db60c4311f9 (diff)
downloadFreeBSD-src-474da9b45d9edd361da51fb51f02b4a277d7e463.zip
FreeBSD-src-474da9b45d9edd361da51fb51f02b4a277d7e463.tar.gz
Support cross building from 64-bit machines.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/libbfd/i386/bfd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/libbfd/i386/bfd.h b/gnu/usr.bin/binutils/libbfd/i386/bfd.h
index e07887b..a3cb2f5 100644
--- a/gnu/usr.bin/binutils/libbfd/i386/bfd.h
+++ b/gnu/usr.bin/binutils/libbfd/i386/bfd.h
@@ -64,7 +64,11 @@ extern "C" {
/* The word size of the default bfd target. */
#define BFD_DEFAULT_TARGET_SIZE 32
+#if defined(__i386__) || defined(__powerpc__)
#define BFD_HOST_64BIT_LONG 0
+#else
+#define BFD_HOST_64BIT_LONG 1
+#endif /* __i386__ */
#if 0
#define BFD_HOST_64_BIT
#define BFD_HOST_U_64_BIT
OpenPOWER on IntegriCloud