summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2017-01-12 15:21:38 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2017-01-12 15:21:38 +0100
commitb9a11e627a3c506620450ffdd1a11f71938e2566 (patch)
tree26b4ca2b3780e10ecebe0a8691a8d948ee4ab9a0 /src
parent5a8c7700d49623ff0b7d2fbfe99663b209b93d04 (diff)
Use big endian for MIPS.
Diffstat (limited to 'src')
-rw-r--r--src/driver/target.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/driver/target.c b/src/driver/target.c
index e960a54..e943f1c 100644
--- a/src/driver/target.c
+++ b/src/driver/target.c
@@ -273,6 +273,7 @@ static void set_options_for_machine(machine_triple_t const *const machine)
modulo_shift = 32;
long_double_size = 8;
float_int_overflow = ir_overflow_indefinite;
+ target.byte_order_big_endian = true;
} else {
errorf(NULL, "unknown cpu '%s' in target-triple", cpu);
exit(EXIT_FAILURE);