diff options
author | andreast <andreast@FreeBSD.org> | 2012-02-05 20:04:43 +0000 |
---|---|---|
committer | andreast <andreast@FreeBSD.org> | 2012-02-05 20:04:43 +0000 |
commit | bf13243b5345c5abdffc9c8dc62eff84ee0de428 (patch) | |
tree | 67cc4601a5bcc521ca92310b4c26b139b0f62239 /sys/powerpc/include | |
parent | ac5dbeb938d63729dd227236f6de4aadd73c0b41 (diff) | |
download | FreeBSD-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 'sys/powerpc/include')
-rw-r--r-- | sys/powerpc/include/asm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/include/asm.h b/sys/powerpc/include/asm.h index bfc939b..5f8b779 100644 --- a/sys/powerpc/include/asm.h +++ b/sys/powerpc/include/asm.h @@ -116,9 +116,9 @@ #define __FBSDID(s) /* nothing */ #endif /* not lint and not STRIP_FBSDID */ -#define WEAK_ALIAS(alias,sym) \ +#define WEAK_REFERENCE(sym, alias) \ .weak alias; \ - alias = sym + .equ alias,sym #ifdef __STDC__ #define WARN_REFERENCES(_sym,_msg) \ |