* 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.
This commit is contained in:
Jim Kingdon 1994-02-03 03:31:22 +00:00
parent eade0c6ce8
commit 96ad107bcc
4 changed files with 12 additions and 7 deletions

View File

@ -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

View File

@ -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"

View File

@ -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));

View File

@ -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)