Author: ian
Date: Thu Dec 25 16:43:15 2014
New Revision: 276203
URL: https://svnweb.freebsd.org/changeset/base/276203

Log:
  Fix the GLOBAL macro so it works (upper vs lowercase X), use it in _EENTRY.

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

Modified: head/sys/arm/include/asm.h
==============================================================================
--- head/sys/arm/include/asm.h  Thu Dec 25 16:36:02 2014        (r276202)
+++ head/sys/arm/include/asm.h  Thu Dec 25 16:43:15 2014        (r276203)
@@ -82,10 +82,11 @@
  * basically just a label that you can jump to.  The EEND() macro does nothing
  * at all, except document the exit point associated with the same-named entry.
  */
-#define        _EENTRY(x)      .globl x; .type x,_ASM_TYPE_FUNCTION; x:
+#define        GLOBAL(x)       .global x
+
+#define        _EENTRY(x)      GLOBAL(x); .type x,_ASM_TYPE_FUNCTION; x:
 #define        _EEND(x)        /* nothing */
 
-#define        GLOBAL(X)       .globl x
 #define        _ENTRY(x)       .text; _ALIGN_TEXT; _EENTRY(x) _FNSTART
 #define        _END(x)         .size x, . - x; _FNEND
 
_______________________________________________
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