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
This commit is contained in:
Andrew Turner 2015-06-16 16:40:25 +00:00
parent a57b51f99a
commit 9975c7a7ef
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284451
2 changed files with 17 additions and 8 deletions

View File

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

View File

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