summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/i386/include/asm.h7
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
OpenPOWER on IntegriCloud