am 46ead86b: Merge "Refresh development/ndk/platforms/android-9/arch-x86/include/machine"
* commit '46ead86b0234fd514c7a1adc306ee37de00d59fb': Refresh development/ndk/platforms/android-9/arch-x86/include/machine
This commit is contained in:
@@ -103,6 +103,12 @@
|
|||||||
#define _ENTRY(x) \
|
#define _ENTRY(x) \
|
||||||
.text; _ALIGN_TEXT; .globl x; .type x,@function; x:
|
.text; _ALIGN_TEXT; .globl x; .type x,@function; x:
|
||||||
|
|
||||||
|
#define _ASM_SIZE(x) .size x, .-x;
|
||||||
|
|
||||||
|
#define _END(x) \
|
||||||
|
.fnend; \
|
||||||
|
_ASM_SIZE(x)
|
||||||
|
|
||||||
#ifdef GPROF
|
#ifdef GPROF
|
||||||
# define _PROF_PROLOGUE \
|
# define _PROF_PROLOGUE \
|
||||||
pushl %ebp; movl %esp,%ebp; call PIC_PLT(mcount); popl %ebp
|
pushl %ebp; movl %esp,%ebp; call PIC_PLT(mcount); popl %ebp
|
||||||
@@ -112,8 +118,12 @@
|
|||||||
|
|
||||||
#define ENTRY(y) _ENTRY(_C_LABEL(y)); _PROF_PROLOGUE
|
#define ENTRY(y) _ENTRY(_C_LABEL(y)); _PROF_PROLOGUE
|
||||||
#define NENTRY(y) _ENTRY(_C_LABEL(y))
|
#define NENTRY(y) _ENTRY(_C_LABEL(y))
|
||||||
|
#define END(y) _END(_C_LABEL(y))
|
||||||
#define ASENTRY(y) _ENTRY(_ASM_LABEL(y)); _PROF_PROLOGUE
|
#define ASENTRY(y) _ENTRY(_ASM_LABEL(y)); _PROF_PROLOGUE
|
||||||
|
|
||||||
|
#define ENTRY_PRIVATE(y) ENTRY(y); .hidden _C_LABEL(y)
|
||||||
|
|
||||||
|
|
||||||
#define ALTENTRY(name) .globl _C_LABEL(name); _C_LABEL(name):
|
#define ALTENTRY(name) .globl _C_LABEL(name); _C_LABEL(name):
|
||||||
|
|
||||||
#define ASMSTR .asciz
|
#define ASMSTR .asciz
|
||||||
|
|||||||
Reference in New Issue
Block a user