aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-09-30 16:09:42 +0930
committerAlan Modra <amodra@gmail.com>2016-09-30 17:51:07 +0930
commit80169c8a23d9bd3f213028e3d44239b03d0aedf7 (patch)
tree13fa51901b37a2fc59b06f43b582ef8ddc7e5f51 /ld
parent4eca02287cf48e60ee89338ddd35f8d0d8257a51 (diff)
downloadgdb-80169c8a23d9bd3f213028e3d44239b03d0aedf7.zip
gdb-80169c8a23d9bd3f213028e3d44239b03d0aedf7.tar.gz
gdb-80169c8a23d9bd3f213028e3d44239b03d0aedf7.tar.bz2
Fix pr20528 testsuite
PR ld/20528 * testsuite/ld-elf/pr20528a.d: xfail generic elf targets. Allow multiple .text sections for hppa-linux. * testsuite/ld-elf/pr20528b.d: Likewise.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog7
-rw-r--r--ld/testsuite/ld-elf/pr20528a.d3
-rw-r--r--ld/testsuite/ld-elf/pr20528b.d3
3 files changed, 13 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index c4b43d5..99ca2e5 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,12 @@
2016-09-30 Alan Modra <amodra@gmail.com>
+ PR ld/20528
+ * testsuite/ld-elf/pr20528a.d: xfail generic elf targets. Allow
+ multiple .text sections for hppa-linux.
+ * testsuite/ld-elf/pr20528b.d: Likewise.
+
+2016-09-30 Alan Modra <amodra@gmail.com>
+
* ldmain.c (default_bfd_error_handler): New function pointer.
(ld_bfd_error_handler): New function.
(main): Arrange to call it on bfd errors/warnings.
diff --git a/ld/testsuite/ld-elf/pr20528a.d b/ld/testsuite/ld-elf/pr20528a.d
index 00d0a7a..8ffb816 100644
--- a/ld/testsuite/ld-elf/pr20528a.d
+++ b/ld/testsuite/ld-elf/pr20528a.d
@@ -2,8 +2,11 @@
#source: pr20528b.s
#ld: -r
#readelf: -S --wide
+#xfail: d30v-*-* dlx-*-* fr30-*-* frv-*-elf ft32-*-* i860-*-* i960-*-*
+#xfail: iq*-*-* mn10200-*-* moxie-*-* msp*-*-* mt-*-* pj*-*-*
#...
[ ]*\[.*\][ ]+\.text.startup[ ]+PROGBITS.*[ ]+AX[ ]+.*
+#...
[ ]*\[.*\][ ]+\.text.startup[ ]+PROGBITS.*[ ]+AXE[ ]+.*
#pass
diff --git a/ld/testsuite/ld-elf/pr20528b.d b/ld/testsuite/ld-elf/pr20528b.d
index 3ae6153..80f0aa5 100644
--- a/ld/testsuite/ld-elf/pr20528b.d
+++ b/ld/testsuite/ld-elf/pr20528b.d
@@ -2,8 +2,11 @@
#source: pr20528a.s
#ld: -r
#readelf: -S --wide
+#xfail: d30v-*-* dlx-*-* fr30-*-* frv-*-elf ft32-*-* i860-*-* i960-*-*
+#xfail: iq*-*-* mn10200-*-* moxie-*-* msp*-*-* mt-*-* pj*-*-*
#...
[ ]*\[.*\][ ]+\.text.startup[ ]+PROGBITS.*[ ]+AXE[ ]+.*
+#...
[ ]*\[.*\][ ]+\.text.startup[ ]+PROGBITS.*[ ]+AX[ ]+.*
#pass