Adjust pr14156 test for m68hc1*

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-*.
This commit is contained in:
Alan Modra 2019-03-21 16:01:08 +10:30
parent 2d3181c7c4
commit f84bd4655c
9 changed files with 17 additions and 8 deletions

View 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> 2019-03-21 Alan Modra <amodra@gmail.com>
* scripttempl/alpha.sc, * scripttempl/armbpabi.sc, * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,

View File

@ -1,5 +1,5 @@
.section .fini, "a" .section .fini, "a"
.p2align 6 .p2align 4
.type foo2,%function .type foo2,%function
foo2: foo2:
.dc.a 0x0 .dc.a 0x0

View File

@ -1,5 +1,5 @@
.section .fini, "a" .section .fini, "a"
.p2align 4 .p2align 3
.type foo3,%function .type foo3,%function
foo3: foo3:
.dc.a 0x0 .dc.a 0x0

View File

@ -1,5 +1,5 @@
.section .fini, "a" .section .fini, "a"
.p2align 8 .p2align 5
.type last,%function .type last,%function
last: last:
.dc.a 0x0 .dc.a 0x0

View File

@ -1,5 +1,5 @@
.section .init, "a" .section .init, "a"
.p2align 6 .p2align 4
.type foo2,%function .type foo2,%function
foo2: foo2:
.dc.a 0x0 .dc.a 0x0

View File

@ -1,5 +1,5 @@
.section .init, "a" .section .init, "a"
.p2align 4 .p2align 3
.type foo3,%function .type foo3,%function
foo3: foo3:
.dc.a 0x0 .dc.a 0x0

View File

@ -1,5 +1,5 @@
.section .init, "a" .section .init, "a"
.p2align 8 .p2align 5
.type last,%function .type last,%function
last: last:
.dc.a 0x0 .dc.a 0x0

View File

@ -5,7 +5,6 @@
#source: initn.s #source: initn.s
#ld: --sort-section=alignment #ld: --sort-section=alignment
#nm: -n #nm: -n
#xfail: m68hc1*-* xgate-*
#... #...
[0-9a-f]+ T foo [0-9a-f]+ T foo

View File

@ -5,7 +5,6 @@
#source: finin.s #source: finin.s
#ld: --sort-section=alignment #ld: --sort-section=alignment
#nm: -n #nm: -n
#xfail: xgate-*-*
#... #...
[0-9a-f]+ T foo [0-9a-f]+ T foo