mirror of
https://github.com/opnsense/src.git
synced 2026-02-14 08:13:38 -05:00
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. |
||
|---|---|---|
| .. | ||
| amd64 | ||
| arm | ||
| bsdsrc | ||
| i387 | ||
| ld80 | ||
| ld128 | ||
| man | ||
| mips | ||
| powerpc | ||
| sparc64 | ||
| src | ||
| x86 | ||
| Makefile | ||
| Symbol.map | ||