summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2017-04-05 23:12:16 +0200
committerHans-Peter Nilsson <hp@bitrange.com>2017-04-05 23:12:16 +0200
commit6ca30fa5613cfa935834f27114d6db4f3854a13e (patch)
treecd2ea70f408f776e4a642bfc5765492c57d45f03 /ld/testsuite/ld-elf
parent4e9868d4e0c8e45505876901d22c021dd36972a8 (diff)
downloadbinutils-gdb-6ca30fa5613cfa935834f27114d6db4f3854a13e.tar.gz
PR ld/21233: change xfails to kfails, fix the indentation issue
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r--ld/testsuite/ld-elf/shared.exp17
1 files changed, 14 insertions, 3 deletions
diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp
index 291f9e129e1..4859170d0ac 100644
--- a/ld/testsuite/ld-elf/shared.exp
+++ b/ld/testsuite/ld-elf/shared.exp
@@ -131,6 +131,9 @@ if { [check_gc_sections_available] } {
{pr21233-l.s} \
{{readelf --dyn-syms pr21233-l.sd}} \
"libpr21233.so"]]
+
+ setup_kfail "cris*-*-*" "ld/21233"
+
run_ld_link_tests [list \
[list \
"PR ld/21233 dynamic symbols with section GC (--undefined)" \
@@ -138,7 +141,11 @@ if { [check_gc_sections_available] } {
"tmpdir/libpr21233.so" "" \
{pr21233.s} \
{{readelf --dyn-syms pr21233.sd}} \
- "pr21233-1"] \
+ "pr21233-1"]]
+
+ setup_kfail "cris*-*-*" "ld/21233"
+
+ run_ld_link_tests [list \
[list \
"PR ld/21233 dynamic symbols with section GC (--require-defined)" \
"$LFLAGS --gc-sections -e foo --require-defined=bar\
@@ -146,14 +153,18 @@ if { [check_gc_sections_available] } {
"tmpdir/libpr21233.so" "" \
{pr21233.s} \
{{readelf --dyn-syms pr21233.sd}} \
- "pr21233-2"] \
+ "pr21233-2"]]
+
+ setup_kfail "cris*-*-*" "ld/21233"
+
+ run_ld_link_tests [list \
[list \
"PR ld/21233 dynamic symbols with section GC (EXTERN)" \
"$LFLAGS --gc-sections -e foo -T pr21233-e.ld" \
"tmpdir/libpr21233.so" "" \
{pr21233.s} \
{{readelf --dyn-syms pr21233.sd}} \
- "pr21233-3"]] "cris*-*-*"
+ "pr21233-3"]]
}
# Check to see if the C compiler works