Date: Thu, 25 Dec 2014 16:43:16 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r276203 - head/sys/arm/include Message-ID: <201412251643.sBPGhGlY003834@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412251643.sBPGhGlY003834>