aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/double.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-12-06 02:42:00 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-06 01:17:39 -0500
commit95e40d770e95c0d5317c2566a7976bd3421f380a (patch)
treeee409c8b3279492f88f1b3b5e675e86d254b899d /sim/ppc/double.c
parente4c803f5bb08e946f0550260b39f71eff0192262 (diff)
downloadgdb-95e40d770e95c0d5317c2566a7976bd3421f380a.zip
gdb-95e40d770e95c0d5317c2566a7976bd3421f380a.tar.gz
gdb-95e40d770e95c0d5317c2566a7976bd3421f380a.tar.bz2
sim: ppc: migrate to standard uintXX_t types
Drop the sim-specific unsignedXX types and move to the standard uintXX_t types that C11 provides.
Diffstat (limited to 'sim/ppc/double.c')
-rw-r--r--sim/ppc/double.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sim/ppc/double.c b/sim/ppc/double.c
index 615797f..d52c4d2 100644
--- a/sim/ppc/double.c
+++ b/sim/ppc/double.c
@@ -24,16 +24,16 @@
#include "basics.h"
#include "ansidecls.h"
-#define SFtype unsigned32
-#define DFtype unsigned64
+#define SFtype uint32_t
+#define DFtype uint64_t
-#define HItype signed16
-#define SItype signed32
-#define DItype signed64
+#define HItype int16_t
+#define SItype int32_t
+#define DItype int64_t
-#define UHItype unsigned16
-#define USItype unsigned32
-#define UDItype unsigned64
+#define UHItype uint16_t
+#define USItype uint32_t
+#define UDItype uint64_t
#define US_SOFTWARE_GOFAST