From c6adc8b3f7920c5a3a844a37e51f1ce4369558ca Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sat, 7 Dec 2013 04:23:38 +0100 Subject: [PATCH] config.gcc (microblaze*-*-rtems*): Add TARGET_BIG_ENDIAN_DEFAULT. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2013-12-07 Ralf Corsépius * config.gcc (microblaze*-*-rtems*): Add TARGET_BIG_ENDIAN_DEFAULT. From-SVN: r205771 --- gcc/ChangeLog | 4 ++++ gcc/config.gcc | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9524865fc0c..63f4cc0076c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2013-12-07 Ralf Corsépius + + * config.gcc (microblaze*-*-rtems*): Add TARGET_BIG_ENDIAN_DEFAULT. + 2013-12-06 Vladimir Makarov * config/rs6000/rs600.md (*bswapdi2_64bit): Remove ?? from the diff --git a/gcc/config.gcc b/gcc/config.gcc index dc76c82e747..230c524f7c1 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"