Add .cfi_startproc/.cfi_endproc to ENTRY/END.

Bug: 10414953
Change-Id: I711718098b9f3cc0ba8277778df64557e9c7b2a0
This commit is contained in:
Christopher Ferris
2013-11-19 13:45:27 -08:00
parent bf652a5f5c
commit 507cfe2e10
27 changed files with 27 additions and 117 deletions

View File

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