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 f2cc005391d..6ec4fafb389 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 879cd1305d8..15714a7485d 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 346254b13fc..291164f9932 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 c237f548451..54b0d7a4d92 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 61c224d47d2..7126e681152 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 7eb5afbd31f..9cdc767670b 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 2d09162bef5..29bd37432e3 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 e6c45f1bc3f..53e41a9ed6c 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 27b58947486..dbacbf07757 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 e978734db9d..9fe6daa9af2 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 f1d058a67fc..72d46449833 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 1bfbff38668..2ef8378139d 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 4f8e91efc96..47a8fce9d8a 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 8baa5832797..3ce3bf1c62d 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 99d987c75ab..415c8458606 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 6aa833497fa..68e6e3c0929 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 82bab1e18a1..4c408a2c9ec 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 e1ad8767bd1..4d1b3903f9b 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 583c7711ef3..d31e1f32966 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 0d4ddf68610..c477deeac9a 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 -- 2.30.2