aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/target-s390.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-s390.c')
-rw-r--r--target-s390.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/target-s390.c b/target-s390.c
index 9dbc810e..cdbd685a 100644
--- a/target-s390.c
+++ b/target-s390.c
@@ -4,6 +4,14 @@
#include "expression.h"
+static void init_s390(const struct target *self)
+{
+ fast16_ctype = &int_ctype;
+ ufast16_ctype = &uint_ctype;
+ fast32_ctype = &int_ctype;
+ ufast32_ctype = &uint_ctype;
+}
+
static void predefine_s390(const struct target *self)
{
predefine("__s390__", 1, "1");
@@ -31,6 +39,7 @@ const struct target target_s390 = {
.target_64bit = &target_s390x,
+ .init = init_s390,
.predefine = predefine_s390,
.asm_constraint = asm_constraint_s390,
};