diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2013-12-07 04:23:38 +0100 |
---|---|---|
committer | Ralf Corsepius <corsepiu@gcc.gnu.org> | 2013-12-07 04:23:38 +0100 |
commit | c6adc8b3f7920c5a3a844a37e51f1ce4369558ca (patch) | |
tree | e4d95fb20daef1d801436a1507dfdf6561bf7587 /gcc/config.gcc | |
parent | 0b8b64393f15afd1eb595613d02d1a96328baf77 (diff) | |
download | gcc-c6adc8b3f7920c5a3a844a37e51f1ce4369558ca.zip gcc-c6adc8b3f7920c5a3a844a37e51f1ce4369558ca.tar.gz gcc-c6adc8b3f7920c5a3a844a37e51f1ce4369558ca.tar.bz2 |
config.gcc (microblaze*-*-rtems*): Add TARGET_BIG_ENDIAN_DEFAULT.
2013-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* config.gcc (microblaze*-*-rtems*): Add TARGET_BIG_ENDIAN_DEFAULT.
From-SVN: r205771
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index dc76c82..230c524 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1887,6 +1887,14 @@ microblaze*-linux*) tmake_file="${tmake_file} microblaze/t-microblaze-linux" ;; microblaze*-*-rtems*) + case $target in + microblazeel-*) + tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=0" + ;; + microblaze-*) + tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=4321" + ;; + esac tm_file="${tm_file} dbxelf.h" tm_file="${tm_file} microblaze/rtems.h rtems.h newlib-stdint.h" c_target_objs="${c_target_objs} microblaze-c.o" |