Fix gcc with EABI on big-endian ARM by setting the endian correctly.

Without this gcc would generate byte loads for a little-endian core.

MFC after:	1 week
This commit is contained in:
Andrew Turner 2014-01-12 15:35:03 +00:00
parent 9ae7f7c13c
commit 0b55a5a4af
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=260565

View File

@ -72,6 +72,9 @@
#undef TARGET_DEFAULT_FLOAT_ABI
#define TARGET_DEFAULT_FLOAT_ABI ARM_FLOAT_ABI_SOFT
#undef TARGET_DEFAULT
#define TARGET_DEFAULT (MASK_INTERWORK | TARGET_ENDIAN_DEFAULT)
#undef ARM_DEFAULT_ABI
#define ARM_DEFAULT_ABI ARM_ABI_AAPCS_LINUX