summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2017-04-05 03:00:40 +0200
committerHans-Peter Nilsson <hp@bitrange.com>2017-04-05 03:00:40 +0200
commit4d5efb852be6554305dfaf17c1e4f07bb9514273 (patch)
tree1fafc07a0c9cb72a4232249f7535fdd87371f361 /ld/testsuite/ld-elf
parentc053b65441eb70ac78a514fabc3431b857a30d2e (diff)
downloadbinutils-gdb-4d5efb852be6554305dfaf17c1e4f07bb9514273.tar.gz
PR ld/21233: xfail failing test-parts for cris*-*-*
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r--ld/testsuite/ld-elf/shared.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp
index be30ec0235e..291f9e129e1 100644
--- a/ld/testsuite/ld-elf/shared.exp
+++ b/ld/testsuite/ld-elf/shared.exp
@@ -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