svn commit: r284451 - head/lib/libc/arm/aeabi

Andrew Turner andrew at FreeBSD.org
Tue Jun 16 16:40:26 UTC 2015


Author: andrew
Date: Tue Jun 16 16:40:25 2015
New Revision: 284451
URL: https://svnweb.freebsd.org/changeset/base/284451

Log:
  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

Modified:
  head/lib/libc/arm/aeabi/Makefile.inc
  head/lib/libc/arm/aeabi/Symbol.map

Modified: head/lib/libc/arm/aeabi/Makefile.inc
==============================================================================
--- head/lib/libc/arm/aeabi/Makefile.inc	Tue Jun 16 15:39:34 2015	(r284450)
+++ head/lib/libc/arm/aeabi/Makefile.inc	Tue Jun 16 16:40:25 2015	(r284451)
@@ -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
 

Modified: head/lib/libc/arm/aeabi/Symbol.map
==============================================================================
--- head/lib/libc/arm/aeabi/Symbol.map	Tue Jun 16 15:39:34 2015	(r284450)
+++ head/lib/libc/arm/aeabi/Symbol.map	Tue Jun 16 16:40:25 2015	(r284451)
@@ -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;
 };


More information about the svn-src-head mailing list