0b972ac92e
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
18 lines
381 B
Makefile
18 lines
381 B
Makefile
# $FreeBSD$
|
|
#
|
|
# Machine dependent definitions for the arm architecture.
|
|
#
|
|
|
|
SOFTFLOAT_BITS=32
|
|
|
|
# Long double is just double precision.
|
|
SRCS+=machdep_ldisd.c
|
|
SYM_MAPS+=${LIBC_SRCTOP}/arm/Symbol.map
|
|
|
|
.include "${LIBC_SRCTOP}/arm/aeabi/Makefile.inc"
|
|
|
|
.if ${MACHINE_ARCH:Marmv[67]*} && (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "")
|
|
SYM_MAPS+=${LIBC_SRCTOP}/arm/Symbol_vfp.map
|
|
.endif
|
|
|