Adjust pr14156 test for m68hc1*
authorAlan Modra <amodra@gmail.com>
Thu, 21 Mar 2019 05:31:08 +0000 (16:01 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 21 Mar 2019 11:49:51 +0000 (22:19 +1030)
The test section alignment is unnecessarily high, overflowing the
m68hc11 page used by .init code.

* testsuite/ld-elf/fini2.s: Reduce alignment.
* testsuite/ld-elf/fini3.s: Likewise.
* testsuite/ld-elf/finin.s: Likewise.
* testsuite/ld-elf/init2.s: Likewise.
* testsuite/ld-elf/init3.s: Likewise.
* testsuite/ld-elf/initn.s: Likewise.
* testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
* testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.

ld/ChangeLog
ld/testsuite/ld-elf/fini2.s
ld/testsuite/ld-elf/fini3.s
ld/testsuite/ld-elf/finin.s
ld/testsuite/ld-elf/init2.s
ld/testsuite/ld-elf/init3.s
ld/testsuite/ld-elf/initn.s
ld/testsuite/ld-elf/pr14156a.d
ld/testsuite/ld-elf/pr14156b.d

index a8f8e306f84fb2e34481f013b860b6b90432749d..6116ca6697124c5de4284f128f58c5a2a9a25666 100644 (file)
@@ -1,3 +1,14 @@
+2019-03-21  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/fini2.s: Reduce alignment.
+       * testsuite/ld-elf/fini3.s: Likewise.
+       * testsuite/ld-elf/finin.s: Likewise.
+       * testsuite/ld-elf/init2.s: Likewise.
+       * testsuite/ld-elf/init3.s: Likewise.
+       * testsuite/ld-elf/initn.s: Likewise.
+       * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
+       * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
+
 2019-03-21  Alan Modra  <amodra@gmail.com>
 
        * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
index 9d8753065acf9129f4960e2ea5911caf2c39b7fb..8fabadf51bfa5917442690663ac6e7fef3f5cbca 100644 (file)
@@ -1,5 +1,5 @@
        .section .fini, "a"
-       .p2align 6
+       .p2align 4
        .type   foo2,%function
 foo2:
        .dc.a   0x0
index eb8535a04e8ebb4edb102d5abfe2af4e9624feec..59cf534bf40cb21f7fadb5194f2c27b98c5705b7 100644 (file)
@@ -1,5 +1,5 @@
        .section .fini, "a"
-       .p2align 4
+       .p2align 3
        .type   foo3,%function
 foo3:
        .dc.a   0x0
index c23ff7937c6c3ac4d127688378399386326ca917..48bcf08ee51b8710d80ac90e932b9f6b864eab47 100644 (file)
@@ -1,5 +1,5 @@
        .section .fini, "a"
-       .p2align 8
+       .p2align 5
        .type   last,%function
 last:
        .dc.a   0x0
index 0185148f9f7583be245e69a9eb603030464eee6a..f0461fc84f86a345f0a9d873f8815b338bc43c03 100644 (file)
@@ -1,5 +1,5 @@
        .section .init, "a"
-       .p2align 6
+       .p2align 4
        .type   foo2,%function
 foo2:
        .dc.a   0x0
index 71696c0501dd439ba7a310665e7e4b025bc8cc1f..868da24ee7f8ee8844e48128a4c419e69b994bb2 100644 (file)
@@ -1,5 +1,5 @@
        .section .init, "a"
-       .p2align 4
+       .p2align 3
        .type   foo3,%function
 foo3:
        .dc.a   0x0
index 3d0990e07edcdf914cf8040a0d4ab983bd1fda1e..8e3e40a0a1dd6ae05897dae996e13c4f0ca18ef5 100644 (file)
@@ -1,5 +1,5 @@
        .section .init, "a"
-       .p2align 8
+       .p2align 5
        .type   last,%function
 last:
        .dc.a   0x0
index ffc6bfc55219e9cc6447e60cf2a4d5fdcc5bb634..cf38ee1016f78d5c1066f68e15c9fc27ac18a95d 100644 (file)
@@ -5,7 +5,6 @@
 #source: initn.s
 #ld: --sort-section=alignment
 #nm: -n
-#xfail: m68hc1*-* xgate-*
 
 #...
 [0-9a-f]+ T foo
index 1cd16c021b7f1338114ca15a01bf7568adbdf7de..f965f74e6e10dc71a23076520082b371b76d9124 100644 (file)
@@ -5,7 +5,6 @@
 #source: finin.s
 #ld: --sort-section=alignment
 #nm: -n
-#xfail: xgate-*-*
 
 #...
 [0-9a-f]+ T foo