aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/target-sparc.c
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-06-28 14:59:37 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-07-14 00:05:28 +0200
commit99bcbcaf803f894fafc90d22ab4fc5db73a3016e (patch)
tree999f138632271532e8be6ea38f823e55ca01b08d /target-sparc.c
parentfa09d838d4b241c98f85657669e11f207d26d4fd (diff)
downloadsparse-dev-99bcbcaf803f894fafc90d22ab4fc5db73a3016e.tar.gz
arch: add predefines __INT_FAST${N}_TYPE__
We just added __INT_LEAST${N}_TYPE__, so add these ones too as they looks slightly more useful. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'target-sparc.c')
-rw-r--r--target-sparc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/target-sparc.c b/target-sparc.c
index be4e968e..d830f6cb 100644
--- a/target-sparc.c
+++ b/target-sparc.c
@@ -19,6 +19,11 @@ static void predefine_sparc(const struct target *self)
static void init_sparc32(const struct target *target)
{
+ fast16_ctype = &int_ctype;
+ ufast16_ctype = &uint_ctype;
+ fast32_ctype = &int_ctype;
+ ufast32_ctype = &uint_ctype;
+
if (!sparc_version)
sparc_version = 8;