From de52820198f904c3fe4280622c5584c97e86bf0a Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Mon, 28 Jan 2002 19:00:11 +0000 Subject: [PATCH] Support cross building from 64-bit machines. --- gnu/usr.bin/binutils/libbfd/i386/bfd.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/usr.bin/binutils/libbfd/i386/bfd.h b/gnu/usr.bin/binutils/libbfd/i386/bfd.h index e07887b13c7f..a3cb2f5f507f 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