aboutsummaryrefslogtreecommitdiff
path: root/lib/libcompiler_rt
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-10-05 23:01:33 +0000
committerWarner Losh <imp@FreeBSD.org>2017-10-05 23:01:33 +0000
commit0b972ac92efa281a92d2c774008c23e38373b413 (patch)
tree51bbbca0ac650b8a0f5465e9c5861a9d9eb9db99 /lib/libcompiler_rt
parentb1bad39103f190d5fb8bc8f41f38f43e7787519a (diff)
downloadsrc-0b972ac92efa281a92d2c774008c23e38373b413.tar.gz
src-0b972ac92efa281a92d2c774008c23e38373b413.zip
Support armv7 builds for userland
Make armv7 as a new MACHINE_ARCH. Copy all the places we do armv6 and add armv7 as basically an alias. clang appears to generate code for armv7 by default. armv7 hard float isn't supported by the the in-tree gcc, so it hasn't been updated to have a new default. Support armv7 as a new valid MACHINE_ARCH (and by extension TARGET_ARCH). Add armv7 to the universe build. Differential Revision: https://reviews.freebsd.org/D12010
Notes
Notes: svn path=/head/; revision=324340
Diffstat (limited to 'lib/libcompiler_rt')
-rw-r--r--lib/libcompiler_rt/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcompiler_rt/Makefile.inc b/lib/libcompiler_rt/Makefile.inc
index 0d0d8e951451..e568df37729a 100644
--- a/lib/libcompiler_rt/Makefile.inc
+++ b/lib/libcompiler_rt/Makefile.inc
@@ -204,7 +204,7 @@ SRCF+= stdatomic
.endif
.for file in ${SRCF}
-.if ${MACHINE_ARCH:Marmv6*} && (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "") \
+.if ${MACHINE_ARCH:Marmv[67]*} && (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "") \
&& exists(${CRTSRC}/${CRTARCH}/${file}vfp.S)
SRCS+= ${file}vfp.S
. elif exists(${CRTSRC}/${CRTARCH}/${file}.S)