diff options
author | Christopher Ferris <cferris@google.com> | 2013-11-19 13:45:27 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2013-11-19 16:31:24 -0800 |
commit | 507cfe2e10a6c4ad61b9638820ba10bfe881a18c (patch) | |
tree | 95639273dd28b75ba8c16690773d44c385342e31 /libc/arch-arm/krait/bionic | |
parent | bf652a5f5c1249471cb6a60b5bda5ddf1e94a635 (diff) | |
download | bionic-507cfe2e10a6c4ad61b9638820ba10bfe881a18c.zip bionic-507cfe2e10a6c4ad61b9638820ba10bfe881a18c.tar.gz bionic-507cfe2e10a6c4ad61b9638820ba10bfe881a18c.tar.bz2 |
Add .cfi_startproc/.cfi_endproc to ENTRY/END.
Bug: 10414953
Change-Id: I711718098b9f3cc0ba8277778df64557e9c7b2a0
Diffstat (limited to 'libc/arch-arm/krait/bionic')
-rw-r--r-- | libc/arch-arm/krait/bionic/__strcat_chk.S | 6 | ||||
-rw-r--r-- | libc/arch-arm/krait/bionic/__strcpy_chk.S | 5 | ||||
-rw-r--r-- | libc/arch-arm/krait/bionic/memcpy.S | 6 | ||||
-rw-r--r-- | libc/arch-arm/krait/bionic/memcpy_base.S | 3 | ||||
-rw-r--r-- | libc/arch-arm/krait/bionic/memset.S | 7 | ||||
-rw-r--r-- | libc/arch-arm/krait/bionic/strcmp.S | 2 |
6 files changed, 0 insertions, 29 deletions
diff --git a/libc/arch-arm/krait/bionic/__strcat_chk.S b/libc/arch-arm/krait/bionic/__strcat_chk.S index 302478e..a5d06f3 100644 --- a/libc/arch-arm/krait/bionic/__strcat_chk.S +++ b/libc/arch-arm/krait/bionic/__strcat_chk.S @@ -38,7 +38,6 @@ // Check that the two lengths together don't exceed the threshold, then // do a memcpy of the data. ENTRY(__strcat_chk) - .cfi_startproc pld [r0, #0] push {r0, lr} .save {r0, lr} @@ -188,8 +187,6 @@ ENTRY(__strcat_chk) mov r2, r4 add r0, r0, r3 pop {r4, r5} - - .cfi_endproc END(__strcat_chk) #define MEMCPY_BASE __strcat_chk_memcpy_base @@ -197,7 +194,6 @@ END(__strcat_chk) #include "memcpy_base.S" ENTRY_PRIVATE(__strcat_chk_failed) - .cfi_startproc .save {r0, lr} .save {r4, r5} .cfi_def_cfa_offset 8 @@ -216,8 +212,6 @@ error_code: .word BIONIC_EVENT_STRCAT_BUFFER_OVERFLOW error_message: .word error_string-(1b+4) - - .cfi_endproc END(__strcat_chk_failed) .data diff --git a/libc/arch-arm/krait/bionic/__strcpy_chk.S b/libc/arch-arm/krait/bionic/__strcpy_chk.S index a2c1df1..95aaf4f 100644 --- a/libc/arch-arm/krait/bionic/__strcpy_chk.S +++ b/libc/arch-arm/krait/bionic/__strcpy_chk.S @@ -37,7 +37,6 @@ // Get the length of the source string first, then do a memcpy of the data // instead of a strcpy. ENTRY(__strcpy_chk) - .cfi_startproc pld [r0, #0] push {r0, lr} .save {r0, lr} @@ -155,8 +154,6 @@ ENTRY(__strcpy_chk) // Add 1 for copy length to get the string terminator. add r2, r3, #1 - - .cfi_endproc END(__strcpy_chk) #define MEMCPY_BASE __strcpy_chk_memcpy_base @@ -164,7 +161,6 @@ END(__strcpy_chk) #include "memcpy_base.S" ENTRY_PRIVATE(__strcpy_chk_failed) - .cfi_startproc .save {r0, lr} .cfi_def_cfa_offset 8 .cfi_rel_offset r0, 0 @@ -179,7 +175,6 @@ error_code: .word BIONIC_EVENT_STRCPY_BUFFER_OVERFLOW error_message: .word error_string-(1b+4) - .cfi_endproc END(__strcpy_chk_failed) .data diff --git a/libc/arch-arm/krait/bionic/memcpy.S b/libc/arch-arm/krait/bionic/memcpy.S index b3ce95d..58915e4 100644 --- a/libc/arch-arm/krait/bionic/memcpy.S +++ b/libc/arch-arm/krait/bionic/memcpy.S @@ -44,23 +44,19 @@ .thumb_func ENTRY(__memcpy_chk) - .cfi_startproc cmp r2, r3 bhi __memcpy_chk_fail // Fall through to memcpy... - .cfi_endproc END(__memcpy_chk) ENTRY(memcpy) - .cfi_startproc pld [r1, #64] stmfd sp!, {r0, lr} .save {r0, lr} .cfi_def_cfa_offset 8 .cfi_rel_offset r0, 0 .cfi_rel_offset lr, 4 - .cfi_endproc END(memcpy) #define MEMCPY_BASE __memcpy_base @@ -68,7 +64,6 @@ END(memcpy) #include "memcpy_base.S" ENTRY_PRIVATE(__memcpy_chk_fail) - .cfi_startproc // Preserve lr for backtrace. push {lr} .save {lr} @@ -84,7 +79,6 @@ error_code: .word BIONIC_EVENT_MEMCPY_BUFFER_OVERFLOW error_message: .word error_string-(1b+4) - .cfi_endproc END(__memcpy_chk_fail) .data diff --git a/libc/arch-arm/krait/bionic/memcpy_base.S b/libc/arch-arm/krait/bionic/memcpy_base.S index 9984177..99fc255 100644 --- a/libc/arch-arm/krait/bionic/memcpy_base.S +++ b/libc/arch-arm/krait/bionic/memcpy_base.S @@ -36,7 +36,6 @@ // Assumes neon instructions and a cache line size of 32 bytes. ENTRY_PRIVATE(MEMCPY_BASE) - .cfi_startproc .save {r0, lr} .cfi_def_cfa_offset 8 .cfi_rel_offset r0, 0 @@ -122,6 +121,4 @@ ENTRY_PRIVATE(MEMCPY_BASE) ldmfd sp!, {r0, lr} bx lr - - .cfi_endproc END(MEMCPY_BASE) diff --git a/libc/arch-arm/krait/bionic/memset.S b/libc/arch-arm/krait/bionic/memset.S index c5a9386..1563327 100644 --- a/libc/arch-arm/krait/bionic/memset.S +++ b/libc/arch-arm/krait/bionic/memset.S @@ -39,7 +39,6 @@ .fpu neon ENTRY(__memset_chk) - .cfi_startproc cmp r2, r3 bls .L_done @@ -58,23 +57,18 @@ error_code: .word BIONIC_EVENT_MEMSET_BUFFER_OVERFLOW error_message: .word error_string-(1b+8) - - .cfi_endproc END(__memset_chk) ENTRY(bzero) - .cfi_startproc mov r2, r1 mov r1, #0 .L_done: // Fall through to memset... - .cfi_endproc END(bzero) /* memset() returns its first argument. */ ENTRY(memset) - .cfi_startproc .save {r0} stmfd sp!, {r0} .cfi_def_cfa_offset 4 @@ -111,7 +105,6 @@ ENTRY(memset) strcsb r1, [r0], #1 ldmfd sp!, {r0} bx lr - .cfi_endproc END(memset) .data diff --git a/libc/arch-arm/krait/bionic/strcmp.S b/libc/arch-arm/krait/bionic/strcmp.S index e78bc9c..f735fb5 100644 --- a/libc/arch-arm/krait/bionic/strcmp.S +++ b/libc/arch-arm/krait/bionic/strcmp.S @@ -159,7 +159,6 @@ ENTRY(strcmp) #endif /* not __ARMEB__ */ .endm /* setup_return */ - .cfi_startproc pld [r0, #0] pld [r1, #0] @@ -485,5 +484,4 @@ ENTRY(strcmp) .cfi_restore r7 bx lr - .cfi_endproc END(strcmp) |