+ # A relocation type not supported by any target
+ if { [istarget "nds32*-*"] } {
+ set reloc 255
+ } else {
+ set reloc 215
+ }
+ run_dump_test "strip-13" [list \
+ [list source strip-13${reloc_format}.s] \
+ [list as "${elf64} --defsym RELOC=${reloc}"]]
+ # Select a relocation number that corresponds to one actually
+ # supported by the target and ABI being tested.
+ if { [istarget "aarch64*-*"] } {
+ set reloc 259
+ } elseif { [istarget "ia64*-*"] \
+ || [istarget "m32r*-*"] \
+ || [istarget "nds32*-*"] \
+ || [istarget "v850*-*"] } {
+ set reloc 50
+ } elseif { [istarget "pru-*"] } {
+ set reloc 11
+ } else {
+ set reloc 1
+ }
+ run_dump_test "strip-14" [list \
+ [list source strip-14${reloc_format}.s] \
+ [list as "${elf64} --defsym RELOC=${reloc}"]]
+ run_dump_test "strip-15" [list \
+ [list source strip-15${reloc_format}.s] \
+ [list as "${elf64} --defsym RELOC=${reloc}"]]
+
+ # This requires STB_GNU_UNIQUE support with OSABI set to GNU.
+ if { [supports_gnu_unique] } {
+ run_dump_test "strip-10"