[rtems-testing commit] gcc test scripts: add v850 target support

Joel Sherrill joel at rtems.org
Tue Jun 12 22:51:43 UTC 2012


Module:    rtems-testing
Branch:    master
Commit:    78a76a62483cb6d2e895dbe77de97893ca80fb5b
Changeset: http://git.rtems.org/rtems-testing/commit/?id=78a76a62483cb6d2e895dbe77de97893ca80fb5b

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Tue Jun 12 17:54:29 2012 -0500

gcc test scripts: add v850 target support

---

 gcc/do_one  |    1 +
 gcc/rundeja |    8 +++++++-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/gcc/do_one b/gcc/do_one
index ffbbf9c..459215c 100755
--- a/gcc/do_one
+++ b/gcc/do_one
@@ -366,6 +366,7 @@ if [ ${needCPU} = yes -a ${needBSP} = yes -a \
     sh-simsh1)            dejacfg=rtems-sh-simsh1 ;;
     sparc-sis)            dejacfg=rtems-sparc-sis ;;
     sparc64-niagara)      dejacfg=rtems-sparc64-nosim ;;
+    v850-v850*sim*)       dejacfg=rtems-v850-v850sim ;;
     *)
       echo "ERROR ${bsp} is not known to DegaGNU"
       exit 1
diff --git a/gcc/rundeja b/gcc/rundeja
index 82a3eb6..205d22a 100755
--- a/gcc/rundeja
+++ b/gcc/rundeja
@@ -3,7 +3,7 @@
 #
 
 if [ $# -lt 2 ] ; then
-  echo USAGE: BSP COMPILER
+  echo USAGE: BSP TESTSUITE
   exit 1
 fi
 
@@ -100,6 +100,12 @@ case $1 in
     DEJABSP=qemu
     BSP_SIM=pc386
     ;;
+  v850sim) 
+    CPU=v850
+    BSP=v850sim
+    DEJABSP=v850sim
+    BSP_SIM=v850sim
+    ;;
   *)
     echo UNKNOWN BSP
     exit 1




More information about the vc mailing list