From 80169c8a23d9bd3f213028e3d44239b03d0aedf7 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 30 Sep 2016 16:09:42 +0930 Subject: [PATCH] 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. --- ld/ChangeLog | 7 +++++++ ld/testsuite/ld-elf/pr20528a.d | 3 +++ ld/testsuite/ld-elf/pr20528b.d | 3 +++ 3 files changed, 13 insertions(+) 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 + 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 + * 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 -- 2.7.4