From: Richard Henderson Date: Wed, 12 May 2010 18:04:25 +0000 (-0700) Subject: target-sparc: Fix compilation with --enable-debug. X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~4929 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f2ac9ee059744553da14cffb4ee27533cdd2e90;p=sdk%2Femulator%2Fqemu.git 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 Signed-off-by: Blue Swirl --- 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;