From d3a82ba5e873b7d6ac2b4b78960c48cebe4b6c69 Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Sat, 14 Feb 2004 23:04:43 +0000 Subject: [PATCH] (emit_nat_info): i is a preserved register number. Correct accordingly. (Logical change 1.169) --- src/ia64/Gscript-ia64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ia64/Gscript-ia64.c b/src/ia64/Gscript-ia64.c index 97c60556..011caf58 100644 --- a/src/ia64/Gscript-ia64.c +++ b/src/ia64/Gscript-ia64.c @@ -288,7 +288,7 @@ emit_nat_info (struct ia64_state_record *sr, int i, struct ia64_script *script) return; } insn.opc = opc; - insn.dst = i + (UNW_IA64_NAT - UNW_IA64_GR); + insn.dst = i + (IA64_REG_NAT4 - IA64_REG_R4); insn.val = val; script_emit (script, insn); }