From bbad996200720297c10313ae45906be80cf5f260 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 21 Feb 2018 17:36:29 +1030 Subject: [PATCH] ia64 testsuite changes for --gc-sections * testsuite/ld-elf/group8b.d: Run test on ia64. Use xfail rather than notarget. * testsuite/ld-elf/pr12851.d: Likewise. * testsuite/ld-elf/pr12975.d: Likewise. * testsuite/ld-elf/pr13177.d: Likewise. * testsuite/ld-elf/pr13195.d: Likewise. * testsuite/ld-elf/pr17615.d: Likewise. * testsuite/ld-elf/pr21562a.d: Likewise. * testsuite/ld-elf/pr21562b.d: Likewise. * testsuite/ld-elf/pr21562c.d: Likewise. * testsuite/ld-elf/pr21562d.d: Likewise. * testsuite/ld-elf/pr21562i.d: Likewise. * testsuite/ld-elf/pr21562j.d: Likewise. * testsuite/ld-elf/pr21562k.d: Likewise. * testsuite/ld-elf/pr21562l.d: Likewise. * testsuite/ld-elf/pr21562m.d: Likewise. * testsuite/ld-elf/pr21562n.d: Likewise. * testsuite/ld-elf/group9a.d: Run test on ia64 and alpha. Use xfail rather than notarget. * testsuite/ld-elf/group9b.d: Likewise. * testsuite/ld-elf/pr22677.d: Likewise. --- ld/ChangeLog | 24 ++++++++++++++++++++++++ ld/testsuite/ld-elf/group8b.d | 4 ++-- ld/testsuite/ld-elf/group9a.d | 4 ++-- ld/testsuite/ld-elf/group9b.d | 4 ++-- ld/testsuite/ld-elf/pr12851.d | 4 ++-- ld/testsuite/ld-elf/pr12975.d | 4 ++-- ld/testsuite/ld-elf/pr13177.d | 4 ++-- ld/testsuite/ld-elf/pr13195.d | 4 ++-- ld/testsuite/ld-elf/pr17615.d | 4 ++-- ld/testsuite/ld-elf/pr21562a.d | 2 +- ld/testsuite/ld-elf/pr21562b.d | 2 +- ld/testsuite/ld-elf/pr21562c.d | 2 +- ld/testsuite/ld-elf/pr21562d.d | 2 +- ld/testsuite/ld-elf/pr21562i.d | 2 +- ld/testsuite/ld-elf/pr21562j.d | 2 +- ld/testsuite/ld-elf/pr21562k.d | 2 +- ld/testsuite/ld-elf/pr21562l.d | 2 +- ld/testsuite/ld-elf/pr21562m.d | 2 +- ld/testsuite/ld-elf/pr21562n.d | 2 +- ld/testsuite/ld-elf/pr22677.d | 4 ++-- 20 files changed, 52 insertions(+), 28 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index f2cc005391..6ec4fafb38 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,27 @@ +2018-02-21 Alan Modra + + * testsuite/ld-elf/group8b.d: Run test on ia64. Use xfail rather + than notarget. + * testsuite/ld-elf/pr12851.d: Likewise. + * testsuite/ld-elf/pr12975.d: Likewise. + * testsuite/ld-elf/pr13177.d: Likewise. + * testsuite/ld-elf/pr13195.d: Likewise. + * testsuite/ld-elf/pr17615.d: Likewise. + * testsuite/ld-elf/pr21562a.d: Likewise. + * testsuite/ld-elf/pr21562b.d: Likewise. + * testsuite/ld-elf/pr21562c.d: Likewise. + * testsuite/ld-elf/pr21562d.d: Likewise. + * testsuite/ld-elf/pr21562i.d: Likewise. + * testsuite/ld-elf/pr21562j.d: Likewise. + * testsuite/ld-elf/pr21562k.d: Likewise. + * testsuite/ld-elf/pr21562l.d: Likewise. + * testsuite/ld-elf/pr21562m.d: Likewise. + * testsuite/ld-elf/pr21562n.d: Likewise. + * testsuite/ld-elf/group9a.d: Run test on ia64 and alpha. Use xfail + rather than notarget. + * testsuite/ld-elf/group9b.d: Likewise. + * testsuite/ld-elf/pr22677.d: Likewise. + 2018-02-19 Maciej W. Rozycki * testsuite/ld-mips-elf/reginfo-0.d: New test. diff --git a/ld/testsuite/ld-elf/group8b.d b/ld/testsuite/ld-elf/group8b.d index 879cd1305d..15714a7485 100644 --- a/ld/testsuite/ld-elf/group8b.d +++ b/ld/testsuite/ld-elf/group8b.d @@ -1,8 +1,8 @@ #source: group8.s #ld: -r --gc-sections --entry bar #readelf: -g --wide -#notarget: d30v-*-* dlx-*-* i960-*-* pj*-*-* pru-*-* -#notarget: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* pru-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* #xfail: cr16-*-* crx-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others # cr16 and crx use non-standard scripts with memory regions, which don't play diff --git a/ld/testsuite/ld-elf/group9a.d b/ld/testsuite/ld-elf/group9a.d index 346254b13f..291164f993 100644 --- a/ld/testsuite/ld-elf/group9a.d +++ b/ld/testsuite/ld-elf/group9a.d @@ -1,8 +1,8 @@ #source: group9.s #ld: -r --gc-sections --entry foo #readelf: -g --wide -#notarget: d30v-*-* dlx-*-* i960-*-* pj*-*-* pru-*-* -#notarget: alpha-*-* hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* pru-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* #xfail: cr16-*-* crx-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others # cr16 and crx use non-standard scripts with memory regions, which don't play diff --git a/ld/testsuite/ld-elf/group9b.d b/ld/testsuite/ld-elf/group9b.d index c237f54845..54b0d7a4d9 100644 --- a/ld/testsuite/ld-elf/group9b.d +++ b/ld/testsuite/ld-elf/group9b.d @@ -1,8 +1,8 @@ #source: group9.s #ld: -r --gc-sections --entry bar #readelf: -g --wide -#notarget: d30v-*-* dlx-*-* i960-*-* pj*-*-* pru-*-* -#notarget: alpha-*-* hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* pru-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* #xfail: cr16-*-* crx-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others # cr16 and crx use non-standard scripts with memory regions, which don't play diff --git a/ld/testsuite/ld-elf/pr12851.d b/ld/testsuite/ld-elf/pr12851.d index 61c224d47d..7126e68115 100644 --- a/ld/testsuite/ld-elf/pr12851.d +++ b/ld/testsuite/ld-elf/pr12851.d @@ -2,8 +2,8 @@ #source: start.s #ld: --gc-sections #readelf: -s --wide -#notarget: d30v-*-* dlx-*-* i960-*-* pj*-*-* pru-*-* -#notarget: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* pru-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others #... diff --git a/ld/testsuite/ld-elf/pr12975.d b/ld/testsuite/ld-elf/pr12975.d index 7eb5afbd31..9cdc767670 100644 --- a/ld/testsuite/ld-elf/pr12975.d +++ b/ld/testsuite/ld-elf/pr12975.d @@ -1,8 +1,8 @@ #ld: --gc-sections -shared -version-script pr12975.t #readelf: -s --wide #target: *-*-linux* *-*-gnu* -#notarget: d30v-*-* dlx-*-* i960-*-* pj*-*-* -#notarget: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others #failif diff --git a/ld/testsuite/ld-elf/pr13177.d b/ld/testsuite/ld-elf/pr13177.d index 2d09162bef..29bd37432e 100644 --- a/ld/testsuite/ld-elf/pr13177.d +++ b/ld/testsuite/ld-elf/pr13177.d @@ -2,8 +2,8 @@ #ld: --gc-sections -shared #readelf: -s -D --wide #target: *-*-linux* *-*-gnu* -#notarget: d30v-*-* dlx-*-* i960-*-* pj*-*-* -#notarget: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others #failif diff --git a/ld/testsuite/ld-elf/pr13195.d b/ld/testsuite/ld-elf/pr13195.d index e6c45f1bc3..53e41a9ed6 100644 --- a/ld/testsuite/ld-elf/pr13195.d +++ b/ld/testsuite/ld-elf/pr13195.d @@ -1,8 +1,8 @@ #ld: --gc-sections -shared -version-script pr13195.t #readelf: -s --wide -D #target: *-*-linux* *-*-gnu* -#notarget: d30v-*-* dlx-*-* i960-*-* pj*-*-* -#notarget: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others #... diff --git a/ld/testsuite/ld-elf/pr17615.d b/ld/testsuite/ld-elf/pr17615.d index 27b5894748..dbacbf0775 100644 --- a/ld/testsuite/ld-elf/pr17615.d +++ b/ld/testsuite/ld-elf/pr17615.d @@ -1,8 +1,8 @@ #ld: --gc-sections -shared #readelf: -S --wide --dyn-syms #target: *-*-linux* *-*-gnu* -#notarget: d30v-*-* dlx-*-* i960-*-* pj*-*-* -#notarget: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others #... diff --git a/ld/testsuite/ld-elf/pr21562a.d b/ld/testsuite/ld-elf/pr21562a.d index e978734db9..9fe6daa9af 100644 --- a/ld/testsuite/ld-elf/pr21562a.d +++ b/ld/testsuite/ld-elf/pr21562a.d @@ -2,7 +2,7 @@ #readelf: -s -S --wide #target: *-*-linux* *-*-gnu* #xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* -#xfail: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others #... diff --git a/ld/testsuite/ld-elf/pr21562b.d b/ld/testsuite/ld-elf/pr21562b.d index f1d058a67f..72d4644983 100644 --- a/ld/testsuite/ld-elf/pr21562b.d +++ b/ld/testsuite/ld-elf/pr21562b.d @@ -2,7 +2,7 @@ #readelf: -s -S --wide #target: *-*-linux* *-*-gnu* #xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* -#xfail: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others #... diff --git a/ld/testsuite/ld-elf/pr21562c.d b/ld/testsuite/ld-elf/pr21562c.d index 1bfbff3866..2ef8378139 100644 --- a/ld/testsuite/ld-elf/pr21562c.d +++ b/ld/testsuite/ld-elf/pr21562c.d @@ -3,7 +3,7 @@ #readelf: -s -S --wide #target: *-*-linux* *-*-gnu* #xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* -#xfail: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others #... diff --git a/ld/testsuite/ld-elf/pr21562d.d b/ld/testsuite/ld-elf/pr21562d.d index 4f8e91efc9..47a8fce9d8 100644 --- a/ld/testsuite/ld-elf/pr21562d.d +++ b/ld/testsuite/ld-elf/pr21562d.d @@ -3,7 +3,7 @@ #readelf: -s -S --wide #target: *-*-linux* *-*-gnu* #xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* -#xfail: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others #... diff --git a/ld/testsuite/ld-elf/pr21562i.d b/ld/testsuite/ld-elf/pr21562i.d index 8baa583279..3ce3bf1c62 100644 --- a/ld/testsuite/ld-elf/pr21562i.d +++ b/ld/testsuite/ld-elf/pr21562i.d @@ -3,7 +3,7 @@ #readelf: -s -S --wide #target: *-*-linux* *-*-gnu* #xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* -#xfail: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others #... diff --git a/ld/testsuite/ld-elf/pr21562j.d b/ld/testsuite/ld-elf/pr21562j.d index 99d987c75a..415c845860 100644 --- a/ld/testsuite/ld-elf/pr21562j.d +++ b/ld/testsuite/ld-elf/pr21562j.d @@ -3,7 +3,7 @@ #readelf: -s -S --wide #target: *-*-linux* *-*-gnu* #xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* -#xfail: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others #... diff --git a/ld/testsuite/ld-elf/pr21562k.d b/ld/testsuite/ld-elf/pr21562k.d index 6aa833497f..68e6e3c092 100644 --- a/ld/testsuite/ld-elf/pr21562k.d +++ b/ld/testsuite/ld-elf/pr21562k.d @@ -3,7 +3,7 @@ #readelf: -s -S --wide #target: *-*-linux* *-*-gnu* #xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* -#xfail: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others #... diff --git a/ld/testsuite/ld-elf/pr21562l.d b/ld/testsuite/ld-elf/pr21562l.d index 82bab1e18a..4c408a2c9e 100644 --- a/ld/testsuite/ld-elf/pr21562l.d +++ b/ld/testsuite/ld-elf/pr21562l.d @@ -3,7 +3,7 @@ #readelf: -s -S --wide #target: *-*-linux* *-*-gnu* #xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* -#xfail: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others #... diff --git a/ld/testsuite/ld-elf/pr21562m.d b/ld/testsuite/ld-elf/pr21562m.d index e1ad8767bd..4d1b3903f9 100644 --- a/ld/testsuite/ld-elf/pr21562m.d +++ b/ld/testsuite/ld-elf/pr21562m.d @@ -3,7 +3,7 @@ #readelf: -s -S --wide #target: *-*-linux* *-*-gnu* #xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* -#xfail: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others #... diff --git a/ld/testsuite/ld-elf/pr21562n.d b/ld/testsuite/ld-elf/pr21562n.d index 583c7711ef..d31e1f3296 100644 --- a/ld/testsuite/ld-elf/pr21562n.d +++ b/ld/testsuite/ld-elf/pr21562n.d @@ -3,7 +3,7 @@ #readelf: -s -S --wide #target: *-*-linux* *-*-gnu* #xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* -#xfail: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others #... diff --git a/ld/testsuite/ld-elf/pr22677.d b/ld/testsuite/ld-elf/pr22677.d index 0d4ddf6861..c477deeac9 100644 --- a/ld/testsuite/ld-elf/pr22677.d +++ b/ld/testsuite/ld-elf/pr22677.d @@ -1,7 +1,7 @@ #ld: -r --gc-sections -u foo #readelf: -S --wide -#notarget: d30v-*-* dlx-*-* i960-*-* pj*-*-* pru-*-* -#notarget: alpha-*-* hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* pru-*-* +#xfail: hppa64-*-* i370-*-* i860-*-* mep-*-* mn10200-*-* #xfail: cr16-*-* crx-*-* msp430-*-* # msp430 puts the init_array and fini_array inside the .rodata section. # generic linker targets don't support --gc-sections, nor do a bunch of