aboutsummaryrefslogtreecommitdiff
path: root/ld
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
parent4e9868d4e0c8e45505876901d22c021dd36972a8 (diff)
downloadgdb-6ca30fa5613cfa935834f27114d6db4f3854a13e.zip
gdb-6ca30fa5613cfa935834f27114d6db4f3854a13e.tar.gz
gdb-6ca30fa5613cfa935834f27114d6db4f3854a13e.tar.bz2
PR ld/21233: change xfails to kfails, fix the indentation issue
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/testsuite/ld-elf/shared.exp17
2 files changed, 20 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 3cf9141..e8f5671 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,6 +1,12 @@
2017-04-05 Hans-Peter Nilsson <hp@axis.com>
PR ld/21233
+ * testsuite/ld-elf/shared.exp: Change xfails to kfails and fix
+ indentation issue introduced with last commit.
+
+2017-04-05 Hans-Peter Nilsson <hp@axis.com>
+
+ PR ld/21233
* testsuite/ld-elf/shared.exp: Xfail all PR21233 tests but the
first test for cris*-*-*.
diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp
index 291f9e1..4859170 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