From 954c837259d8778bb410e358add23a9b3f253404 Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Fri, 5 Sep 2014 18:11:36 +0000 Subject: [PATCH] Add the fp{get,set}{mask,round} functions to the public symbols in the map. These are only exported for armv6hf as the soft-float ABIs have these in the softfloat Symbol.map file. --- lib/libc/arm/Makefile.inc | 4 ++++ lib/libc/arm/Symbol_vfp.map | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 lib/libc/arm/Symbol_vfp.map diff --git a/lib/libc/arm/Makefile.inc b/lib/libc/arm/Makefile.inc index 6e61dcd9e1c8..026bd0a86cc4 100644 --- a/lib/libc/arm/Makefile.inc +++ b/lib/libc/arm/Makefile.inc @@ -16,3 +16,7 @@ SYM_MAPS+=${LIBC_SRCTOP}/arm/Symbol_oabi.map .include "${LIBC_SRCTOP}/arm/aeabi/Makefile.inc" .endif +.if ${MACHINE_ARCH} == "armv6hf" +SYM_MAPS+=${LIBC_SRCTOP}/arm/Symbol_vfp.map +.endif + diff --git a/lib/libc/arm/Symbol_vfp.map b/lib/libc/arm/Symbol_vfp.map new file mode 100644 index 000000000000..82cfcfb574f5 --- /dev/null +++ b/lib/libc/arm/Symbol_vfp.map @@ -0,0 +1,10 @@ +/* + * $FreeBSD$ + */ + +FBSD_1.0 { + fpgetmask; + fpgetround; + fpsetmask; + fpsetround; +};