diff options
author | John Gilmore <gnu@cygnus> | 1993-06-18 10:29:14 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1993-06-18 10:29:14 +0000 |
commit | 933ae8d4fd6c33bf7eb407ed9c03dc103c0c4962 (patch) | |
tree | 1649cb490941197269ecad4ea0733b067028879b /bfd/hosts/sparc-ll.h | |
parent | 34dd8ba311511fc58f47fb977d099ad01c71a9e6 (diff) | |
download | gdb-933ae8d4fd6c33bf7eb407ed9c03dc103c0c4962.zip gdb-933ae8d4fd6c33bf7eb407ed9c03dc103c0c4962.tar.gz gdb-933ae8d4fd6c33bf7eb407ed9c03dc103c0c4962.tar.bz2 |
Eliminate "int8_type", "int16_type", "int32_type", and their
variants from the BFD universe. Leave the 64-bit types for now,
since they are in flux.
* hosts/*.h: Remove declarations of all these types.
Diffstat (limited to 'bfd/hosts/sparc-ll.h')
-rw-r--r-- | bfd/hosts/sparc-ll.h | 32 |
1 files changed, 8 insertions, 24 deletions
diff --git a/bfd/hosts/sparc-ll.h b/bfd/hosts/sparc-ll.h index 1f7c695..32618f2 100644 --- a/bfd/hosts/sparc-ll.h +++ b/bfd/hosts/sparc-ll.h @@ -74,53 +74,37 @@ extern int fputc(); extern int unlink(); -/* EXACT TYPES */ -typedef char int8e_type; -typedef unsigned char uint8e_type; -typedef short int16e_type; -typedef unsigned short uint16e_type; -typedef int int32e_type; -typedef unsigned int uint32e_type; - - #ifdef __GNUC__ typedef unsigned long long uint64e_type; #else typedef struct { - uint32e_type low, high; + unsigned long low, high; } uint64e_type; #endif -/* CORRECT SIZE OR GREATER */ -typedef char int8_type; -typedef unsigned char uint8_type; -typedef short int16_type; -typedef unsigned short uint16_type; -typedef int int32_type; -typedef unsigned int uint32_type; #ifdef __GNUC__ typedef unsigned long long uint64_type; typedef long long int64_type; #else typedef struct { - uint32e_type low, high; + unsigned long low, high; } uint64_type; typedef struct { - uint32e_type low, high; + unsigned long low, high; } int64_type; #endif - #define BYTES_IN_PRINTF_INT 4 #ifndef __GNUC__ -#define uint64_typeLOW(x) (uint32_type)(((x).low)) -#define uint64_typeHIGH(x) (uint32_type)(((x).high)) +#define uint64_typeLOW(x) (unsigned long)(((x).low)) +#define uint64_typeHIGH(x) (unsigned long)(((x).high)) #else -#define uint64_typeLOW(x) (uint32_type)(((x) & 0xffffffff)) -#define uint64_typeHIGH(x) (uint32_type)(((x) >> 32) & 0xffffffff) +#define uint64_typeLOW(x) (unsigned long)(((x) & 0xffffffff)) +#define uint64_typeHIGH(x) (unsigned long)(((x) >> 32) & 0xffffffff) #endif + #include "fopen-same.h" |