aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config.host
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc/config.host')
-rw-r--r--libgcc/config.host12
1 files changed, 12 insertions, 0 deletions
diff --git a/libgcc/config.host b/libgcc/config.host
index 75a17e3..6aa986e 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -146,6 +146,9 @@ mips*-*-*)
nds32*-*)
cpu_type=nds32
;;
+nios2*-*-*)
+ cpu_type=nios2
+ ;;
powerpc*-*-*)
cpu_type=rs6000
;;
@@ -880,6 +883,15 @@ nds32*-elf*)
;;
esac
;;
+nios2-*-linux*)
+ tmake_file="$tmake_file nios2/t-nios2 nios2/t-linux t-libgcc-pic t-slibgcc-libgcc"
+ extra_parts="$extra_parts crti.o crtn.o"
+ md_unwind_header=nios2/linux-unwind.h
+ ;;
+nios2-*-*)
+ tmake_file="$tmake_file nios2/t-nios2 t-softfp-sfdf t-softfp-excl t-softfp"
+ extra_parts="$extra_parts crti.o crtn.o"
+ ;;
pdp11-*-*)
tmake_file="pdp11/t-pdp11 t-fdpbit"
;;