From: Jim Kingdon Date: Thu, 3 Feb 1994 03:31:22 +0000 (+0000) Subject: * libbfd.c, bfd-in.h, hosts/alphaosf.h, hosts/sparc-ll.h, aoutf1.h, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96ad107bcc9a8adb87dc4ce233b0d17c5e61db96;p=binutils-gdb.git * libbfd.c, bfd-in.h, hosts/alphaosf.h, hosts/sparc-ll.h, aoutf1.h, sparclynx.c, Makefile.in: Change HOST_64_BIT to BFD_HOST_64_BIT. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 52347334072..06d66f9869c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Wed Feb 2 20:37:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * libbfd.c, bfd-in.h, hosts/alphaosf.h, hosts/sparc-ll.h, aoutf1.h, + sparclynx.c, Makefile.in: Change HOST_64_BIT to BFD_HOST_64_BIT. + Wed Feb 2 12:30:13 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * coffswap.h (coff_swap_reloc_out): If RS6000COFF_C, handle type diff --git a/bfd/hosts/alphaosf.h b/bfd/hosts/alphaosf.h index bb341b6f31a..670c2fc5aa1 100644 --- a/bfd/hosts/alphaosf.h +++ b/bfd/hosts/alphaosf.h @@ -12,15 +12,15 @@ /* Make the basic types 64-bit quantities on the host. Also provide the support macros BFD needs. */ -#define HOST_64_BIT long -#define sprintf_vma(s,x) sprintf (s, "%016lx", x) /* HOST_64_BIT */ -#define fprintf_vma(f,x) fprintf (f, "%016lx", x) /* HOST_64_BIT */ +#define BFD_HOST_64_BIT long +#define sprintf_vma(s,x) sprintf (s, "%016lx", x) /* BFD_HOST_64_BIT */ +#define fprintf_vma(f,x) fprintf (f, "%016lx", x) /* BFD_HOST_64_BIT */ #define BYTES_IN_PRINTF_INT 4 /* These must have type unsigned long because they are used as arguments in printf functions. */ -#define uint64_typeLOW(x) ((unsigned long) (((x) & 0xffffffff))) /* HOST_64_BIT */ -#define uint64_typeHIGH(x) ((unsigned long) (((x) >> 32) & 0xffffffff)) /* HOST_64_BIT */ +#define uint64_typeLOW(x) ((unsigned long) (((x) & 0xffffffff))) /* BFD_HOST_64_BIT */ +#define uint64_typeHIGH(x) ((unsigned long) (((x) >> 32) & 0xffffffff)) /* BFD_HOST_64_BIT */ #include "fopen-same.h" diff --git a/bfd/hosts/sparc-ll.h b/bfd/hosts/sparc-ll.h index f2578d0cee7..23fc3bdfe3d 100644 --- a/bfd/hosts/sparc-ll.h +++ b/bfd/hosts/sparc-ll.h @@ -18,7 +18,7 @@ #define SEEK_CUR 1 /* Make the basic types 64-bit quantities on the host */ -#define HOST_64_BIT long long +#define BFD_HOST_64_BIT long long extern int abort PARAMS ((void)); extern int close PARAMS ((int)); diff --git a/bfd/libbfd.c b/bfd/libbfd.c index 5a120b1830a..0d6b5fce2b5 100644 --- a/bfd/libbfd.c +++ b/bfd/libbfd.c @@ -567,7 +567,7 @@ DESCRIPTION /* Sign extension to bfd_signed_vma. */ #define COERCE16(x) (((bfd_signed_vma) (x) ^ 0x8000) - 0x8000) #define COERCE32(x) (((bfd_signed_vma) (x) ^ 0x80000000) - 0x80000000) -#define EIGHT_GAZILLION (((HOST_64_BIT)0x80000000) << 32) +#define EIGHT_GAZILLION (((BFD_HOST_64_BIT)0x80000000) << 32) #define COERCE64(x) \ (((bfd_signed_vma) (x) ^ EIGHT_GAZILLION) - EIGHT_GAZILLION)