Mark EENTRY as .text
To allow it to be used before ENTRY we need to ensure the symbol is in the .text section. It also needs to be aligned correctly. While here mark the symbol type as a function as in the ENTRY macro. Reported by: jrtc27 Sponsored by: Arm Ltd
This commit is contained in:
parent
f87a9f51ef
commit
04b4655997
@ -50,7 +50,7 @@
|
||||
#define ENTRY(sym) \
|
||||
.globl sym; LENTRY(sym)
|
||||
#define EENTRY(sym) \
|
||||
.globl sym; sym:
|
||||
.globl sym; .text; .align 2; .type sym,#function; sym:
|
||||
#define LEND(sym) .ltorg; .cfi_endproc; .size sym, . - sym
|
||||
#define END(sym) LEND(sym)
|
||||
#define EEND(sym)
|
||||
|
Loading…
Reference in New Issue
Block a user