+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
{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)" \
"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\
"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