diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-12-31 20:54:33 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-12-31 20:54:33 +0000 |
commit | 62561b5947dc2cb609d3e84921d3795af2fc2c39 (patch) | |
tree | 3f6b3d61bcbebe118edd51c3b15968b88765ac1e /gcc/config.sub | |
parent | c0fe4f56cc98221aee9965424c539bb981abe18a (diff) | |
download | gcc-62561b5947dc2cb609d3e84921d3795af2fc2c39.tar.gz |
Handle mips-unknown-linux-gnu
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13348 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.sub')
-rwxr-xr-x | gcc/config.sub | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gcc/config.sub b/gcc/config.sub index 0432524944d..cd342535401 100755 --- a/gcc/config.sub +++ b/gcc/config.sub @@ -389,6 +389,14 @@ case $basic_machine in miniframe) basic_machine=m68000-convergent ;; + mipsel*-linux*) + basic_machine=mipsel-unknown + os=-linux + ;; + mips*-linux*) + basic_machine=mips-unknown + os=-linux + ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; @@ -607,7 +615,11 @@ case $basic_machine in # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. mips) - basic_machine=mips-mips + if [ x$os = x-linux ]; then + basic_machine=mips-unknown + else + basic_machine=mips-mips + fi ;; romp) basic_machine=romp-ibm |