Add .cfi_startproc/.cfi_endproc to ENTRY/END.
Bug: 10414953 Change-Id: I711718098b9f3cc0ba8277778df64557e9c7b2a0
This commit is contained in:
@@ -70,12 +70,12 @@
|
||||
#define _ASM_TYPE_FUNCTION #function
|
||||
#define _ASM_TYPE_OBJECT #object
|
||||
#define _ENTRY(x) \
|
||||
.text; _ALIGN_TEXT; .globl x; .type x,_ASM_TYPE_FUNCTION; x: .fnstart
|
||||
.text; _ALIGN_TEXT; .globl x; .type x,_ASM_TYPE_FUNCTION; x: .fnstart; .cfi_startproc;
|
||||
|
||||
#define _ASM_SIZE(x) .size x, .-x;
|
||||
|
||||
#define _END(x) \
|
||||
.fnend; \
|
||||
.fnend; .cfi_endproc; \
|
||||
_ASM_SIZE(x)
|
||||
|
||||
#ifdef GPROF
|
||||
|
||||
Reference in New Issue
Block a user