From 32bbf8a63bb43a540cc0f1dd5037736d10b70e0b Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Wed, 2 Oct 2013 16:54:58 -0700 Subject: libc: don't export unnecessary symbols Symbols associated with the internal implementation of memcpy like routines should be private. Change-Id: I2b1d1f59006395c29d518c153928437b08f93d16 --- libc/arch-arm/cortex-a15/bionic/__strcat_chk.S | 2 +- libc/arch-arm/cortex-a15/bionic/__strcpy_chk.S | 2 +- libc/arch-arm/cortex-a15/bionic/memcpy.S | 2 +- libc/arch-arm/cortex-a15/bionic/memcpy_base.S | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'libc/arch-arm/cortex-a15/bionic') diff --git a/libc/arch-arm/cortex-a15/bionic/__strcat_chk.S b/libc/arch-arm/cortex-a15/bionic/__strcat_chk.S index 4aaa9f1..a5b82aa 100644 --- a/libc/arch-arm/cortex-a15/bionic/__strcat_chk.S +++ b/libc/arch-arm/cortex-a15/bionic/__strcat_chk.S @@ -197,7 +197,7 @@ END(__strcat_chk) #include "memcpy_base.S" -ENTRY(__strcat_chk_failed) +ENTRY_PRIVATE(__strcat_chk_failed) .cfi_startproc .save {r0, lr} .save {r4, r5} diff --git a/libc/arch-arm/cortex-a15/bionic/__strcpy_chk.S b/libc/arch-arm/cortex-a15/bionic/__strcpy_chk.S index 05152e6..37ad06c 100644 --- a/libc/arch-arm/cortex-a15/bionic/__strcpy_chk.S +++ b/libc/arch-arm/cortex-a15/bionic/__strcpy_chk.S @@ -163,7 +163,7 @@ END(__strcpy_chk) #define MEMCPY_BASE_ALIGNED __strcpy_chk_memcpy_base_aligned #include "memcpy_base.S" -ENTRY(__strcpy_chk_failed) +ENTRY_PRIVATE(__strcpy_chk_failed) .cfi_startproc .save {r0, lr} .cfi_def_cfa_offset 8 diff --git a/libc/arch-arm/cortex-a15/bionic/memcpy.S b/libc/arch-arm/cortex-a15/bionic/memcpy.S index a843230..3d23a1c 100644 --- a/libc/arch-arm/cortex-a15/bionic/memcpy.S +++ b/libc/arch-arm/cortex-a15/bionic/memcpy.S @@ -87,7 +87,7 @@ END(memcpy) #define MEMCPY_BASE_ALIGNED __memcpy_base_aligned #include "memcpy_base.S" -ENTRY(__memcpy_chk_fail) +ENTRY_PRIVATE(__memcpy_chk_fail) .cfi_startproc // Preserve lr for backtrace. push {lr} diff --git a/libc/arch-arm/cortex-a15/bionic/memcpy_base.S b/libc/arch-arm/cortex-a15/bionic/memcpy_base.S index 0154676..4de23b3 100644 --- a/libc/arch-arm/cortex-a15/bionic/memcpy_base.S +++ b/libc/arch-arm/cortex-a15/bionic/memcpy_base.S @@ -53,7 +53,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -ENTRY(MEMCPY_BASE) +ENTRY_PRIVATE(MEMCPY_BASE) .cfi_startproc .save {r0, lr} .cfi_def_cfa_offset 8 @@ -172,7 +172,7 @@ ENTRY(MEMCPY_BASE) .cfi_endproc END(MEMCPY_BASE) -ENTRY(MEMCPY_BASE_ALIGNED) +ENTRY_PRIVATE(MEMCPY_BASE_ALIGNED) .cfi_startproc .save {r0, lr} .cfi_def_cfa_offset 8 -- cgit v1.1