diff options
author | dfr <dfr@FreeBSD.org> | 2000-10-16 16:51:50 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2000-10-16 16:51:50 +0000 |
commit | befe0300bd435e4b452f8e7e96053dd24c51c347 (patch) | |
tree | 76035cfd84ae5e3b1cdf219f8ae76540fbb082c8 /lib/libc/ia64 | |
parent | 00a16b5ef0fd021247c0ab5e0a47d38679cc3675 (diff) | |
download | FreeBSD-src-befe0300bd435e4b452f8e7e96053dd24c51c347.zip FreeBSD-src-befe0300bd435e4b452f8e7e96053dd24c51c347.tar.gz |
Return zero from setjmp() and _setjmp() for now.
Diffstat (limited to 'lib/libc/ia64')
-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 */ |