LD/ELF: Unify STB_GNU_UNIQUE handling
[deliverable/binutils-gdb.git] / binutils / testsuite / binutils-all / objcopy.exp
index 176764ae816fd3e51db5100de54d0b0da0094167..af333ac542b7c10a370cbba1e1735cbdad8af892 100644 (file)
@@ -1060,11 +1060,8 @@ if [is_elf_format] {
     run_dump_test "strip-8"
     run_dump_test "strip-9"
     run_dump_test "strip-12"
-    # Non-EABI ARM targets will set OSABI to ARM
-    if { ![istarget "*-*-hpux*"]
-        && ![istarget "msp*-*-*"]
-        && ![istarget "visium-*-*"]
-         && !([istarget "arm*-*-*"] && ![istarget "arm-*-*eabi*"])} {
+    # This requires STB_GNU_UNIQUE support with OSABI set to GNU.
+    if { [supports_gnu_unique] } {
        run_dump_test "strip-10"
     }
     set extra_strip11 ""
This page took 0.024566 seconds and 4 git commands to generate.