* 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.

Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
Christian Svensson 2014-03-24 19:55:13 +11:00 committed by Ben Elliston
parent f4ebd3ed09
commit 47681e2a9b
5 changed files with 31 additions and 10 deletions

View File

@ -1,3 +1,12 @@
2014-03-23 Christian Svensson <blue@cmd.nu>
* 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 <bje@gnu.org>
Reported by Dejan Lekic <dejan.lekic@gmail.com>.

8
config.guess vendored
View File

@ -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:*:*)

9
config.sub vendored
View File

@ -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
;;

View File

@ -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

View File

@ -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