diff options
author | jake <jake@FreeBSD.org> | 2002-07-07 18:04:45 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-07-07 18:04:45 +0000 |
commit | 0e3c61f51afd6682e6d2ab38958d882e6c50db61 (patch) | |
tree | 57885c470477b6f4e684843bae48561536947669 /lib/libstand | |
parent | 8a4e84dbb37a2c8502431bf57cfe7f9e79b0544b (diff) | |
download | FreeBSD-src-0e3c61f51afd6682e6d2ab38958d882e6c50db61.zip FreeBSD-src-0e3c61f51afd6682e6d2ab38958d882e6c50db61.tar.gz |
Ficl wants _setjmp and _longjmp. No need for weak symbols either.
Diffstat (limited to 'lib/libstand')
-rw-r--r-- | lib/libstand/sparc64/_setjmp.S | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/libstand/sparc64/_setjmp.S b/lib/libstand/sparc64/_setjmp.S index a2439b5..a661881 100644 --- a/lib/libstand/sparc64/_setjmp.S +++ b/lib/libstand/sparc64/_setjmp.S @@ -65,17 +65,15 @@ __FBSDID("$FreeBSD$"); * by restoring the previous context. */ -ENTRY(setjmp) +ENTRY(_setjmp) stx %sp, [%o0 + _JB_SP] stx %o7, [%o0 + _JB_PC] stx %fp, [%o0 + _JB_FP] retl clr %o0 -END(setjmp) +END(_setjmp) - .weak CNAME(longjmp) - .set CNAME(longjmp),CNAME(__longjmp) -ENTRY(__longjmp) +ENTRY(_longjmp) mov 1, %g1 movrnz %o1, %o1, %g1 mov %o0, %g2 @@ -97,4 +95,4 @@ ENTRY(__longjmp) 3: ldx [%g2 + _JB_PC], %o7 retl mov %g1, %o0 -END(__longjmp) +END(_longjmp) |