diff options
author | ed <ed@FreeBSD.org> | 2012-01-03 07:06:35 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2012-01-03 07:06:35 +0000 |
commit | 29cd68a581450e8d265ffcd2f82de6bcd65778c6 (patch) | |
tree | 526e9eab42890a03c2766f74b8e82c62b6037a21 | |
parent | d73fab66763e8ae3eb190e76d7ae95aa680d3448 (diff) | |
download | FreeBSD-src-29cd68a581450e8d265ffcd2f82de6bcd65778c6.zip FreeBSD-src-29cd68a581450e8d265ffcd2f82de6bcd65778c6.tar.gz |
Add support for strong aliasing of symbols in i386 assembly.
This macro is a literal copy from the MIPS version of <machine/asm.h>.
-rw-r--r-- | sys/i386/include/asm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/i386/include/asm.h b/sys/i386/include/asm.h index 3148bb7..18d5819 100644 --- a/sys/i386/include/asm.h +++ b/sys/i386/include/asm.h @@ -89,6 +89,13 @@ #define ENTRY(x) _ENTRY(x) #endif +/* + * STRONG_ALIAS: create a strong alias. + */ +#define STRONG_ALIAS(alias,sym) \ + .globl alias; \ + alias = sym + #define RCSID(x) .text; .asciz x #undef __FBSDID |