diff options
author | marcel <marcel@FreeBSD.org> | 1999-11-12 16:53:58 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 1999-11-12 16:53:58 +0000 |
commit | 23856581a79e4c80aea0e71d0aa37ad0419a02d0 (patch) | |
tree | 2c2dec6b3b7c967695c743e46873793f0b28bd49 /gnu | |
parent | 70fc0d318e7b73855ad6367ae9820262a1947403 (diff) | |
download | FreeBSD-src-23856581a79e4c80aea0e71d0aa37ad0419a02d0.zip FreeBSD-src-23856581a79e4c80aea0e71d0aa37ad0419a02d0.tar.gz |
Make binutils for Alpha work on i386 machine, by properly defining
whether the host machine has a 64-bit long or not.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/libbfd/alpha/bfd.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/libbfd/alpha/bfd.h b/gnu/usr.bin/binutils/libbfd/alpha/bfd.h index 8ae43fe..7bfdc94 100644 --- a/gnu/usr.bin/binutils/libbfd/alpha/bfd.h +++ b/gnu/usr.bin/binutils/libbfd/alpha/bfd.h @@ -1,3 +1,4 @@ +/* $FreeBSD$ */ /* Main header file for the bfd library -- portable access to object files. Copyright 1990, 91, 92, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc. @@ -54,7 +55,11 @@ extern "C" { /* These two lines get substitutions done by commands in Makefile.in. */ #define BFD_VERSION "2.9.1" #define BFD_ARCH_SIZE 64 -#define BFD_HOST_64BIT_LONG 1 +#if defined(__i386__) +#define BFD_HOST_64BIT_LONG 0 +#else +#define BFD_HOST_64BIT_LONG 1 +#endif #if 0 #define BFD_HOST_64_BIT #define BFD_HOST_U_64_BIT |