]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Add generic tests for linker support of the -shared or -pie options to tests which...
authorNick Clifton <nickc@redhat.com>
Thu, 30 Apr 2020 12:49:30 +0000 (13:49 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 30 Apr 2020 12:49:30 +0000 (13:49 +0100)
binutils* testsuite/lib/binutils-common.exp (check_pie_support): New
proc.

ld * testsuite/ld-elf/compress1c.d: XFAIL if thet target linker does
not support the -shared command line option.
* /ld-elf/compressed1c.d: Likewise.
* /ld-elf/compressed1e.d: Likewise.
* /ld-elf/dynamic1.d: Likewise.
* /ld-elf/dynsym1.d: Likewise.
* /ld-elf/ehdr_start-shared.d: Likewise.
* /ld-elf/exclude3b.d: Likewise.
* /ld-elf/global1.d: Likewise.
* /ld-elf/hash.d: Likewise.
* /ld-elf/local1.d: Likewise.
* /ld-elf/mbind1b.d: Likewise.
* /ld-elf/now-1.d: Likewise.
* /ld-elf/now-2.d: Likewise.
* /ld-elf/now-3.d: Likewise.
* /ld-elf/now-4.d: Likewise.
* /ld-elf/pr12975.d: Likewise.
* /ld-elf/pr13177.d: Likewise.
* /ld-elf/pr13195.d: Likewise.
* /ld-elf/pr16322.d: Likewise.
* /ld-elf/pr16498a.d: Likewise.
* /ld-elf/pr16498b.d: Likewise.
* /ld-elf/pr17615.d: Likewise.
* /ld-elf/pr19162.d: Likewise.
* /ld-elf/pr19698.d: Likewise.
* /ld-elf/pr20513c.d: Likewise.
* /ld-elf/pr20513d.d: Likewise.
* /ld-elf/pr21389a.d: Likewise.
* /ld-elf/pr21389b.d: Likewise.
* /ld-elf/pr21389c.d: Likewise.
* /ld-elf/pr21562a.d: Likewise.
* /ld-elf/pr21562b.d: Likewise.
* /ld-elf/pr21562c.d: Likewise.
* /ld-elf/pr21562d.d: Likewise.
* /ld-elf/pr21562e.d: Likewise.
* /ld-elf/pr21562f.d: Likewise.
* /ld-elf/pr21562g.d: Likewise.
* /ld-elf/pr21562h.d: Likewise.
* /ld-elf/pr21562i.d: Likewise.
* /ld-elf/pr21562j.d: Likewise.
* /ld-elf/pr21562k.d: Likewise.
* /ld-elf/pr21562l.d: Likewise.
* /ld-elf/pr21562m.d: Likewise.
* /ld-elf/pr21562n.d: Likewise.
* /ld-elf/pr21903a.d: Likewise.
* /ld-elf/pr21903b.d: Likewise.
* /ld-elf/pr22269b.d: Likewise.
* /ld-elf/pr22393-1a.d: Likewise.
* /ld-elf/pr22393-1b.d: Likewise.
* /ld-elf/pr23658-1c.d: Likewise.
* /ld-elf/pr25708.d: Likewise.
* /ld-elf/rpath-1.d: Likewise.
* /ld-elf/rpath-2.d: Likewise.
* /ld-elf/runpath-1.d: Likewise.
* /ld-elf/runpath-2.d: Likewise.
* /ld-elf/sizeofb.d: Likewise.
* /ld-elf/startofb.d: Likewise.
* /ld-elf/strtab.d: Likewise.
* /ld-elf/textaddr2.d: Likewise.
* /ld-elf/textaddr5.d: Likewise.
* /ld-elf/textaddr6.d: Likewise.
* /ld-elf/unknown2.d: Likewise.
* /ld-undefined/entry-3.d: Likewise.
* /ld-undefined/entry-4.d: Likewise.
* /ld-elf/mbind1c.d: XFAIL if the target linker does not support
the -pie option.
* /ld-elf/pie.d: Likewise.
* /ld-elf/pr19539.d: Likewise.
* /ld-elf/pr21903d.d: Likewise.
* /ld-elf/pr22269a.d: Likewise.
* /ld-elf/pr22393-1c.d: Likewise.
* /ld-elf/pr22393-1d.d: Likewise.
* /ld-elf/pr22423.d: Likewise.
* /ld-elf/loadaddr1.d: Expect to fail on the rx-linux target.
* /ld-elf/loadaddr2.d: Likewise.
* /ld-elf/pr22393-1e.d: Likewise.
* /ld-elf/pr22393-1f.d: Likewise.
* /ld-elf/textaddr1.d: Likewise.
* /ld-elf/textaddr4.d: Likewise.

80 files changed:
binutils/ChangeLog
binutils/testsuite/lib/binutils-common.exp
ld/ChangeLog
ld/testsuite/ld-elf/compress1c.d
ld/testsuite/ld-elf/compressed1c.d
ld/testsuite/ld-elf/compressed1e.d
ld/testsuite/ld-elf/dynamic1.d
ld/testsuite/ld-elf/dynsym1.d
ld/testsuite/ld-elf/ehdr_start-shared.d
ld/testsuite/ld-elf/exclude3b.d
ld/testsuite/ld-elf/global1.d
ld/testsuite/ld-elf/hash.d
ld/testsuite/ld-elf/loadaddr1.d
ld/testsuite/ld-elf/loadaddr2.d
ld/testsuite/ld-elf/local1.d
ld/testsuite/ld-elf/mbind1b.d
ld/testsuite/ld-elf/mbind1c.d
ld/testsuite/ld-elf/now-1.d
ld/testsuite/ld-elf/now-2.d
ld/testsuite/ld-elf/now-3.d
ld/testsuite/ld-elf/now-4.d
ld/testsuite/ld-elf/pie.d
ld/testsuite/ld-elf/pr12975.d
ld/testsuite/ld-elf/pr13177.d
ld/testsuite/ld-elf/pr13195.d
ld/testsuite/ld-elf/pr16322.d
ld/testsuite/ld-elf/pr16498a.d
ld/testsuite/ld-elf/pr16498b.d
ld/testsuite/ld-elf/pr17615.d
ld/testsuite/ld-elf/pr19162.d
ld/testsuite/ld-elf/pr19539.d
ld/testsuite/ld-elf/pr19698.d
ld/testsuite/ld-elf/pr20513c.d
ld/testsuite/ld-elf/pr20513d.d
ld/testsuite/ld-elf/pr21389a.d
ld/testsuite/ld-elf/pr21389b.d
ld/testsuite/ld-elf/pr21389c.d
ld/testsuite/ld-elf/pr21562a.d
ld/testsuite/ld-elf/pr21562b.d
ld/testsuite/ld-elf/pr21562c.d
ld/testsuite/ld-elf/pr21562d.d
ld/testsuite/ld-elf/pr21562e.d
ld/testsuite/ld-elf/pr21562f.d
ld/testsuite/ld-elf/pr21562g.d
ld/testsuite/ld-elf/pr21562h.d
ld/testsuite/ld-elf/pr21562i.d
ld/testsuite/ld-elf/pr21562j.d
ld/testsuite/ld-elf/pr21562k.d
ld/testsuite/ld-elf/pr21562l.d
ld/testsuite/ld-elf/pr21562m.d
ld/testsuite/ld-elf/pr21562n.d
ld/testsuite/ld-elf/pr21903a.d
ld/testsuite/ld-elf/pr21903b.d
ld/testsuite/ld-elf/pr21903d.d
ld/testsuite/ld-elf/pr22269a.d
ld/testsuite/ld-elf/pr22269b.d
ld/testsuite/ld-elf/pr22393-1a.d
ld/testsuite/ld-elf/pr22393-1b.d
ld/testsuite/ld-elf/pr22393-1c.d
ld/testsuite/ld-elf/pr22393-1d.d
ld/testsuite/ld-elf/pr22393-1e.d
ld/testsuite/ld-elf/pr22393-1f.d
ld/testsuite/ld-elf/pr22423.d
ld/testsuite/ld-elf/pr23658-1c.d
ld/testsuite/ld-elf/pr25708.d
ld/testsuite/ld-elf/rpath-1.d
ld/testsuite/ld-elf/rpath-2.d
ld/testsuite/ld-elf/runpath-1.d
ld/testsuite/ld-elf/runpath-2.d
ld/testsuite/ld-elf/sizeofb.d
ld/testsuite/ld-elf/startofb.d
ld/testsuite/ld-elf/strtab.d
ld/testsuite/ld-elf/textaddr1.d
ld/testsuite/ld-elf/textaddr2.d
ld/testsuite/ld-elf/textaddr4.d
ld/testsuite/ld-elf/textaddr5.d
ld/testsuite/ld-elf/textaddr6.d
ld/testsuite/ld-elf/unknown2.d
ld/testsuite/ld-undefined/entry-3.d
ld/testsuite/ld-undefined/entry-4.d

index 64fdaea649265798c8a4fd0dcd045c565f437516..3cd509512820f6c8ae83c64bdc3c47a06ddac10a 100644 (file)
@@ -1,3 +1,8 @@
+2020-04-30  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/lib/binutils-common.exp (check_pie_support): New
+       proc.
+
 2020-04-29  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * dwarf.c (display_debug_ranges): Ignore duplicate entries in
index 08dcc4d739c070b29e36193b75dbc34c118884fb..b9e3c6d8174168226a044d532b760e22ef8f7d8f 100644 (file)
@@ -291,6 +291,23 @@ proc check_shared_lib_support { } {
     return $shared_available_saved
 }
 
+# Returns true if -pie is supported on the target
+
+proc check_pie_support { } {
+    global pie_available_saved
+    global ld
+
+    if {![info exists pie_available_saved]} {
+       set ld_output [remote_exec host $ld "-pie"]
+       if { [ string first "not supported" $ld_output ] >= 0 } {
+           set pie_available_saved 0
+       } else {
+           set pie_available_saved 1
+       }
+    }
+    return $pie_available_saved
+}
+
 # Compare two files line-by-line.  FILE_1 is the actual output and FILE_2
 # is the expected output.  Ignore blank lines in either file.
 #
index a8a5fdfcaf2fc1dd2b66177455ef6874c588813e..84f8babfbc98a7e0c818f91793c8b39cf3131201 100644 (file)
@@ -1,3 +1,85 @@
+2020-04-30  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/ld-elf/compress1c.d: XFAIL if thet target linker does
+       not support the -shared command line option.
+       * /ld-elf/compressed1c.d: Likewise.
+       * /ld-elf/compressed1e.d: Likewise.
+       * /ld-elf/dynamic1.d: Likewise.
+       * /ld-elf/dynsym1.d: Likewise.
+       * /ld-elf/ehdr_start-shared.d: Likewise.
+       * /ld-elf/exclude3b.d: Likewise.
+       * /ld-elf/global1.d: Likewise.
+       * /ld-elf/hash.d: Likewise.
+       * /ld-elf/local1.d: Likewise.
+       * /ld-elf/mbind1b.d: Likewise.
+       * /ld-elf/now-1.d: Likewise.
+       * /ld-elf/now-2.d: Likewise.
+       * /ld-elf/now-3.d: Likewise.
+       * /ld-elf/now-4.d: Likewise.
+       * /ld-elf/pr12975.d: Likewise.
+       * /ld-elf/pr13177.d: Likewise.
+       * /ld-elf/pr13195.d: Likewise.
+       * /ld-elf/pr16322.d: Likewise.
+       * /ld-elf/pr16498a.d: Likewise.
+       * /ld-elf/pr16498b.d: Likewise.
+       * /ld-elf/pr17615.d: Likewise.
+       * /ld-elf/pr19162.d: Likewise.
+       * /ld-elf/pr19698.d: Likewise.
+       * /ld-elf/pr20513c.d: Likewise.
+       * /ld-elf/pr20513d.d: Likewise.
+       * /ld-elf/pr21389a.d: Likewise.
+       * /ld-elf/pr21389b.d: Likewise.
+       * /ld-elf/pr21389c.d: Likewise.
+       * /ld-elf/pr21562a.d: Likewise.
+       * /ld-elf/pr21562b.d: Likewise.
+       * /ld-elf/pr21562c.d: Likewise.
+       * /ld-elf/pr21562d.d: Likewise.
+       * /ld-elf/pr21562e.d: Likewise.
+       * /ld-elf/pr21562f.d: Likewise.
+       * /ld-elf/pr21562g.d: Likewise.
+       * /ld-elf/pr21562h.d: Likewise.
+       * /ld-elf/pr21562i.d: Likewise.
+       * /ld-elf/pr21562j.d: Likewise.
+       * /ld-elf/pr21562k.d: Likewise.
+       * /ld-elf/pr21562l.d: Likewise.
+       * /ld-elf/pr21562m.d: Likewise.
+       * /ld-elf/pr21562n.d: Likewise.
+       * /ld-elf/pr21903a.d: Likewise.
+       * /ld-elf/pr21903b.d: Likewise.
+       * /ld-elf/pr22269b.d: Likewise.
+       * /ld-elf/pr22393-1a.d: Likewise.
+       * /ld-elf/pr22393-1b.d: Likewise.
+       * /ld-elf/pr23658-1c.d: Likewise.
+       * /ld-elf/pr25708.d: Likewise.
+       * /ld-elf/rpath-1.d: Likewise.
+       * /ld-elf/rpath-2.d: Likewise.
+       * /ld-elf/runpath-1.d: Likewise.
+       * /ld-elf/runpath-2.d: Likewise.
+       * /ld-elf/sizeofb.d: Likewise.
+       * /ld-elf/startofb.d: Likewise.
+       * /ld-elf/strtab.d: Likewise.
+       * /ld-elf/textaddr2.d: Likewise.
+       * /ld-elf/textaddr5.d: Likewise.
+       * /ld-elf/textaddr6.d: Likewise.
+       * /ld-elf/unknown2.d: Likewise.
+       * /ld-undefined/entry-3.d: Likewise.
+       * /ld-undefined/entry-4.d: Likewise.
+       * /ld-elf/mbind1c.d: XFAIL if the target linker does not support
+       the -pie option.
+       * /ld-elf/pie.d: Likewise.
+       * /ld-elf/pr19539.d: Likewise.
+       * /ld-elf/pr21903d.d: Likewise.
+       * /ld-elf/pr22269a.d: Likewise.
+       * /ld-elf/pr22393-1c.d: Likewise.
+       * /ld-elf/pr22393-1d.d: Likewise.
+       * /ld-elf/pr22423.d: Likewise.
+       * /ld-elf/loadaddr1.d: Expect to fail on the rx-linux target.
+       * /ld-elf/loadaddr2.d: Likewise.
+       * /ld-elf/pr22393-1e.d: Likewise.
+       * /ld-elf/pr22393-1f.d: Likewise.
+       * /ld-elf/textaddr1.d: Likewise.
+       * /ld-elf/textaddr4.d: Likewise.
+
 2020-04-30  Yoshinori Sato <ysato@users.sourceforge.jp>
 
        * emulparams/elf32rx_linux.sh: New rx-linux emulation.
index d95f4ff7b8915ceceb7eb832514f1402ebea1cbb..dab0f30d470bee2b6fe4e6978f812d5a8de56a43 100644 (file)
@@ -3,7 +3,7 @@
 #ld: -shared
 #readelf: -S --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #failif
 #...
index e056429cc28e0f91dc236972018dbfb0f4b36611..32af4762c83f68a0d5d6613f9c648a18abd61b52 100644 (file)
@@ -3,7 +3,7 @@
 #ld: -shared --compress-debug-sections=none
 #readelf: -t
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #failif
 #...
index db93f7016c62c43846d92e447721809a733c01f3..f8604c445d9ed8515a0943b242a964398d608a40 100644 (file)
@@ -3,7 +3,7 @@
 #ld: -shared --compress-debug-sections=zlib-gnu
 #readelf: -SW
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #failif
 #...
index 95717f669634a446ce69b7e59ba1049baf7f749b..5bebd175c0f3f1e47b5f73149949b195a0f52ce3 100644 (file)
@@ -1,7 +1,7 @@
 #ld: -shared -T dynamic1.ld
 #readelf: -l --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
  Section to Segment mapping:
index 6e534fc02ba9c18c7440258cd59a0f3917afd368..171c5f75ba7cd9a67f33fb3e9143a9a19dcbfb4b 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared
 #readelf: --dyn-syms
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
  +[0-9]+: +[0-9a-f]+ +[0-9]+ +FUNC +GLOBAL +DEFAULT +[1-9] _start
index 2baf1593ecf5219d6aeeb0089e62e35b13d07e93..6cbaa3a3416e5a861ad03e354871a32bee45adb5 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -e _start -shared
 #nm: -n
 #target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
-#xfail: cris*-*-* frv-*-* h8300-*-*
+#xfail: cris*-*-* frv-*-* ![check_shared_lib_support] 
 
 #...
 [0-9a-f]*000 [Adrt] __ehdr_start
index cee6c1dab6d859aba2ba2c0b8d4921320397360c..632d0b56803742969f747734912da714e630f888 100644 (file)
@@ -2,7 +2,7 @@
 #ld: --shared
 #readelf: -S --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #failif
 #...
index 71e956160ec5d31bd612fb619feda77553341fad..f1c24cdaee07f350ddb9bf12b398dc8509cbffb0 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -z global
 #readelf: -d
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
  0x0*6ffffffb \(FLAGS_1\) *Flags: GLOBAL
index 61d84e44a6e4a90330ebc71f061dc05576134523..ab278c000405ac57f9290d6965ad17cb4993b058 100644 (file)
@@ -2,7 +2,7 @@
 #readelf: -d -s -D
 #ld: -shared --hash-style=gnu
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 #xfail: mips*-*-*
 # MIPS uses a different style of GNU hash due to psABI restrictions
 # on dynsym table ordering.
index e118163c254941ff01bb846c36a4b0c247ff8f2f..814afc13766910cc25e019cab850fb15a801c1c5 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -T loadaddr1.t -T loadaddr.t -z max-page-size=0x200000 -z noseparate-code
 #readelf: -l --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: h8300-*-* rx-*-linux*
 
 #...
   LOAD +0x000000 0xf*80000000 0xf*80000000 0x100050 0x100050 RWE 0x200000
index eb1517e890f2074ff36e3eb059fff2ced699a3b2..64843c2a7d4f45b15fb2013237b306ca2a64a970 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -T loadaddr2.t -T loadaddr.t -z max-page-size=0x200000 -z noseparate-code
 #readelf: -l --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: h8300-*-* rx-*-linux*
 
 #...
   LOAD +0x000000 0xf*80000000 0xf*80000000 0x100050 0x100050 RWE 0x200000
index c5b7876a126729e83fd908ce110216a44d56fcb7..4cb4faa4f93a5ec0abca0b4e669c204540efb006 100644 (file)
@@ -1,7 +1,7 @@
 #ld: -shared --version-script local1.map
 #readelf: -s --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
     .*: [0-9a-f]* +[0-9a-f]+ +OBJECT +LOCAL +DEFAULT +[0-9] +foo
index 9c36b2692f8bea903aaa575ebceca93b66b27ff3..137f8b67a031f03b3749f0bf9cd52e18ff46b3ec 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -z common-page-size=0x1000 -z max-page-size=0x200000
 #readelf: -S -l --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
   \[[ 0-9]+\] \.mbind\.text[   ]+PROGBITS[     ]+[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 AXD  0   0 4096
index 1c794c1364065b1d426cce87e2695df461572b42..9cc333e9f7931ac348e1020cdbb5bd5b82fe1e12 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -pie -z common-page-size=0x1000 -z max-page-size=0x200000
 #readelf: -S -l --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_pie_support] 
 
 #...
   \[[ 0-9]+\] \.mbind\.text[   ]+PROGBITS[     ]+[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 AXD  0   0 4096
index 41c47380e6cf6864e662fc697a28eb23e086c7ed..060d1ebed579e8d949331e0d5c7f86164831569a 100644 (file)
@@ -2,7 +2,7 @@
 #readelf: -d -W
 #ld: -shared -z now --enable-new-dtags
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #failif
 #...
index 6c50dc0e7295fdb1dc51bf923fa825ea2040688c..970878c0777f22d79da4550d733a92c2e984e353 100644 (file)
@@ -2,7 +2,7 @@
 #readelf: -d -W
 #ld: -shared -z now --enable-new-dtags
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
  0x[0-9a-f]+ +\(FLAGS\) +BIND_NOW
index 34e0fad25521900df84a057957aa7de2856b7305..2ffb5271e49453cff27e80ba48b4161fccb03f41 100644 (file)
@@ -2,7 +2,7 @@
 #readelf: -d -W
 #ld: -shared -z now --disable-new-dtags
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #failif
 #...
index e3058ed38a5ee78c0d86b4c8810de5500559472c..0c0c8e144a530a9d1faad38c997cb49c380a7d10 100644 (file)
@@ -2,7 +2,7 @@
 #readelf: -d -W
 #ld: -shared -z now --disable-new-dtags
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
  0x[0-9a-f]+ +\(BIND_NOW\) +
index 94511dd683e204056d12b01139cc4ff7006ea01c..11f3b9034dbd6e2fa6a7f2e400dcfa28a2108998 100644 (file)
@@ -2,7 +2,7 @@
 #readelf: -d -W
 #ld: -pie
 #target: *-*-linux* *-*-gnu* *-*-solaris* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_pie_support] 
 
 #...
  +0x[0-9a-f]+ +\(FLAGS_1\) +Flags: +PIE
index bd33db2258af616c8b2febbe7616f13ccb4e7d41..2f5551ea0bba056e1da8479271ca0995a6037b8b 100644 (file)
@@ -1,7 +1,7 @@
 #ld: --gc-sections -shared -version-script pr12975.t
 #readelf: -s --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-*
+#xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 
 # generic linker targets don't support --gc-sections, nor do a bunch of others
 
 #failif
index 30b9ce68ebcca2b02fbc15af0028380844fc0169..c67ee122dfe2e9c51b31bc5b0a3189c125ad2fe8 100644 (file)
@@ -2,7 +2,7 @@
 #ld: --gc-sections -shared
 #readelf: -s -D --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-*
+#xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 
 # generic linker targets don't support --gc-sections, nor do a bunch of others
 
 #failif
index c22de0e6ce24a23f73a0e65842a71ed61995e7dc..0409c7102ec01a7680c1564356eb6be4d3be1897 100644 (file)
@@ -1,7 +1,7 @@
 #ld: --gc-sections -shared -version-script pr13195.t
 #readelf: -s --wide -D
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-*
+#xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 
 # generic linker targets don't support --gc-sections, nor do a bunch of others
 
 #...
index 6e7c22a956e44cd6697d0f7a53d7dd8fa6cd04ad..7bd1a6ff1aeecac62e2e9def2338ab757b7c9a62 100644 (file)
@@ -1,7 +1,7 @@
 #ld: -shared -z relro -z noseparate-code
 #readelf: -l --wide
 #target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
   GNU_RELRO .*
index 3d6554e7794344b4a69b3c9495015236ab1f0d56..de683896122fa31005071a8651d27fe3bcf7bea6 100644 (file)
@@ -1,7 +1,7 @@
 #ld: -shared -T pr16498a.t
 #readelf: -l --wide
 #target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
   TLS .*
index dcddbfd93b141ed3e76c26b5bb82a99df9950950..aceb307df70ffe6ba7698e768953e0793a3bed07 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -T pr16498b.t
 #readelf: -l --wide
 #target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
   TLS .*
index a5af4d33a5210d6e739ff8cdf378f35add9c0e04..6dc2c16cad940c3ac8ec777c15f1bff65d26ee7d 100644 (file)
@@ -1,7 +1,7 @@
 #ld: --gc-sections -shared
 #readelf: -S --wide --dyn-syms
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-*
+#xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 
 # generic linker targets don't support --gc-sections, nor do a bunch of others
 
 #...
index aa0a69cc9afa2e76b843c1e9b865a50592bfd8fb..1e7c1a9f227ba15e2b290d47eae9f36b2c129e3c 100644 (file)
@@ -3,7 +3,7 @@
 #ld: -shared -z max-page-size=0x200000 -z noseparate-code
 #readelf: -l --wide
 #target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-* hppa*-*-*
+#xfail: hppa*-*-* ![check_shared_lib_support] 
 # hppa fails due to PR 12376.
 
 #...
index 24a9b174847fa0f36b66638778ce34ae17c6372e..c9f91ce663488d4bbbd3eda8af50db152fa1f1da 100644 (file)
@@ -3,7 +3,7 @@
 #ld: -pie -T pr19539.t
 #readelf : --dyn-syms --wide
 #target: *-*-linux* *-*-gnu* *-*-solaris* arm*-*-uclinuxfdpiceabi
-#xfail: cris*-*-* h8300-*-*
+#xfail: cris*-*-* ![check_pie_support] 
 
 Symbol table '\.dynsym' contains [0-9]+ entr(y|ies):
 #pass
index f7b8aae4980420c2a672ef4741b865ecb15c832e..b3d3caf5e4853d76595b14b0847a41e3361755fc 100644 (file)
@@ -1,7 +1,7 @@
 #ld: -shared $srcdir/$subdir/pr19698.t
 #readelf : --dyn-syms --wide
 #target: *-*-linux* *-*-gnu* *-*-solaris* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 Symbol table '\.dynsym' contains [0-9]+ entries:
 #...
index e7c2dde656c457b13717cf3b257017435262142c..80059735df918f34cbfdf1e64b0e08e0b5a4a07c 100644 (file)
@@ -3,7 +3,7 @@
 #ld: -shared
 #readelf: -S --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #failif
 #...
index c3797a8bea819e99b89d32a3c385816b2f316aa5..8848adba6cddb36abfeac1e53567786e5157dad4 100644 (file)
@@ -3,7 +3,7 @@
 #ld: -shared
 #readelf: -S --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #failif
 #...
index ff86c769cc78392322982a1043f27e75e07ff933..22c8601cecb5dfd61b3bdbd8efc2b88c2fc10b28 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared --version-script pr21389.map -soname=pr21389.so
 #objdump: -p
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
 Version definitions:
index 8f2049f3e7c5c7992466bd60fc001e785cad7bd1..4e5393a045beedae9194fc0e1ae453c4cd067042 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared --version-script pr21389.map -soname=pr21389.so
 #readelf: -d
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
  0x[0-9a-f]* \(SONAME\) +Library soname: \[pr21389.so\]
index 7db04179adc25fb0acc61388f7c8d8ce3d1a7299..cdd5f380c0977121576b1521763ee1414c4cef7d 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -soname=pr21389.so
 #readelf: -d
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
  0x[0-9a-f]* \(SONAME\) +Library soname: \[pr21389.so\]
index 159292e7e178452f62d19fd0abad56609932effe..bcd561461c1ed367d74af9bae9553b2fcfd4110e 100644 (file)
@@ -1,7 +1,7 @@
 #ld: -shared -z defs --gc-sections
 #readelf: -s -S --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-*
+#xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 
 # generic linker targets don't support --gc-sections, nor do a bunch of others
 
 #...
index 5e891b8655e220ea4855cc0a31b21dba23a3b45b..0345e81f860a9f6130a08adca1f6ae37b09e34c9 100644 (file)
@@ -1,7 +1,7 @@
 #ld: -shared -z defs --gc-sections
 #readelf: -s -S --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-*
+#xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 
 # generic linker targets don't support --gc-sections, nor do a bunch of others
 
 #...
index 758be5cdaf34d0c9caf18b0a3a4990b6a94cccbb..944d3f48f0f45b1bcff844fff56e4fb1cb57d2fd 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -z defs --gc-sections -T pr21562a.t
 #readelf: -s -S --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-*
+#xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 
 # generic linker targets don't support --gc-sections, nor do a bunch of others
 
 #...
index d5a6955d9128af17be5f17879dc8c2becf5f79d4..6bf24ea964765652e2af30f07244b3fe3c5d33ce 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -z defs --gc-sections -T pr21562a.t
 #readelf: -s -S --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-*
+#xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 
 # generic linker targets don't support --gc-sections, nor do a bunch of others
 
 #...
index a68960add35f592d80bae5ff35a7ed2a4439ad1c..a230f04f7e06c3fa4214d4cdde03ee94b5da0ac8 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -z defs
 #readelf: -s -S --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: h8300-*-* ![check_shared_lib_support] 
 
 #...
   \[[ 0-9]+\] scnfoo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +0*10[ \t]+.*
index b3f34cae7ce5e68fdf2981fb19d88596b9c0f83d..53f2ec77c3a4fe311ba10a8660a98ae33d40d00a 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -z defs
 #readelf: -s -S --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: h8300-*-* ![check_shared_lib_support] 
 
 #...
   \[[ 0-9]+\] scnfoo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +0*10[ \t]+.*
index 4bee6f6a28f34fdce4a01971beff658c13ce1af3..7f8d994fb7509f351743d4658e23d5a9deacbdda 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -z defs -T pr21562a.t
 #readelf: -s -S --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: h8300-*-* ![check_shared_lib_support] 
 
 #...
   \[[ 0-9]+\] scnfoo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +0*10[ \t]+.*
index a93fe40b13ac0cd1f1e35d8c10f899b8ed83aabf..98966ef88dd278580f01849e63fd715ba0bd12d2 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -z defs -T pr21562a.t
 #readelf: -s -S --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: h8300-*-* ![check_shared_lib_support] 
 
 #...
   \[[ 0-9]+\] scnfoo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +0*10[ \t]+.*
index 2c9d9dddd649b0a04d90d86f4bab2afe6d9e382e..617898c4023c1c7f76da13b34a4b7cd74254b9c5 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -z defs --gc-sections -T pr21562b.t
 #readelf: -s -S --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-*
+#xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 
 # generic linker targets don't support --gc-sections, nor do a bunch of others
 
 #...
index 28b45a8600ff3fcf48d49207f2c0fb68d34a8614..fff201a82b382c9eebab5af2c5ef29a4f2315844 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -z defs --gc-sections -T pr21562b.t
 #readelf: -s -S --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-*
+#xfail: [is_generic] ![check_shared_lib_support] h8300-*-* hppa64-*-* mep-*-* mn10200-*-*
 # generic linker targets don't support --gc-sections, nor do a bunch of others
 
 #...
index 24c29d99622bf2a69efd1e37ba99f4083adcb77b..b210333df040c52ec12e33be079f5e530a465d64 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -z defs --gc-sections -T pr21562c.t
 #readelf: -s -S --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-*
+#xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 
 # generic linker targets don't support --gc-sections, nor do a bunch of others
 
 #...
index 2dd0d98a13c54613da72f3855e3b7e77d6f24c65..6dde202852d449c56b7b08fbf3bc2b5b80625b60 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -z defs --gc-sections -T pr21562c.t
 #readelf: -s -S --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-*
+#xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 
 # generic linker targets don't support --gc-sections, nor do a bunch of others
 
 #...
index 2bc714f7ef683d69025ae85bd61963cd6766e6df..5b3a28bd5fb9ff39f9401d97bb57a95863479986 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -z defs --gc-sections -T pr21562d.t
 #readelf: -s -S --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-*
+#xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 
 # generic linker targets don't support --gc-sections, nor do a bunch of others
 
 #...
index 8b210bb2c0ce281413be8bdcaf7efca9b6e2621d..029390327c9719d8c702d9dfacadc0e8423823ac 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -z defs --gc-sections -T pr21562d.t
 #readelf: -s -S --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-*
+#xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 
 # generic linker targets don't support --gc-sections, nor do a bunch of others
 
 #...
index 12e53f1fbbe9f455d406f328a601551ed159d071..5bca5176620353d20fc9bec598a1aa030b9c2577 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared --no-define-common
 #readelf: --dyn-syms
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
 .*: 0+0 +0 +OBJECT +GLOBAL +DEFAULT +UND foo
index 6ad77ea9292498ccd0f88820994105986d47d9a8..c1f3db2d27409ef368aa7668ca3bef38a43e1ee2 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared
 #readelf: --dyn-syms
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
 .*: [0-9a-f]+ +4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ foo
index ac77d3edf88ec4e518de9b7acf2d8bf32a15e229..be0ae09619854de1329dfdc31ade248351ab2f98 100644 (file)
@@ -1,5 +1,5 @@
 #source: pr21903.s
 #ld: --no-define-common -pie
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_pie_support]
 #error: --no-define-common may not be used without -shared
index 47775d30aec9076aef00a89da4a9f3b2f248dd46..1ac29aef43c03667a3b4b4c70c32ad42f9f8ae4f 100644 (file)
@@ -3,7 +3,7 @@
 #ld: -pie --no-dynamic-linker
 #readelf: -r -x .data.rel.ro
 #target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_pie_support] 
 
 There are no relocations in this file.
 
index 9e61a12701db5336ae10dfe8986fc692dcbfa466..d3eed582054deb9bcde9af44301be482ab8de5bd 100644 (file)
@@ -4,7 +4,7 @@
 #readelf: -r -x .data.rel.ro
 #warning: -z dynamic-undefined-weak ignored
 #target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_pie_support] 
 
 There are no relocations in this file.
 
index c4fd3ba6ea4c4da246e47266d47693a5304527aa..c08ecaa3b0cf7d9f0c7c2671619e649a5fe975e5 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -z separate-code -z relro
 #readelf: -l --wide
 #target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #failif
 #...
index 41cc8a020901316f7e6daf6257569f7ad89a2c5f..b0020a17142b97ce3083e56a59cc06c66be76ad8 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -z relro -z separate-code
 #readelf: -l --wide
 #target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #failif
 #...
index 664e20ecf83a65c39c668bce187b8a7908433e2a..c34dab3ceea72775ce027028ab771e28ae4eb828 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -pie -z separate-code
 #readelf: -l --wide
 #target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_pie_support] 
 
 #failif
 #...
index 573dabf7aa83d3a9caedf4f2134d221968060781..4723e53e13aad5d2e7e69ca694e55d534741cd31 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -pie -z separate-code
 #readelf: -l --wide
 #target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_pie_support] 
 
 #failif
 #...
index 272a85f9ac1d367fc684a608012631ce5b534175..51d74fa1381f2b86d81ebf28ca0f00f9001a15bc 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -z separate-code
 #readelf: -l --wide
 #target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: h8300-*-* rx-*-linux*
 
 #failif
 #...
index 7507c40b709f9b1088b05a3689b92af954e8627a..2a44955d0f14cc30fb69b67436168e20d6fe47ce 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -z separate-code
 #readelf: -l --wide
 #target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: h8300-*-* rx-*-linux*
 
 #failif
 #...
index 5cd1ffb963dff47d6bedcb3ff134d49c6fdedf19..38c3be03f17f4243c6d6abe82daf30910a6db292 100644 (file)
@@ -2,7 +2,7 @@
 #readelf: -l -W
 #ld: -pie --dynamic-linker=/usr/lib/ld.so.1
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_pie_support] 
 
 #...
  +PHDR +0x[0-9a-f]+ +0x[0-9a-f]+ +0x[0-9a-f]+ +0x[0-9a-f]+ +0x[0-9a-f]+ +R +0x[48]?
index 166186d0945cb42dd3e18300caddc714d2376430..87acecaabe15bad455f3473fe99f5951fbc117ef 100644 (file)
@@ -6,7 +6,7 @@
 #ld: --build-id -shared
 #readelf: -l --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
  +[0-9]+ +\.note\.4 \.note\.1 +
index 49957cc75d5f560a7b1604ddf9a159274095a07a..30cae8cd516baf42719701feb8a7336bc8d0250f 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -version-script pr13195.t
 #nm: -D
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-* hppa64-*-*
+#xfail: hppa64-*-* ![check_shared_lib_support] 
 # h8300 doesn't support -shared, and hppa64 creates .foo
 
 #..
index 4efdabd4ca41de59fb765fbba00e7e44e2fc93ee..b1651c3bbf54217438a718274281e2e91695c5b0 100644 (file)
@@ -2,7 +2,7 @@
 #readelf: -d -W
 #ld: -shared -rpath=. --disable-new-dtags
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #failif
 #...
index cf8c1da43920ce85a07d9d3a79fb091a43c10cf5..3a457d0f3a8b71a2261a53aacc1fb4dc8f5b2c18 100644 (file)
@@ -2,7 +2,7 @@
 #readelf: -d -W
 #ld: -shared -rpath=. --disable-new-dtags
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
  +0x[0-9a-f]+ +\(RPATH\) +Library rpath: +\[.\]
index db010929d8424abbd0d349e810848a68f07c3ce9..03931dc98092c1b0fc5088c10244d475f706c512 100644 (file)
@@ -2,7 +2,7 @@
 #readelf: -d -W
 #ld: -shared -rpath . --enable-new-dtags
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #failif
 #...
index 2cd86a6785c5781c1a1e71ae3ff37618aa3556df..2f21b8299cb2e02e5615b2d3c8279a9a1761bf12 100644 (file)
@@ -2,7 +2,7 @@
 #readelf: -d -W
 #ld: -shared -rpath . --enable-new-dtags
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support]
 
 #...
  +0x[0-9a-f]+ +\(RUNPATH\) +Library runpath: +\[.\]
index 567ed46af2b0c15b8121104361142d23cb5e5812..3d075792858efe0d57ccfec5280f5fb9d4de718d 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared
 #readelf: -sW
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support]
 
 Symbol table '\.dynsym' contains [0-9]+ entries:
  +Num: +Value +Size Type +Bind +Vis +Ndx Name
index 833d2b62f32886d64d26d08cc2d9b7f42a8723b1..4465fc58e485119f70d0d1b671953de7f5c8e54b 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared
 #readelf: -sW
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support]
 
 Symbol table '\.dynsym' contains [0-9]+ entries:
  +Num: +Value +Size Type +Bind +Vis +Ndx Name
index 51199f43a39578c0d5c0a59e5a8462fd6491ba56..8ca6793ece6cc5334fb489ec15cebe6acbf5d3ea 100644 (file)
@@ -1,7 +1,7 @@
 #ld: -shared
 #readelf: -W -x .strtab
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #failif
 #...
index f9c04f3aea7559ac648ab8df3c1216c417e6f20c..169cf817797226fc75cbc0913b8e2c584347716b 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -Ttext-segment 0x7000000 -z max-page-size=0x200000 -z noseparate-code
 #readelf: -l --wide
 #target: *-*-linux-gnu *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: h8300-*-* rx-*-linux*
 
 #...
   LOAD +0x0+ 0x0*7000000 0x0*7000000 0x0*[0-9a-f][0-9a-f][0-9a-f] 0x0*[0-9a-f][0-9a-f][0-9a-f] R E 0x200000
index 62eb091d76a51400cdedafc3b08117ab216ea8bc..6689c923bc59646bf98293d1051461d5c3663990 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -Ttext-segment 0x7000000 -z max-page-size=0x200000 -z noseparate-code
 #readelf: -l --wide
 #target: *-*-linux-gnu *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support]
 
 #...
   LOAD +0x0+ 0x0*7000000 0x0*7000000 0x0*[0-9a-f]+ 0x0*[0-9a-f]+ R[ W]E 0x200000
index 736592fdae0a8cc8ba88ea3772215163f2d388ad..02350ea78019537b98a74c85ef911e7417f18eb3 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -z max-page-size=0x10000 -Ttext-segment 0x10000 -z noseparate-code
 #readelf: -l --wide
 #target: *-*-linux-gnu *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: h8300-*-* rx-*-linux*
 
 #...
   LOAD +0x0+ 0x0*10000 0x0*10000 0x0*[0-9a-f][0-9a-f][0-9a-f] 0x0*[0-9a-f][0-9a-f][0-9a-f] R E 0x10000
index 3b2c96aec719176be0eb004aef9466eb532284dd..ab1097f40cf855640e51e129e10cd482b2301c9d 100644 (file)
@@ -1,5 +1,5 @@
 #source: maxpage1.s
 #ld: -shared -z max-page-size=0x200000 -Ttext-segment 0x10000
 #target: *-*-linux-gnu *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support]
 #warning: .*address of `text-segment' isn't multiple of maximum page size
index 6afc646510cd90d1414ea789cc20ea7c0371acfa..7e4e3c665c469f2607d6d87430a66da207a5aabc 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared -z max-page-size=0x10000 -Ttext-segment 0x10000 -z noseparate-code
 #readelf: -l --wide
 #target: *-*-linux-gnu *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
   LOAD +0x0+ 0x0*10000 0x0*10000 0x0*[0-9a-f]+ 0x0*[0-9a-f]+ R[ W]E 0x10000
index ec89fb12e1a550bf15cdb8086776fb436409fa40..ef9b40f6b38d45b39a71ae602a92076f5f8cc0d6 100644 (file)
@@ -2,7 +2,7 @@
 #ld: -shared
 #readelf: -S
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
   \[[ 0-9]+\] \.note.foo[ \t]+NOTE[ \t]+.*
index 3a01bc1d49097fa1c66b49b62a334a7a1d7e1ad7..8f93e4552784fd7cc5dea0d3d002c73d227ff15a 100644 (file)
@@ -3,7 +3,7 @@
 #ld: -shared --entry foo tmpdir/libentry.a
 #nm: -n
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
 [0-9a-f]+ T +foo
index a072e9b278967c171cc5eb0fc51135662a89bef8..774d0589730fa2298f430bfb1d3120e4ec952681 100644 (file)
@@ -3,7 +3,7 @@
 #ld: -shared --entry foo -u foo tmpdir/libentry.a
 #nm: -n
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-#xfail: h8300-*-*
+#xfail: ![check_shared_lib_support] 
 
 #...
 [0-9a-f]+ T +foo