Mark the linker's -Bsymbolic-functions test as an expected failure for MIPS targets.
authorNick Clifton <nickc@redhat.com>
Wed, 13 Jan 2016 10:00:49 +0000 (10:00 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 13 Jan 2016 10:00:49 +0000 (10:00 +0000)
* ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
for MIPS targets.

ld/ChangeLog
ld/testsuite/ld-elf/elf.exp

index a0222a1..12cda4e 100644 (file)
@@ -1,5 +1,8 @@
 2016-01-13  Nick Clifton  <nickc@redhat.com>
 
+       * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
+       for MIPS targets.
+
        * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
        fail for MIPS targets.
 
index 1d137b3..af0b091 100644 (file)
@@ -109,6 +109,8 @@ if { [check_shared_lib_support] } then {
     }
     # xfail on tic6x due to non-PIC/non-PID warnings
     setup_xfail "tic6x-*-*"
+    # Fails on MIPS because ABI trickery means that a NULL reloc is also emitted.
+    setup_xfail "mips*-*-*"
     run_ld_link_tests {
        {"-Bsymbolic-functions"
            "-shared -Bsymbolic-functions" "" ""