1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

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

This commit is contained in:
Ian Lepore 2014-12-25 16:43:15 +00:00
parent de064ce459
commit 714429358f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=276203

View File

@ -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