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 a8f8e30..6116ca6 100644 (file)
@@ -1,5 +1,16 @@
 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,
        * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
        * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
index 9d87530..8fabadf 100644 (file)
@@ -1,5 +1,5 @@
        .section .fini, "a"
-       .p2align 6
+       .p2align 4
        .type   foo2,%function
 foo2:
        .dc.a   0x0
index eb8535a..59cf534 100644 (file)
@@ -1,5 +1,5 @@
        .section .fini, "a"
-       .p2align 4
+       .p2align 3
        .type   foo3,%function
 foo3:
        .dc.a   0x0
index c23ff79..48bcf08 100644 (file)
@@ -1,5 +1,5 @@
        .section .fini, "a"
-       .p2align 8
+       .p2align 5
        .type   last,%function
 last:
        .dc.a   0x0
index 0185148..f0461fc 100644 (file)
@@ -1,5 +1,5 @@
        .section .init, "a"
-       .p2align 6
+       .p2align 4
        .type   foo2,%function
 foo2:
        .dc.a   0x0
index 71696c0..868da24 100644 (file)
@@ -1,5 +1,5 @@
        .section .init, "a"
-       .p2align 4
+       .p2align 3
        .type   foo3,%function
 foo3:
        .dc.a   0x0
index 3d0990e..8e3e40a 100644 (file)
@@ -1,5 +1,5 @@
        .section .init, "a"
-       .p2align 8
+       .p2align 5
        .type   last,%function
 last:
        .dc.a   0x0
index ffc6bfc..cf38ee1 100644 (file)
@@ -5,7 +5,6 @@
 #source: initn.s
 #ld: --sort-section=alignment
 #nm: -n
-#xfail: m68hc1*-* xgate-*
 
 #...
 [0-9a-f]+ T foo
index 1cd16c0..f965f74 100644 (file)
@@ -5,7 +5,6 @@
 #source: finin.s
 #ld: --sort-section=alignment
 #nm: -n
-#xfail: xgate-*-*
 
 #...
 [0-9a-f]+ T foo