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 a0222a15bba8dbddd7f3c4878a442d704996b1ca..12cda4ec6b60ecae6f3d414dccb53631f87189d8 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 1d137b31ce0b712499571e62e90f4a5dfe74d828..af0b09187a4c37cf11bda76310c97301d69a4e2d 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" "" ""