X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fconfig.gcc;h=5380f8827e19d355c0f28d682693813224718398;hp=9f70998b8af0fbac3c036e803950cd0a40ff841f;hb=66928c235332511b5c8864b41d45087fe511ca8f;hpb=df4a065c75dcdc71121e4810628f208e92e4f5a9 diff --git a/gcc/config.gcc b/gcc/config.gcc index 9f70998b8af..5380f8827e1 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -413,6 +413,10 @@ mips*-*-*) extra_headers="loongson.h" extra_options="${extra_options} g.opt mips/mips-tables.opt" ;; +nios2-*-*) + cpu_type=nios2 + extra_options="${extra_options} g.opt" + ;; picochip-*-*) cpu_type=picochip ;; @@ -1950,6 +1954,19 @@ mn10300-*-*) use_collect2=no use_gcc_stdint=wrap ;; +nios2-*-*) + tm_file="elfos.h ${tm_file}" + tmake_file="${tmake_file} nios2/t-nios2" + case ${target} in + nios2-*-linux*) + tm_file="${tm_file} gnu-user.h linux.h glibc-stdint.h nios2/linux.h " + ;; + nios2-*-elf*) + tm_file="${tm_file} newlib-stdint.h nios2/elf.h" + extra_options="${extra_options} nios2/elf.opt" + ;; + esac + ;; pdp11-*-*) tm_file="${tm_file} newlib-stdint.h" use_gcc_stdint=wrap