mirror of git://gcc.gnu.org/git/gcc.git
Pass -be8 by default for armv7-a when configured big-endian.
config/arm/bpabi.h (BE8_LINK_SPEC): Set according to TARGET_BIG_ENDIAN_DEFAULT. Co-Authored-By: Jim Wilson <jimwilso@cisco.com> From-SVN: r189867
This commit is contained in:
parent
f778c049cd
commit
b0c724c227
|
|
@ -1,3 +1,9 @@
|
||||||
|
2012-07-25 Bharathi Seshadri <bseshadr@cisco.com>
|
||||||
|
Jim Wilson <jimwilso@cisco.com>
|
||||||
|
|
||||||
|
* config/arm/bpabi.h (BE8_LINK_SPEC): Set according to
|
||||||
|
TARGET_BIG_ENDIAN_DEFAULT.
|
||||||
|
|
||||||
2012-07-25 Eric Botcazou <ebotcazou@adacore.com>
|
2012-07-25 Eric Botcazou <ebotcazou@adacore.com>
|
||||||
|
|
||||||
* gimple-low.c (lower_try_catch): New function.
|
* gimple-low.c (lower_try_catch): New function.
|
||||||
|
|
|
||||||
|
|
@ -55,15 +55,27 @@
|
||||||
#define TARGET_FIX_V4BX_SPEC " %{mcpu=arm8|mcpu=arm810|mcpu=strongarm*"\
|
#define TARGET_FIX_V4BX_SPEC " %{mcpu=arm8|mcpu=arm810|mcpu=strongarm*"\
|
||||||
"|march=armv4|mcpu=fa526|mcpu=fa626:--fix-v4bx}"
|
"|march=armv4|mcpu=fa526|mcpu=fa626:--fix-v4bx}"
|
||||||
|
|
||||||
|
#if TARGET_BIG_ENDIAN_DEFAULT
|
||||||
#define BE8_LINK_SPEC \
|
#define BE8_LINK_SPEC \
|
||||||
" %{mbig-endian:%{march=armv7-a|mcpu=cortex-a5 \
|
" %{!mlittle-endian:%{march=armv7-a|mcpu=cortex-a5 \
|
||||||
|mcpu=cortex-a7 \
|
|mcpu=cortex-a7 \
|
||||||
|mcpu=cortex-a8|mcpu=cortex-a9|mcpu=cortex-a15 \
|
|mcpu=cortex-a8|mcpu=cortex-a9|mcpu=cortex-a15 \
|
||||||
|mcpu=generic-armv7-a \
|
|mcpu=generic-armv7-a \
|
||||||
|march=armv7-m|mcpu=cortex-m3 \
|
|march=armv7-m|mcpu=cortex-m3 \
|
||||||
|march=armv7e-m|mcpu=cortex-m4 \
|
|march=armv7e-m|mcpu=cortex-m4 \
|
||||||
|march=armv6-m|mcpu=cortex-m0 \
|
|march=armv6-m|mcpu=cortex-m0 \
|
||||||
:%{!r:--be8}}}"
|
:%{!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=generic-armv7-a \
|
||||||
|
|march=armv7-m|mcpu=cortex-m3 \
|
||||||
|
|march=armv7e-m|mcpu=cortex-m4 \
|
||||||
|
|march=armv6-m|mcpu=cortex-m0 \
|
||||||
|
:%{!r:--be8}}}"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Tell the assembler to build BPABI binaries. */
|
/* Tell the assembler to build BPABI binaries. */
|
||||||
#undef SUBTARGET_EXTRA_ASM_SPEC
|
#undef SUBTARGET_EXTRA_ASM_SPEC
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue