diff options
author | Anthony Green <green@moxielogic.com> | 2016-03-22 14:25:44 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2016-03-22 14:25:44 +0000 |
commit | ec613b6634d57abc9402ba8c51bdbc9f59807690 (patch) | |
tree | 4ed19d42433c0f1c10978513c6fd9ad9514ff3c4 /gcc/config/moxie | |
parent | 5c240f4db3d1a9dc5503e566ec9ab8cbe26d6f3a (diff) | |
download | gcc-ec613b6634d57abc9402ba8c51bdbc9f59807690.zip gcc-ec613b6634d57abc9402ba8c51bdbc9f59807690.tar.gz gcc-ec613b6634d57abc9402ba8c51bdbc9f59807690.tar.bz2 |
Fix endianness issue for moxiebox
From-SVN: r234404
Diffstat (limited to 'gcc/config/moxie')
-rw-r--r-- | gcc/config/moxie/moxiebox.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/moxie/moxiebox.h b/gcc/config/moxie/moxiebox.h index f67bfd6..502ffe1 100644 --- a/gcc/config/moxie/moxiebox.h +++ b/gcc/config/moxie/moxiebox.h @@ -39,6 +39,12 @@ along with GCC; see the file COPYING3. If not see #undef ASM_SPEC #define ASM_SPEC "-EL" +#undef CC1_SPEC +#define CC1_SPEC "-mel %{meb:%ethis target is little-endian}" + +#undef CC1PLUS_SPEC +#define CC1PLUS_SPEC CC1_SPEC + #undef MULTILIB_DEFAULTS #undef SIZE_TYPE |