Author: ed
Date: Tue Jan  3 07:06:35 2012
New Revision: 229367
URL: http://svn.freebsd.org/changeset/base/229367

Log:
  Add support for strong aliasing of symbols in i386 assembly.
  
  This macro is a literal copy from the MIPS version of <machine/asm.h>.

Modified:
  head/sys/i386/include/asm.h

Modified: head/sys/i386/include/asm.h
==============================================================================
--- head/sys/i386/include/asm.h Tue Jan  3 07:05:30 2012        (r229366)
+++ head/sys/i386/include/asm.h Tue Jan  3 07:06:35 2012        (r229367)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to