From 2ddda9905b452cc2527984351db20bcaa4e694cc Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 21 Nov 2012 13:53:23 +0000 Subject: [PATCH] Run more tests on x86_64-*-linux-gnu*/i?86-*-linux-gnu * ld-elf/discard1.d: Run on x86_64-*-linux-gnu*. * ld-elf/discard2.d: Likewise. * ld-elf/discard3.d: Likewise. * ld-elf/eh6.d: Likewise. * ld-elf/maxpage3c.d: Run on i?86-*-linux-gnu. * ld-elf/maxpage4.d: Likewise. --- ld/testsuite/ChangeLog | 9 +++++++++ ld/testsuite/ld-elf/discard1.d | 2 +- ld/testsuite/ld-elf/discard2.d | 2 +- ld/testsuite/ld-elf/discard3.d | 2 +- ld/testsuite/ld-elf/eh6.d | 2 +- ld/testsuite/ld-elf/maxpage3c.d | 2 +- ld/testsuite/ld-elf/maxpage4.d | 2 +- 7 files changed, 15 insertions(+), 6 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 30a4d99..97833cd 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2012-11-21 H.J. Lu + + * ld-elf/discard1.d: Run on x86_64-*-linux-gnu*. + * ld-elf/discard2.d: Likewise. + * ld-elf/discard3.d: Likewise. + * ld-elf/eh6.d: Likewise. + * ld-elf/maxpage3c.d: Run on i?86-*-linux-gnu. + * ld-elf/maxpage4.d: Likewise. + 2012-11-20 H.J. Lu PR ld/14862 diff --git a/ld/testsuite/ld-elf/discard1.d b/ld/testsuite/ld-elf/discard1.d index 99de88e..da54b36 100644 --- a/ld/testsuite/ld-elf/discard1.d +++ b/ld/testsuite/ld-elf/discard1.d @@ -1,7 +1,7 @@ #source: discard1.s #ld: -r -T discard.ld #readelf: -r -#target: x86_64-*-linux-gnu i?86-*-linux-gnu i?86-*-gnu* +#target: x86_64-*-linux-gnu* i?86-*-linux-gnu i?86-*-gnu* Relocation section '.rel.*.debug_info' at offset 0x[0-9a-z]+ contains 1 entries: [ \t]+Offset[ \t]+Info[ \t]+Type[ \t]+Sym.* diff --git a/ld/testsuite/ld-elf/discard2.d b/ld/testsuite/ld-elf/discard2.d index df10619..54bedcb 100644 --- a/ld/testsuite/ld-elf/discard2.d +++ b/ld/testsuite/ld-elf/discard2.d @@ -1,7 +1,7 @@ #source: discard2.s #ld: -r -T discard.ld #readelf: -r -#target: x86_64-*-linux-gnu i?86-*-linux-gnu i?86-*-gnu* +#target: x86_64-*-linux-gnu* i?86-*-linux-gnu i?86-*-gnu* Relocation section '.rel.*.debug_info' at offset 0x[0-9a-z]+ contains 1 entries: [ \t]+Offset[ \t]+Info[ \t]+Type[ \t]+Sym.* diff --git a/ld/testsuite/ld-elf/discard3.d b/ld/testsuite/ld-elf/discard3.d index 6934882..970a8af 100644 --- a/ld/testsuite/ld-elf/discard3.d +++ b/ld/testsuite/ld-elf/discard3.d @@ -2,7 +2,7 @@ #source: discard2.s #ld: -r -T discard.ld #readelf: -r -#target: x86_64-*-linux-gnu i?86-*-linux-gnu i?86-*-gnu* +#target: x86_64-*-linux-gnu* i?86-*-linux-gnu i?86-*-gnu* Relocation section '.rel.*.debug_info' at offset 0x[0-9a-z]+ contains 2 entries: [ \t]+Offset[ \t]+Info[ \t]+Type[ \t]+Sym.* diff --git a/ld/testsuite/ld-elf/eh6.d b/ld/testsuite/ld-elf/eh6.d index 76be605..32a5473 100644 --- a/ld/testsuite/ld-elf/eh6.d +++ b/ld/testsuite/ld-elf/eh6.d @@ -1,7 +1,7 @@ #source: eh6.s #ld: --gc-sections -shared #readelf: -wf -#target: x86_64-*-linux-gnu i?86-*-linux-gnu i?86-*-gnu* +#target: x86_64-*-linux-gnu* i?86-*-linux-gnu i?86-*-gnu* Contents of the .eh_frame section: diff --git a/ld/testsuite/ld-elf/maxpage3c.d b/ld/testsuite/ld-elf/maxpage3c.d index cdc3eaf..66fef32 100644 --- a/ld/testsuite/ld-elf/maxpage3c.d +++ b/ld/testsuite/ld-elf/maxpage3c.d @@ -2,7 +2,7 @@ #as: --32 #ld: -m elf_i386 -z max-page-size=0x10000000 -T maxpage3.t #readelf: -lS --wide -#target: x86_64-*-linux* +#target: x86_64-*-linux* i?86-*-linux-gnu #... \[[ 0-9]+\] \.data[ \t]+PROGBITS[ \t]+0*10000000[ \t]+[ \t0-9a-f]+WA?.* diff --git a/ld/testsuite/ld-elf/maxpage4.d b/ld/testsuite/ld-elf/maxpage4.d index a7cc17b..cde43d7 100644 --- a/ld/testsuite/ld-elf/maxpage4.d +++ b/ld/testsuite/ld-elf/maxpage4.d @@ -2,7 +2,7 @@ #as: --32 #ld: -z max-page-size=0x200000 -T maxpage4.t #readelf: -l --wide -#target: x86_64-*-linux* +#target: x86_64-*-linux* i?86-*-linux-gnu #... LOAD+.*0x200000 -- 2.7.4