diff options
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index b6a6ad0..fce3796 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1737,11 +1737,20 @@ mep-*-*) use_gcc_stdint=wrap ;; microblaze*-linux*) + 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 gnu-user.h linux.h microblaze/linux.h" tm_file="${tm_file} glibc-stdint.h" c_target_objs="${c_target_objs} microblaze-c.o" cxx_target_objs="${cxx_target_objs} microblaze-c.o" tmake_file="${tmake_file} microblaze/t-microblaze" + tmake_file="${tmake_file} microblaze/t-microblaze-linux" ;; microblaze*-*-rtems*) tm_file="${tm_file} dbxelf.h" @@ -1752,6 +1761,14 @@ microblaze*-*-rtems*) tmake_file="${tmake_file} t-rtems microblaze/t-rtems" ;; microblaze*-*-elf) + 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 newlib-stdint.h" c_target_objs="${c_target_objs} microblaze-c.o" cxx_target_objs="${cxx_target_objs} microblaze-c.o" |