From 9fcc4aae0014edb739ad4b736c93d8083337c15f Mon Sep 17 00:00:00 2001 From: Luis Machado Date: Thu, 8 Aug 2013 18:16:05 +1000 Subject: [PATCH] * config.sub (c8051): New. * testsuite/config-sub.data: Add testcases for c8051. Signed-off-by: Ben Elliston --- ChangeLog | 5 +++++ config.sub | 9 ++++++--- testsuite/config-sub.data | 2 ++ 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 83e185b..8b81b76 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-08-08 Luis Machado + + * config.sub (c8051): New. + * testsuite/config-sub.data: Add testcases for c8051. + 2013-06-08 Basil Peace * testsuite/config-guess.sh: Insert a shebang for /bin/sh into the diff --git a/config.sub b/config.sub index 8b612ab..5be013e 100755 --- a/config.sub +++ b/config.sub @@ -2,7 +2,7 @@ # Configuration validation subroutine script. # Copyright 1992-2013 Free Software Foundation, Inc. -timestamp='2013-04-24' +timestamp='2013-08-08' # 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 @@ -257,7 +257,7 @@ case $basic_machine in | avr | avr32 \ | be32 | be64 \ | bfin \ - | c4x | clipper \ + | c4x | c8051 | clipper \ | d10v | d30v | dlx | dsp16xx \ | epiphany \ | fido | fr30 | frv \ @@ -372,7 +372,7 @@ case $basic_machine in | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ - | clipper-* | craynv-* | cydra-* \ + | c8051-* | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ @@ -1546,6 +1546,9 @@ case $basic_machine in c4x-* | tic4x-*) os=-coff ;; + c8051-*) + os=-elf + ;; hexagon-*) os=-elf ;; diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data index 3c70ce9..7bcfb18 100644 --- a/testsuite/config-sub.data +++ b/testsuite/config-sub.data @@ -45,6 +45,8 @@ c6x tic6x-unknown-coff c6x-uclinux tic6x-unknown-uclinux c6x-unknown-coff tic6x-unknown-coff c6x-unknown-elf tic6x-unknown-elf +c8051 c8051-unknown-elf +c8051-elf c8051-unknown-elf cegcc arm-unknown-cegcc cr16-elf cr16-unknown-elf cr16-random-elf cr16-unknown-elf