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 c4b43d50621..99ca2e5fded 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +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. diff --git a/ld/testsuite/ld-elf/pr20528a.d b/ld/testsuite/ld-elf/pr20528a.d index 00d0a7a5f90..8ffb81694d6 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 3ae615308b8..80f0aa50ad4 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.30.2