From 23856581a79e4c80aea0e71d0aa37ad0419a02d0 Mon Sep 17 00:00:00 2001 From: marcel Date: Fri, 12 Nov 1999 16:53:58 +0000 Subject: Make binutils for Alpha work on i386 machine, by properly defining whether the host machine has a 64-bit long or not. --- gnu/usr.bin/binutils/libbfd/alpha/bfd.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu') 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 -- cgit v1.1