aboutsummaryrefslogtreecommitdiff
path: root/target-sparc
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2010-05-12 11:04:25 -0700
committerBlue Swirl <blauwirbel@gmail.com>2010-05-19 19:03:33 +0000
commit4c1a0d8244116e4658b24858808c25c11bdf506a (patch)
treeac7128dd58c75db7d3ea51d123062e4ae6512e4a /target-sparc
parent02021c3f3e723d17ac5767d33d58917552650ec9 (diff)
target-sparc: Fix compilation with --enable-debug.
Return a target_ulong from compute_C_icc to match the width of the users. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/helper.h2
-rw-r--r--target-sparc/op_helper.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/target-sparc/helper.h b/target-sparc/helper.h
index 6f103e7697..04c1306d69 100644
--- a/target-sparc/helper.h
+++ b/target-sparc/helper.h
@@ -158,6 +158,6 @@ VIS_CMPHELPER(cmpne);
#undef VIS_HELPER
#undef VIS_CMPHELPER
DEF_HELPER_0(compute_psr, void);
-DEF_HELPER_0(compute_C_icc, i32);
+DEF_HELPER_0(compute_C_icc, tl);
#include "def-helper.h"
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
index b1451d346f..26e836b5a1 100644
--- a/target-sparc/op_helper.c
+++ b/target-sparc/op_helper.c
@@ -1287,7 +1287,7 @@ void helper_compute_psr(void)
CC_OP = CC_OP_FLAGS;
}
-uint32_t helper_compute_C_icc(void)
+target_ulong helper_compute_C_icc(void)
{
uint32_t ret;