aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/data.exp
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2017-07-19 13:11:59 +0100
committerMaciej W. Rozycki <macro@imgtec.com>2017-07-19 13:11:59 +0100
commit62a5222fdab2acdc129b7c7d3713e7f349e26029 (patch)
treee303b2bd76d0effcfff9febef429e5f42ebc39d2 /ld/testsuite/ld-scripts/data.exp
parent29866fa186ee3ebda5242221607dba360b2e541e (diff)
downloadgdb-62a5222fdab2acdc129b7c7d3713e7f349e26029.zip
gdb-62a5222fdab2acdc129b7c7d3713e7f349e26029.tar.gz
gdb-62a5222fdab2acdc129b7c7d3713e7f349e26029.tar.bz2
LD/testsuite: Add 2**4 section alignment FILL script statement test
Complement commit ffe54b3798db ("Pad sections according to current script FILL.") and add a FILL script statement test for targets that impose the minimum alignment of more than 2**2 for the `.text' section. These targets include IA-64 targets, MIPS targets other than bare-metal ELF and VxWorks, TILE-Gx targets, TILEPro targets and X86-64 PE targets. Use the `notarget' tag for configuration triplets that are incompatible with the new test, but are supported by the existing FILL test, and `xfail' for ones that have issues due to section alignment or padding with both tests. Make a complementary change to the existing FILL test, removing the following test issues: arm-epoc-pe -FAIL: ld-scripts/fill mips-elf -XPASS: ld-scripts/fill mips-img-elf -XPASS: ld-scripts/fill mips-mti-elf -XPASS: ld-scripts/fill mips-sde-elf -XPASS: ld-scripts/fill mips-vxworks -XPASS: ld-scripts/fill mipsel-elf -XPASS: ld-scripts/fill mipsel-img-elf -XPASS: ld-scripts/fill mipsel-mti-elf -XPASS: ld-scripts/fill mipsel-vxworks -XPASS: ld-scripts/fill mipsisa32-elf -XPASS: ld-scripts/fill mipsisa32el-elf -XPASS: ld-scripts/fill mipsisa64-elf -XPASS: ld-scripts/fill mipsisa64el-elf -XPASS: ld-scripts/fill tilegx-linux -FAIL: ld-scripts/fill tilepro-elf -FAIL: ld-scripts/fill tx39-elf -XPASS: ld-scripts/fill ld/ * testsuite/ld-scripts/fill.d: Adjust `xfail' entries. Add `notarget' entries. Update comments. * testsuite/ld-scripts/fill16.d: New test. * testsuite/ld-scripts/fill16_0.s: New test source. * testsuite/ld-scripts/fill16_1.s: New test source. * testsuite/ld-scripts/fill16_2.s: New test source. * testsuite/ld-scripts/data.exp: Run the new test.
Diffstat (limited to 'ld/testsuite/ld-scripts/data.exp')
-rw-r--r--ld/testsuite/ld-scripts/data.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/data.exp b/ld/testsuite/ld-scripts/data.exp
index 1bae4c1..3d8f270 100644
--- a/ld/testsuite/ld-scripts/data.exp
+++ b/ld/testsuite/ld-scripts/data.exp
@@ -29,3 +29,4 @@ if {[is_aout_format]} {
run_dump_test data
run_dump_test fill
+run_dump_test fill16