]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r269956:
authorandrew <andrew@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Oct 2014 16:24:02 +0000 (16:24 +0000)
committerandrew <andrew@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Oct 2014 16:24:02 +0000 (16:24 +0000)
commit3411697b4d407cabf76d9cc8b2ce461820594e67
tree8619454664cc75a8f2255ce6878703397c091972
parent7270dc0961a054174c8592d0708d40bdce6f022c
MFC r269956:

 From https://sourceware.org/ml/newlib/2014/msg00113.html
 By Richard Earnshaw at ARM
 >
 >GCC has for a number of years provides a set of pre-defined macros for
 >use with determining the ISA and features of the target during
 >pre-processing.  However, the design was always somewhat cumbersome in
 >that each new architecture revision created a new define and then
 >removed the previous one.  This meant that it was necessary to keep
 >updating the support code simply to recognise a new architecture being
 >added.
 >
 >The ACLE specification (ARM C Language Extentions)
 >(http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.set.swdev/index.html)
 >provides a much more suitable interface and GCC has supported this
 >since gcc-4.8.
 >
 >This patch makes use of the ACLE pre-defines to map to the internal
 >feature definitions.  To support older versions of GCC a compatibility
 >header is provided that maps the traditional pre-defines onto the new
 >ACLE ones.

 Stop using __FreeBSD_ARCH_armv6__ and switch to __ARM_ARCH >= 6 in the
 couple of places in tree. clang already implements ACLE. Add a define
 that says we implement version 1.1, even though the implementation
 isn't quite complete.

git-svn-id: svn://svn.freebsd.org/base/stable/10@273827 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/arm/aeabi/aeabi_vfp.h
lib/msun/arm/fenv.c
sys/arm/arm/disassem.c
sys/arm/include/acle-compat.h [new file with mode: 0644]
sys/arm/include/param.h