MIPS/LD/testsuite: XFAIL DT_TEXTREL map file warning test
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / shared.exp
index 8ec73ef4cb4d661b599f9ca0276b6be73f8c44f9..daac3be43d40b3f9d0a4933586709a917b9c5a15 100644 (file)
@@ -176,6 +176,11 @@ run_ld_link_tests [list \
     ] \
 ] "xtensa-*-*"
 
+# The MIPS backend sets SHF_WRITE, in `mips_elf_create_dynamic_relocation',
+# for any section that has a dynamic relocation attached and consequently
+# this test is irrelevant for MIPS targets.  We don't have a clean way to
+# request UNSUPPORTED result, which would be the most appropriate here,
+# so we just XFAIL the test instead.
 run_ld_link_tests [list \
     [list \
        "DT_TEXTREL map file warning" \
@@ -186,7 +191,7 @@ run_ld_link_tests [list \
         {{ld textrel.map}} \
        "textrel.so" \
     ] \
-] "cris*-*-*"
+] "cris*-*-*" "mips*-*-*"
 
 # PR ld/20828 check for correct dynamic symbol table entries where:
 # - symbols have been defined with a linker script,
This page took 0.024407 seconds and 4 git commands to generate.