diff options
-rw-r--r-- | lib/libc/ia64/gen/_setjmp.S | 2 | ||||
-rw-r--r-- | lib/libc/ia64/gen/setjmp.S | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/ia64/gen/_setjmp.S b/lib/libc/ia64/gen/_setjmp.S index b695eb5..5baf3ff 100644 --- a/lib/libc/ia64/gen/_setjmp.S +++ b/lib/libc/ia64/gen/_setjmp.S @@ -44,6 +44,8 @@ */ ENTRY(_setjmp, 1) + mov ret0=r0 + br.ret.sptk.few rp #if 0 LDGP(pv) stq ra, (2 * 8)(a0) /* sc_pc = return address */ diff --git a/lib/libc/ia64/gen/setjmp.S b/lib/libc/ia64/gen/setjmp.S index 7908891..f1c5399 100644 --- a/lib/libc/ia64/gen/setjmp.S +++ b/lib/libc/ia64/gen/setjmp.S @@ -44,6 +44,9 @@ */ ENTRY(setjmp, 1) + mov ret0=r0 + br.ret.sptk.few rp + #if 0 LDGP(pv) stq ra, (2 * 8)(a0) /* sc_pc = return address */ |