PR ld/21233: xfail failing test-parts for cris*-*-*
authorHans-Peter Nilsson <hp@bitrange.com>
Wed, 5 Apr 2017 01:00:40 +0000 (03:00 +0200)
committerHans-Peter Nilsson <hp@bitrange.com>
Wed, 5 Apr 2017 01:00:40 +0000 (03:00 +0200)
ld/ChangeLog
ld/testsuite/ld-elf/shared.exp

index d8b9a224859a9023bb476a4126636c832f7952bb..3cf9141efa1242f653346b799559ba18d8be2de2 100644 (file)
@@ -1,3 +1,9 @@
+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*-*-*.
+
 2017-04-04  Maciej W. Rozycki  <macro@imgtec.com>
 
        PR ld/21233
index be30ec0235efb6b2bb25bee3294c3c8e3d887413..291f9e129e1346ab0de2c05558dfe786fdac62fb 100644 (file)
@@ -130,7 +130,8 @@ if { [check_gc_sections_available] } {
            "$LFLAGS -shared -T pr21233.ld" "" "$AFLAGS_PIC" \
            {pr21233-l.s} \
            {{readelf --dyn-syms pr21233-l.sd}} \
-           "libpr21233.so"] \
+           "libpr21233.so"]]
+    run_ld_link_tests [list \
        [list \
            "PR ld/21233 dynamic symbols with section GC (--undefined)" \
            "$LFLAGS --gc-sections -e foo --undefined=bar -T pr21233.ld" \
@@ -152,7 +153,7 @@ if { [check_gc_sections_available] } {
            "tmpdir/libpr21233.so" "" \
            {pr21233.s} \
            {{readelf --dyn-syms pr21233.sd}} \
-           "pr21233-3"]]
+            "pr21233-3"]] "cris*-*-*"
 }
 
 # Check to see if the C compiler works