summaryrefslogtreecommitdiffstats
path: root/lib/libc/powerpc/gen/setjmp.S
diff options
context:
space:
mode:
authorandreast <andreast@FreeBSD.org>2012-02-05 20:04:43 +0000
committerandreast <andreast@FreeBSD.org>2012-02-05 20:04:43 +0000
commitbf13243b5345c5abdffc9c8dc62eff84ee0de428 (patch)
tree67cc4601a5bcc521ca92310b4c26b139b0f62239 /lib/libc/powerpc/gen/setjmp.S
parentac5dbeb938d63729dd227236f6de4aadd73c0b41 (diff)
downloadFreeBSD-src-bf13243b5345c5abdffc9c8dc62eff84ee0de428.zip
FreeBSD-src-bf13243b5345c5abdffc9c8dc62eff84ee0de428.tar.gz
Replace the assembler macro WEAK_ALIAS with a new macro WEAK_REFERENCE which
has the same API as __weak_reference(). Give 'x' in SYS.h a more meaningful name. Tested on 32- and 64-bit PowerMac. Reviewed by: bde
Diffstat (limited to 'lib/libc/powerpc/gen/setjmp.S')
-rw-r--r--lib/libc/powerpc/gen/setjmp.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/powerpc/gen/setjmp.S b/lib/libc/powerpc/gen/setjmp.S
index 27567ff..447ba57 100644
--- a/lib/libc/powerpc/gen/setjmp.S
+++ b/lib/libc/powerpc/gen/setjmp.S
@@ -69,7 +69,7 @@ ENTRY(setjmp)
li %r3,0 /* return (0) */
blr
- WEAK_ALIAS(longjmp, __longjmp)
+ WEAK_REFERENCE(CNAME(__longjmp), longjmp)
ENTRY(__longjmp)
lmw %r9,20(%r3) /* restore regs */
mr %r6,%r4 /* save val param */
OpenPOWER on IntegriCloud