PR ld/21233: change xfails to kfails, fix the indentation issue
authorHans-Peter Nilsson <hp@bitrange.com>
Wed, 5 Apr 2017 21:12:16 +0000 (23:12 +0200)
committerHans-Peter Nilsson <hp@bitrange.com>
Wed, 5 Apr 2017 21:12:16 +0000 (23:12 +0200)
ld/ChangeLog
ld/testsuite/ld-elf/shared.exp

index 3cf9141efa1242f653346b799559ba18d8be2de2..e8f56718d1eef2196f02757db44c861de07a8d6c 100644 (file)
@@ -1,3 +1,9 @@
+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
index 291f9e129e1346ab0de2c05558dfe786fdac62fb..4859170d0ac3a774919f01d34cda9550a41a5fd1 100644 (file)
@@ -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