From bf13243b5345c5abdffc9c8dc62eff84ee0de428 Mon Sep 17 00:00:00 2001 From: andreast Date: Sun, 5 Feb 2012 20:04:43 +0000 Subject: 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 --- sys/powerpc/include/asm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/powerpc/include') 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) \ -- cgit v1.1