summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2012-11-27 17:20:28 +0000
committerRoland McGrath <roland@gnu.org>2012-11-27 17:20:28 +0000
commit7b8230c90c479be669825c2f64f00acc48f484ab (patch)
tree2f0f5be91a24c6114e954a106498e716169eb7c3 /ld/testsuite/ld-elf
parent310acacdf2b040f931c27d3a438f1e575d0a3083 (diff)
downloadbinutils-redhat-7b8230c90c479be669825c2f64f00acc48f484ab.tar.gz
ld/testsuite/
* ld-elf/flags1.d: Add *-*-nacl* to xfail list. * ld-elf/orphan-region.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r--ld/testsuite/ld-elf/flags1.d7
-rw-r--r--ld/testsuite/ld-elf/orphan-region.d4
2 files changed, 6 insertions, 5 deletions
diff --git a/ld/testsuite/ld-elf/flags1.d b/ld/testsuite/ld-elf/flags1.d
index e6bb0011a0..ab8facc993 100644
--- a/ld/testsuite/ld-elf/flags1.d
+++ b/ld/testsuite/ld-elf/flags1.d
@@ -1,11 +1,12 @@
#name: --set-section-flags test 1 (sections)
#ld: -Tflags1.ld
-#objcopy_linked_file: --set-section-flags .post_text_reserve=contents,alloc,load,readonly,code
+#objcopy_linked_file: --set-section-flags .post_text_reserve=contents,alloc,load,readonly,code
#readelf: -l --wide
#xfail: "avr-*-*" "dlx-*-*" "h8300-*-*" "i960-*-*" "ip2k-*-*" "m32r-*-*"
-#xfail: "moxie-*-*" "mt-*-*" "msp430-*-*"
+#xfail: "moxie-*-*" "mt-*-*" "msp430-*-*" "*-*-nacl*"
#xfail: "*-*-hpux*" "hppa*64*-*-*"
-# Fails on the AVR, DLX, H8300, I960, IP2K, M32R, MOXIE, MT, and MSP430
+# Fails on the AVR, DLX, H8300, I960, IP2K, M32R, MOXIE, MT, and MSP430,
+# and all NaCl targets,
# because the two sections are not merged into one segment.
# (There is no good reason why they have to be).
# Fails on HPUX systems because the .type pseudo-op behaves differently.
diff --git a/ld/testsuite/ld-elf/orphan-region.d b/ld/testsuite/ld-elf/orphan-region.d
index d961a07d0a..bf653567e8 100644
--- a/ld/testsuite/ld-elf/orphan-region.d
+++ b/ld/testsuite/ld-elf/orphan-region.d
@@ -3,9 +3,9 @@
#readelf: -S -l --wide
#xfail: arc-*-* d30v-*-* dlx-*-* fr30-*-* frv-*-elf i860-*-* i960-*-*
#xfail: iq*-*-* mn10200-*-* moxie-*-* msp*-*-* mt-*-* or32-*-* pj*-*-*
-#xfail: spu-*-* hppa*64*-*-*
+#xfail: spu-*-* hppa*64*-*-* *-*-nacl*
# if not using elf32.em, you don't get fancy orphan handling
-# spu twiddles LOAD range, hppa64 adds PHDR
+# spu twiddles LOAD range, hppa64 adds PHDR, nacl splits to two segments
#...
\[[ 0-9]+\] \.text[ \t]+PROGBITS[ \t]+0*40000000[ \t]+.*