From bb5730ecdb0a340ea5f5441be819c6faa508998b Mon Sep 17 00:00:00 2001 From: Dimitry Ivanov Date: Tue, 5 Jan 2016 13:48:51 -0800 Subject: [PATCH] Move __aeabi_ which are not in libgcc.a to LIBC The following arm symbols should be exported by libc.so: __aeabi_atexit; # arm __aeabi_memclr; # arm __aeabi_memclr4; # arm __aeabi_memclr8; # arm __aeabi_memcpy; # arm __aeabi_memcpy4; # arm __aeabi_memcpy8; # arm __aeabi_memmove; # arm __aeabi_memmove4; # arm __aeabi_memmove8; # arm __aeabi_memset; # arm __aeabi_memset4; # arm __aeabi_memset8; # arm Bug: https://github.com/android-ndk/ndk/issues/1 Change-Id: I542d1ad023b8aece5dc05a28a9ca549cb51455b4 --- libc/libc.arm.brillo.map | 26 +++++++++++++------------- libc/libc.arm.map | 26 +++++++++++++------------- libc/libc.map.txt | 26 +++++++++++++------------- 3 files changed, 39 insertions(+), 39 deletions(-) diff --git a/libc/libc.arm.brillo.map b/libc/libc.arm.brillo.map index fb729d45d..30f4d283c 100644 --- a/libc/libc.arm.brillo.map +++ b/libc/libc.arm.brillo.map @@ -1,6 +1,19 @@ # Generated by genversionscripts.py. Do not edit. LIBC { global: + __aeabi_atexit; # arm + __aeabi_memclr; # arm + __aeabi_memclr4; # arm + __aeabi_memclr8; # arm + __aeabi_memcpy; # arm + __aeabi_memcpy4; # arm + __aeabi_memcpy8; # arm + __aeabi_memmove; # arm + __aeabi_memmove4; # arm + __aeabi_memmove8; # arm + __aeabi_memset; # arm + __aeabi_memset4; # arm + __aeabi_memset8; # arm __assert; __assert2; __atomic_cmpxchg; # arm @@ -1256,7 +1269,6 @@ LIBC_PRIVATE { __accept4; # arm x86 mips __adddf3; # arm __addsf3; # arm - __aeabi_atexit; # arm __aeabi_cdcmpeq; # arm __aeabi_cdcmple; # arm __aeabi_cdrcmple; # arm @@ -1295,18 +1307,6 @@ LIBC_PRIVATE { __aeabi_llsl; # arm __aeabi_llsr; # arm __aeabi_lmul; # arm - __aeabi_memclr; # arm - __aeabi_memclr4; # arm - __aeabi_memclr8; # arm - __aeabi_memcpy; # arm - __aeabi_memcpy4; # arm - __aeabi_memcpy8; # arm - __aeabi_memmove; # arm - __aeabi_memmove4; # arm - __aeabi_memmove8; # arm - __aeabi_memset; # arm - __aeabi_memset4; # arm - __aeabi_memset8; # arm __aeabi_ui2d; # arm __aeabi_ui2f; # arm __aeabi_uidiv; # arm diff --git a/libc/libc.arm.map b/libc/libc.arm.map index b9d9f0b77..a75bdc2f4 100644 --- a/libc/libc.arm.map +++ b/libc/libc.arm.map @@ -1,6 +1,19 @@ # Generated by genversionscripts.py. Do not edit. LIBC { global: + __aeabi_atexit; # arm + __aeabi_memclr; # arm + __aeabi_memclr4; # arm + __aeabi_memclr8; # arm + __aeabi_memcpy; # arm + __aeabi_memcpy4; # arm + __aeabi_memcpy8; # arm + __aeabi_memmove; # arm + __aeabi_memmove4; # arm + __aeabi_memmove8; # arm + __aeabi_memset; # arm + __aeabi_memset4; # arm + __aeabi_memset8; # arm __assert; __assert2; __atomic_cmpxchg; # arm @@ -1257,7 +1270,6 @@ LIBC_PRIVATE { __accept4; # arm x86 mips __adddf3; # arm __addsf3; # arm - __aeabi_atexit; # arm __aeabi_cdcmpeq; # arm __aeabi_cdcmple; # arm __aeabi_cdrcmple; # arm @@ -1296,18 +1308,6 @@ LIBC_PRIVATE { __aeabi_llsl; # arm __aeabi_llsr; # arm __aeabi_lmul; # arm - __aeabi_memclr; # arm - __aeabi_memclr4; # arm - __aeabi_memclr8; # arm - __aeabi_memcpy; # arm - __aeabi_memcpy4; # arm - __aeabi_memcpy8; # arm - __aeabi_memmove; # arm - __aeabi_memmove4; # arm - __aeabi_memmove8; # arm - __aeabi_memset; # arm - __aeabi_memset4; # arm - __aeabi_memset8; # arm __aeabi_ui2d; # arm __aeabi_ui2f; # arm __aeabi_uidiv; # arm diff --git a/libc/libc.map.txt b/libc/libc.map.txt index 4c11ae32b..f95bd828b 100644 --- a/libc/libc.map.txt +++ b/libc/libc.map.txt @@ -1,5 +1,18 @@ LIBC { global: + __aeabi_atexit; # arm + __aeabi_memclr; # arm + __aeabi_memclr4; # arm + __aeabi_memclr8; # arm + __aeabi_memcpy; # arm + __aeabi_memcpy4; # arm + __aeabi_memcpy8; # arm + __aeabi_memmove; # arm + __aeabi_memmove4; # arm + __aeabi_memmove8; # arm + __aeabi_memset; # arm + __aeabi_memset4; # arm + __aeabi_memset8; # arm __assert; __assert2; __atomic_cmpxchg; # arm @@ -1283,7 +1296,6 @@ LIBC_PRIVATE { __accept4; # arm x86 mips __adddf3; # arm __addsf3; # arm - __aeabi_atexit; # arm __aeabi_cdcmpeq; # arm __aeabi_cdcmple; # arm __aeabi_cdrcmple; # arm @@ -1322,18 +1334,6 @@ LIBC_PRIVATE { __aeabi_llsl; # arm __aeabi_llsr; # arm __aeabi_lmul; # arm - __aeabi_memclr; # arm - __aeabi_memclr4; # arm - __aeabi_memclr8; # arm - __aeabi_memcpy; # arm - __aeabi_memcpy4; # arm - __aeabi_memcpy8; # arm - __aeabi_memmove; # arm - __aeabi_memmove4; # arm - __aeabi_memmove8; # arm - __aeabi_memset; # arm - __aeabi_memset4; # arm - __aeabi_memset8; # arm __aeabi_ui2d; # arm __aeabi_ui2f; # arm __aeabi_uidiv; # arm