From bbee5bcb767a083275348253033056ba29162cf2 Mon Sep 17 00:00:00 2001 From: Stacey D Son Date: Sat, 13 May 2017 05:43:32 +0200 Subject: [PATCH] Fix Magic 128-bit mode build. Fix bad prototype in helper.h so CHERI_MAGIC128 builds again. --- target-mips/helper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target-mips/helper.h b/target-mips/helper.h index 942fb6080d3..b60f9da912c 100644 --- a/target-mips/helper.h +++ b/target-mips/helper.h @@ -242,8 +242,8 @@ DEF_HELPER_4(cap2bytes_128c, tl, env, i32, i32, tl) #elif defined(CHERI_MAGIC128) DEF_HELPER_5(bytes2cap_m128, void, env, i32, tl, tl, tl) -DEF_HELPER_3(cap2bytes_m128b, tl, env, i32, tl) -DEF_HELPER_4(cap2bytes_m128c, tl, env, i32, i32, tl) +DEF_HELPER_3(cap2bytes_m128c, tl, env, i32, tl) +DEF_HELPER_4(cap2bytes_m128b, tl, env, i32, i32, tl) #else /* ! CHERI_MAGIC128 */ DEF_HELPER_4(bytes2cap_op, void, env, i32, tl, tl) DEF_HELPER_4(bytes2cap_opll, void, env, i32, tl, tl)