aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2015-06-16 16:40:25 +0000
committerAndrew Turner <andrew@FreeBSD.org>2015-06-16 16:40:25 +0000
commit9975c7a7ef0b2a0451d2e9a52669277e6fc87829 (patch)
tree512196d4a41089fc31d6bb65d97aa2010ce43a11
parenta57b51f99a82052f5c9c816b3f45ea911c3bcde4 (diff)
downloadsrc-9975c7a7ef0b2a0451d2e9a52669277e6fc87829.tar.gz
src-9975c7a7ef0b2a0451d2e9a52669277e6fc87829.zip
Export the ARM __aeabi_mem* functions from libc, they are needed by the gcc
from ports as it doesn't include these in the copy of libgcc it installs uses. Obtained from: ABT Systems Ltd
Notes
Notes: svn path=/head/; revision=284451
-rw-r--r--lib/libc/arm/aeabi/Makefile.inc8
-rw-r--r--lib/libc/arm/aeabi/Symbol.map17
2 files changed, 17 insertions, 8 deletions
diff --git a/lib/libc/arm/aeabi/Makefile.inc b/lib/libc/arm/aeabi/Makefile.inc
index fa0ec8e9aee4..612e47fb9d3a 100644
--- a/lib/libc/arm/aeabi/Makefile.inc
+++ b/lib/libc/arm/aeabi/Makefile.inc
@@ -27,13 +27,5 @@ SRCS+= aeabi_memcmp.S \
aeabi_memmove.S \
aeabi_memset.S
-# Mark the functions as hidden so they are not available outside of libc.
-CFLAGS.aeabi_memcmp.S= -DVISIBILITY_HIDDEN
-CFLAGS.aeabi_memcpy.S= -DVISIBILITY_HIDDEN
-CFLAGS.aeabi_memmove.S= -DVISIBILITY_HIDDEN
-CFLAGS.aeabi_memset.S= -DVISIBILITY_HIDDEN
-CFLAGS+= ${CFLAGS.${.IMPSRC:T}}
-
-
SYM_MAPS+=${LIBC_SRCTOP}/arm/aeabi/Symbol.map
diff --git a/lib/libc/arm/aeabi/Symbol.map b/lib/libc/arm/aeabi/Symbol.map
index 164d3e77f169..1aff92912434 100644
--- a/lib/libc/arm/aeabi/Symbol.map
+++ b/lib/libc/arm/aeabi/Symbol.map
@@ -52,4 +52,21 @@ FBSDprivate_1.0 {
__aeabi_i2d;
__aeabi_i2f;
+
+
+ __aeabi_memclr;
+ __aeabi_memclr4;
+ __aeabi_memclr8;
+ __aeabi_memcmp;
+ __aeabi_memcmp4;
+ __aeabi_memcmp8;
+ __aeabi_memcpy;
+ __aeabi_memcpy4;
+ __aeabi_memcpy8;
+ __aeabi_memmove;
+ __aeabi_memmove4;
+ __aeabi_memmove8;
+ __aeabi_memset;
+ __aeabi_memset4;
+ __aeabi_memset8;
};