diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-12-06 02:39:42 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-01 13:31:34 -0500 |
commit | 03b46de59084f558140b632f0868a7e37b7749d3 (patch) | |
tree | 1360452b55c0ede4411c4e4b0aa3a427e1e457cd /sim/ppc/words.h | |
parent | d3eb0aa2872de6257df7a21ba2cf798f1005001d (diff) | |
download | gdb-03b46de59084f558140b632f0868a7e37b7749d3.zip gdb-03b46de59084f558140b632f0868a7e37b7749d3.tar.gz gdb-03b46de59084f558140b632f0868a7e37b7749d3.tar.bz2 |
sim: ppc: drop natural types
These are almost entirely unused. For the very few places using them,
replace with explicit signed types. This matches what was done in the
common sim code.
Diffstat (limited to 'sim/ppc/words.h')
-rw-r--r-- | sim/ppc/words.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sim/ppc/words.h b/sim/ppc/words.h index 406bb1f..df9278a 100644 --- a/sim/ppc/words.h +++ b/sim/ppc/words.h @@ -27,7 +27,6 @@ /* TYPES: - natural* sign determined by host signed* signed type of the given size unsigned* The corresponding insigned type @@ -49,18 +48,6 @@ #include <stdint.h> /* bit based */ -typedef char natural8; -typedef short natural16; -typedef int natural32; - -#ifdef __GNUC__ -typedef long long natural64; -#endif - -#ifdef _MSC_VER -typedef __int64 natural64; -#endif - typedef int8_t signed8; typedef int16_t signed16; typedef int32_t signed32; @@ -72,11 +59,6 @@ typedef uint32_t unsigned32; typedef uint64_t unsigned64; /* byte based */ -typedef natural8 natural_1; -typedef natural16 natural_2; -typedef natural32 natural_4; -typedef natural64 natural_8; - typedef signed8 signed_1; typedef signed16 signed_2; typedef signed32 signed_4; @@ -96,11 +78,9 @@ typedef unsigned64 unsigned_8; /* target architecture based */ #if (WITH_TARGET_WORD_BITSIZE == 64) -typedef natural64 natural_word; typedef unsigned64 unsigned_word; typedef signed64 signed_word; #else -typedef natural32 natural_word; typedef unsigned32 unsigned_word; typedef signed32 signed_word; #endif @@ -110,7 +90,6 @@ typedef signed32 signed_word; typedef unsigned32 instruction_word; /* IEEE 1275 cell size - only support 32bit mode at present */ -typedef natural32 natural_cell; typedef unsigned32 unsigned_cell; typedef signed32 signed_cell; |