Add support for the C_SKY series of processors.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-srec / srec.exp
index c95a4ba6339e59614c7af282a24c434cb9f51c67..d155c18f2c77a700801a410cef509f3ddf73499d 100644 (file)
@@ -1,6 +1,6 @@
 # Test linking directly to S-records.
 # By Ian Lance Taylor, Cygnus Support.
-#   Copyright (C) 1999-2017 Free Software Foundation, Inc.
+#   Copyright (C) 1999-2018 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -282,12 +282,10 @@ proc run_srec_test { test objs } {
        setup_xfail "msp430*-*-*"
     }
 
-    # SH64 targets cannot convert format in the linker 
-    # using the -oformat command line switch.
-    if [istarget sh64*-*-elf] {
-        # This is what gcc passes to ld by default.
-        set flags "$flags -mshelf32"
-       setup_xfail "sh64*-*-*"
+    # The RISC-V target does not correctly process
+    # relocs when output format is not ELF.
+    if [istarget riscv*-*-*] {
+       setup_xfail "riscv*-*-*"
     }
 
     # V850 targets need libgcc.a
@@ -420,6 +418,9 @@ setup_xfail "bfin-*-linux-uclibc"
 # generate the format if need be).
 setup_xfail "tile*-*-*"
 
+# The S-record linker is not supported for C-SKY.
+setup_xfail "csky*-*-*"
+
 run_srec_test $test1 "tmpdir/sr1.o tmpdir/sr2.o"
 
 # Now try linking a C++ program with global constructors and
@@ -455,6 +456,7 @@ setup_xfail "*-*-cygwin*" "*-*-mingw*" "*-*-pe*" "*-*-winnt*"
 setup_xfail "score-*-*"
 setup_xfail "bfin-*-linux-uclibc"
 setup_xfail "tile*-*-*"
+setup_xfail "csky*-*-*"
 
 run_srec_test $test2 "tmpdir/sr3.o"
 
This page took 0.024262 seconds and 4 git commands to generate.