libc: don't export unnecessary symbols

Symbols associated with the internal implementation of memcpy
like routines should be private.

Change-Id: I2b1d1f59006395c29d518c153928437b08f93d16
This commit is contained in:
Nick Kralevich 2013-10-02 16:54:58 -07:00
parent f741e1c2ed
commit 32bbf8a63b
13 changed files with 15 additions and 15 deletions

View file

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

View file

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

View file

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

View file

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

View file

@ -200,7 +200,7 @@ END(__strcat_chk)
#define MEMCPY_BASE_ALIGNED __strcat_chk_memcpy_base_aligned
#include "memcpy_base.S"
ENTRY(__strcat_chk_fail)
ENTRY_PRIVATE(__strcat_chk_fail)
.cfi_startproc
.save {r0, lr}

View file

@ -167,7 +167,7 @@ END(__strcpy_chk)
#define MEMCPY_BASE_ALIGNED __strcpy_chk_memcpy_base_aligned
#include "memcpy_base.S"
ENTRY(__strcpy_chk_fail)
ENTRY_PRIVATE(__strcpy_chk_fail)
.cfi_startproc
.save {r0, lr}

View file

@ -67,7 +67,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}

View file

@ -32,7 +32,7 @@
* cache line.
*/
ENTRY(MEMCPY_BASE)
ENTRY_PRIVATE(MEMCPY_BASE)
.cfi_startproc
.save {r0, lr}
.cfi_def_cfa_offset 8
@ -141,7 +141,7 @@ ENTRY(MEMCPY_BASE)
.cfi_endproc
END(MEMCPY_BASE)
ENTRY(MEMCPY_BASE_ALIGNED)
ENTRY_PRIVATE(MEMCPY_BASE_ALIGNED)
.cfi_startproc
.save {r0, lr}

View file

@ -119,7 +119,7 @@ ENTRY(memset)
.cfi_endproc
END(memset)
ENTRY(__memset_large_copy)
ENTRY_PRIVATE(__memset_large_copy)
.cfi_startproc
/* compute the offset to align the destination

View file

@ -196,7 +196,7 @@ END(__strcat_chk)
#define MEMCPY_BASE_ALIGNED __strcat_chk_memcpy_base_aligned
#include "memcpy_base.S"
ENTRY(__strcat_chk_failed)
ENTRY_PRIVATE(__strcat_chk_failed)
.cfi_startproc
.save {r0, lr}
.save {r4, r5}

View file

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

View file

@ -67,7 +67,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}

View file

@ -35,7 +35,7 @@
// Assumes neon instructions and a cache line size of 32 bytes.
ENTRY(MEMCPY_BASE)
ENTRY_PRIVATE(MEMCPY_BASE)
.cfi_startproc
.save {r0, lr}
.cfi_def_cfa_offset 8