From 474da9b45d9edd361da51fb51f02b4a277d7e463 Mon Sep 17 00:00:00 2001 From: obrien Date: Mon, 28 Jan 2002 19:00:11 +0000 Subject: Support cross building from 64-bit machines. --- gnu/usr.bin/binutils/libbfd/i386/bfd.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu') 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 -- cgit v1.1