diff options
author | ed <ed@FreeBSD.org> | 2012-01-05 08:51:06 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2012-01-05 08:51:06 +0000 |
commit | 3bad498373ab9cd361987063fc05a1a8255840b4 (patch) | |
tree | 25a02f27c04c0485c23f1a40736476d6b4ed145b /sys/i386/include/asm.h | |
parent | 5f07d647af7eed486b22d7c419e59e3a83dcc9ac (diff) | |
download | FreeBSD-src-3bad498373ab9cd361987063fc05a1a8255840b4.zip FreeBSD-src-3bad498373ab9cd361987063fc05a1a8255840b4.tar.gz |
Also import WEAK_ALIAS() from the MIPS code.
Diffstat (limited to 'sys/i386/include/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 18d5819..7ce3d57 100644 --- a/sys/i386/include/asm.h +++ b/sys/i386/include/asm.h @@ -90,6 +90,13 @@ #endif /* + * WEAK_ALIAS: create a weak alias. + */ +#define WEAK_ALIAS(alias,sym) \ + .weak alias; \ + alias = sym + +/* * STRONG_ALIAS: create a strong alias. */ #define STRONG_ALIAS(alias,sym) \ |