diff --git a/ChangeLog b/ChangeLog index 4712c6a..1940acf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2014-03-23 Christian Svensson + + * config.guess (openrisc:Linux:*:*): New. + * config.guess (or1k*:Linux:*:*): Modified for or1knd. + * config.sub (or1knd): New. + * testsuite/config-guess.data: Test for or1knd:Linux, openrisc:Linux. + * testsuite/config-sub.data: Tests for or1knd-linux, or1knd-elf, + or1knd and or1k. + 2014-03-13 Ben Elliston Reported by Dejan Lekic . diff --git a/config.guess b/config.guess index 71f8f7a..1f5c50c 100755 --- a/config.guess +++ b/config.guess @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2014 Free Software Foundation, Inc. -timestamp='2014-03-13' +timestamp='2014-03-23' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -969,10 +969,10 @@ EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } ;; - or1k:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + openrisc*:Linux:*:*) + echo or1k-unknown-linux-${LIBC} exit ;; - or32:Linux:*:*) + or32:Linux:*:* | or1k*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; padre:Linux:*:*) diff --git a/config.sub b/config.sub index 092cff0..5d7d62f 100755 --- a/config.sub +++ b/config.sub @@ -2,7 +2,7 @@ # Configuration validation subroutine script. # Copyright 1992-2014 Free Software Foundation, Inc. -timestamp='2014-01-01' +timestamp='2014-03-23' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -296,8 +296,7 @@ case $basic_machine in | nds32 | nds32le | nds32be \ | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ - | open8 \ - | or1k | or32 \ + | open8 | or1k | or1knd | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ @@ -415,6 +414,7 @@ case $basic_machine in | nios-* | nios2-* | nios2eb-* | nios2el-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ + | or1k*-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ @@ -1594,9 +1594,6 @@ case $basic_machine in mips*-*) os=-elf ;; - or1k-*) - os=-elf - ;; or32-*) os=-coff ;; diff --git a/testsuite/config-guess.data b/testsuite/config-guess.data index a7ef61e..5713748 100644 --- a/testsuite/config-guess.data +++ b/testsuite/config-guess.data @@ -38,7 +38,9 @@ NEO-1 1.0 NONSTOP_KERNEL ignored neo-tandem-nsk1.0 NSE-1 1.0 NONSTOP_KERNEL ignored nse-tandem-nsk1.0 NSE-N 1.0 NONSTOP_KERNEL ignored nse-tandem-nsk1.0 NSE-NN 1.0 NONSTOP_KERNEL ignored nse-tandem-nsk1.0 +openrisc ignored Linux ignored or1k-unknown-linux-gnu or1k ignored Linux ignored or1k-unknown-linux-gnu +or1knd ignored Linux ignored or1knd-unknown-linux-gnu or32 ignored Linux ignored or32-unknown-linux-gnu padre 2.6.15 Linux ignored sparc-unknown-linux-gnu pc 1.0 ignored ignored i586-pc-msdosdjgpp diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data index 20dba9b..b05a6f3 100644 --- a/testsuite/config-sub.data +++ b/testsuite/config-sub.data @@ -159,8 +159,21 @@ nvptx nvptx-unknown-none open8-elf open8-unknown-elf open8 open8-unknown-none openrisc-linux or32-unknown-linux-gnu +or1k or1k-unknown-none +or1k-company-elf or1k-company-elf +or1k-company-linux or1k-company-linux-gnu or1k-elf or1k-unknown-elf or1k-linux or1k-unknown-linux-gnu +or1k-linux-gnu or1k-unknown-linux-gnu +or1k-linux-uclibc or1k-unknown-linux-uclibc +or1knd or1knd-unknown-none +or1knd-company-elf or1knd-company-elf +or1knd-company-linux or1knd-company-linux-gnu +or1knd-elf or1knd-unknown-elf +or1knd-linux or1knd-unknown-linux-gnu +or1knd-linux-gnu or1knd-unknown-linux-gnu +or1knd-linux-uclibc or1knd-unknown-linux-uclibc +or1k64-unknown-linux or1k64-unknown-linux-gnu or32-linux or32-unknown-linux-gnu os400 powerpc-ibm-os400 parisc hppa-unknown-linux-gnu