summaryrefslogtreecommitdiff
path: root/sim/mips/sim-main.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-10-21 07:57:33 +0000
committerAndrew Cagney <cagney@redhat.com>1997-10-21 07:57:33 +0000
commit92ad193bb04841ab7c0bc16ab9e8379f9d0f48cc (patch)
tree947257cfdb9b659f802e7c01b0384750650815dc /sim/mips/sim-main.h
parentb7432f0f2710102ba870ac34e6bcdc5881663be8 (diff)
downloadbinutils-gdb-92ad193bb04841ab7c0bc16ab9e8379f9d0f48cc.tar.gz
Use SIM*_OVERFLOW_RESULT defined in sim-alu.h
Diffstat (limited to 'sim/mips/sim-main.h')
-rw-r--r--sim/mips/sim-main.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h
index 6a3d4f7fb78..185ada4ab1f 100644
--- a/sim/mips/sim-main.h
+++ b/sim/mips/sim-main.h
@@ -187,13 +187,13 @@ unsigned64 convert PARAMS ((SIM_DESC sd, int rm, unsigned64 op, FP_formats from,
#define ALU32_END(ANS) \
if (ALU32_HAD_OVERFLOW) \
SignalExceptionIntegerOverflow (); \
- (ANS) = alu_overflow_val;
+ (ANS) = ALU32_OVERFLOW_RESULT
#define ALU64_END(ANS) \
if (ALU64_HAD_OVERFLOW) \
SignalExceptionIntegerOverflow (); \
- (ANS) = alu_val;
+ (ANS) = ALU64_OVERFLOW_RESULT;
/* start-sanitize-r5900 */