svn commit: r276203 - head/sys/arm/include

Ian Lepore ian at FreeBSD.org
Thu Dec 25 16:43:16 UTC 2014


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
 


More information about the svn-src-all mailing list