diff options
Diffstat (limited to 'ld/testsuite/ld-elf/elf.exp')
-rw-r--r-- | ld/testsuite/ld-elf/elf.exp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp index d1a70ea..55bcb72 100644 --- a/ld/testsuite/ld-elf/elf.exp +++ b/ld/testsuite/ld-elf/elf.exp @@ -77,7 +77,7 @@ if { ![istarget hppa64*-hpux*] } { } } -# Only run these tests on targets thats support creating shared libraries. +# Only run these tests on targets that support creating shared libraries. if { [check_shared_lib_support] } then { # Run a test to check linking a shared library with a broken linker # script that accidentally marks dynamic sections as notes. The @@ -107,6 +107,14 @@ if { [check_shared_lib_support] } then { "--as-needed" "--start-group tmpdir/pr17068a.a tmpdir/pr17068.so tmpdir/pr17068b.a --end-group" "" {start.s pr17068.s} {} "pr17068"} } + # xfail on tic6x due to non-PIC/non-PID warnings + setup_xfail "tic6x-*-*" + run_ld_link_tests { + {"-Bsymbolic-functions" + "-shared -Bsymbolic-functions" "" "" + {symbolic-func.s} {{readelf {-r --wide} symbolic-func.r}} + "symbolic-func.so"} + } } set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]] |