Update year range in copyright notice of binutils files
[binutils-gdb.git] / ld / testsuite / ld-arc / arc.exp
index f8838ccb7dc9107502ca0606a08c843f8ef50acd..b9d2391322d267bd5f49e74b5f7df6f963cb8a7a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016 Free Software Foundation, Inc.
+# Copyright (C) 2016-2019 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -28,11 +28,23 @@ foreach arc_test $arc_test_list {
     run_dump_test [file rootname $arc_test]
 }
 
+# Note - we force the generation of little endian binaries, even if the default is
+# for big endian, because the sda-relocs.ld script selects little endian output.
 set arccommon_tests {
     { "SDA relocs"
-        "-q -T sda-relocs.ld" "" "-mcpu=archs" {sda-relocs.s}
+        "-q -T sda-relocs.ld -A elf32-arclittle" "" "-mcpu=archs -EL" {sda-relocs.s}
         {{objdump -fdw sda-relocs.dd} {readelf --relocs sda-relocs.rd}}
         "sda-relocs.so" }
+    { "TLS reloc dtpoff"
+        "-q -T tls-relocs.ld -A elf32-arclittle" "" "-mcpu=archs -EL"
+       {tls-dtpoff.s}
+        {{objdump -fdw tls-dtpoff.dd} {readelf --relocs tls-dtpoff.rd}}
+        "sda-relocs.so" }
+    { "JLI simple"
+        "-q -T jli-script.ld -A elf32-arclittle" "" "-mcpu=em4 -EL"
+       {jli-simple.s}
+        {{objdump -fdw jli-simple.dd} {readelf --relocs jli-simple.rd}}
+        "jli-simple.so" }
 }
 
 run_ld_link_tests $arccommon_tests