/* Configuration file for ARM BPABI targets.
- Copyright (C) 2004, 2005, 2007, 2008, 2009, 2010
- Free Software Foundation, Inc.
+ Copyright (C) 2004-2016 Free Software Foundation, Inc.
Contributed by CodeSourcery, LLC
This file is part of GCC.
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
License for more details.
- You should have received a copy of the GNU General Public License
- along with GCC; see the file COPYING3. If not see
+ Under Section 7 of GPL version 3, you are granted additional
+ permissions described in the GCC Runtime Library Exception, version
+ 3.1, as published by the Free Software Foundation.
+
+ You should have received a copy of the GNU General Public License and
+ a copy of the GCC Runtime Library Exception along with this program;
+ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
/* Use the AAPCS ABI by default. */
" %{!mlittle-endian:%{march=armv7-a|mcpu=cortex-a5 \
|mcpu=cortex-a7 \
|mcpu=cortex-a8|mcpu=cortex-a9|mcpu=cortex-a15 \
+ |mcpu=cortex-a12|mcpu=cortex-a17 \
+ |mcpu=cortex-a15.cortex-a7 \
+ |mcpu=cortex-a17.cortex-a7 \
+ |mcpu=marvell-pj4 \
+ |mcpu=cortex-a32 \
+ |mcpu=cortex-a35 \
+ |mcpu=cortex-a53 \
+ |mcpu=cortex-a57 \
+ |mcpu=cortex-a57.cortex-a53 \
+ |mcpu=cortex-a72 \
+ |mcpu=cortex-a72.cortex-a53 \
+ |mcpu=cortex-a73 \
+ |mcpu=cortex-a73.cortex-a35 \
+ |mcpu=cortex-a73.cortex-a53 \
+ |mcpu=exynos-m1 \
+ |mcpu=falkor \
+ |mcpu=qdf24xx \
+ |mcpu=xgene1 \
+ |mcpu=cortex-m1.small-multiply \
+ |mcpu=cortex-m0.small-multiply \
+ |mcpu=cortex-m0plus.small-multiply \
|mcpu=generic-armv7-a \
+ |march=armv7ve \
|march=armv7-m|mcpu=cortex-m3 \
- |march=armv7e-m|mcpu=cortex-m4 \
+ |march=armv7e-m|mcpu=cortex-m4|mcpu=cortex-m7 \
|march=armv6-m|mcpu=cortex-m0 \
|march=armv8-a \
+ |march=armv8-a+crc \
+ |march=armv8.1-a \
+ |march=armv8.1-a+crc \
+ |march=armv8.2-a \
+ |march=armv8.2-a+fp16 \
+ |march=armv8-m.base|mcpu=cortex-m23 \
+ |march=armv8-m.main \
+ |march=armv8-m.main+dsp|mcpu=cortex-m33 \
:%{!r:--be8}}}"
#else
#define BE8_LINK_SPEC \
" %{mbig-endian:%{march=armv7-a|mcpu=cortex-a5 \
|mcpu=cortex-a7 \
|mcpu=cortex-a8|mcpu=cortex-a9|mcpu=cortex-a15 \
+ |mcpu=cortex-a12|mcpu=cortex-a17 \
+ |mcpu=cortex-a15.cortex-a7 \
+ |mcpu=cortex-a17.cortex-a7 \
+ |mcpu=cortex-a35 \
+ |mcpu=cortex-a53 \
+ |mcpu=cortex-a57 \
+ |mcpu=cortex-a57.cortex-a53 \
+ |mcpu=cortex-a72 \
+ |mcpu=cortex-a72.cortex-a53 \
+ |mcpu=cortex-a73 \
+ |mcpu=cortex-a73.cortex-a35 \
+ |mcpu=cortex-a73.cortex-a53 \
+ |mcpu=exynos-m1 \
+ |mcpu=falkor \
+ |mcpu=qdf24xx \
+ |mcpu=xgene1 \
+ |mcpu=cortex-m1.small-multiply \
+ |mcpu=cortex-m0.small-multiply \
+ |mcpu=cortex-m0plus.small-multiply \
+ |mcpu=marvell-pj4 \
|mcpu=generic-armv7-a \
+ |march=armv7ve \
|march=armv7-m|mcpu=cortex-m3 \
- |march=armv7e-m|mcpu=cortex-m4 \
+ |march=armv7e-m|mcpu=cortex-m4|mcpu=cortex-m7 \
|march=armv6-m|mcpu=cortex-m0 \
|march=armv8-a \
+ |march=armv8-a+crc \
+ |march=armv8.1-a \
+ |march=armv8.1-a+crc \
+ |march=armv8.2-a \
+ |march=armv8.2-a+fp16 \
+ |march=armv8-m.base|mcpu=cortex-m23 \
+ |march=armv8-m.main \
+ |march=armv8-m.main+dsp|mcpu=cortex-m33 \
:%{!r:--be8}}}"
#endif
#define SUBTARGET_EXTRA_LINK_SPEC ""
#endif
+/* Split out the EABI common values so other targets can use it. */
+#define EABI_LINK_SPEC \
+ TARGET_FIX_V4BX_SPEC BE8_LINK_SPEC
+
/* The generic link spec in elf.h does not support shared libraries. */
#define BPABI_LINK_SPEC \
"%{mbig-endian:-EB} %{mlittle-endian:-EL} " \
"%{static:-Bstatic} %{shared:-shared} %{symbolic:-Bsymbolic} " \
- "-X" SUBTARGET_EXTRA_LINK_SPEC TARGET_FIX_V4BX_SPEC BE8_LINK_SPEC
+ "-X" SUBTARGET_EXTRA_LINK_SPEC EABI_LINK_SPEC
#undef LINK_SPEC
#define LINK_SPEC BPABI_LINK_SPEC