diff options
author | Alan Modra <amodra@gmail.com> | 2019-03-21 16:01:08 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-03-21 22:19:51 +1030 |
commit | f84bd4655c17b3ee59b73bd33ec91f75bd58546c (patch) | |
tree | 21d2fa34504cea8d35e83b627006a46bca4c4f22 | |
parent | 2d3181c7c466d247d274ca6dbed6c598ceaa6163 (diff) | |
download | gdb-f84bd4655c17b3ee59b73bd33ec91f75bd58546c.zip gdb-f84bd4655c17b3ee59b73bd33ec91f75bd58546c.tar.gz gdb-f84bd4655c17b3ee59b73bd33ec91f75bd58546c.tar.bz2 |
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-*.
-rw-r--r-- | ld/ChangeLog | 11 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/fini2.s | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/fini3.s | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/finin.s | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/init2.s | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/init3.s | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/initn.s | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr14156a.d | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr14156b.d | 1 |
9 files changed, 17 insertions, 8 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index a8f8e30..6116ca6 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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, diff --git a/ld/testsuite/ld-elf/fini2.s b/ld/testsuite/ld-elf/fini2.s index 9d87530..8fabadf 100644 --- a/ld/testsuite/ld-elf/fini2.s +++ b/ld/testsuite/ld-elf/fini2.s @@ -1,5 +1,5 @@ .section .fini, "a" - .p2align 6 + .p2align 4 .type foo2,%function foo2: .dc.a 0x0 diff --git a/ld/testsuite/ld-elf/fini3.s b/ld/testsuite/ld-elf/fini3.s index eb8535a..59cf534 100644 --- a/ld/testsuite/ld-elf/fini3.s +++ b/ld/testsuite/ld-elf/fini3.s @@ -1,5 +1,5 @@ .section .fini, "a" - .p2align 4 + .p2align 3 .type foo3,%function foo3: .dc.a 0x0 diff --git a/ld/testsuite/ld-elf/finin.s b/ld/testsuite/ld-elf/finin.s index c23ff79..48bcf08 100644 --- a/ld/testsuite/ld-elf/finin.s +++ b/ld/testsuite/ld-elf/finin.s @@ -1,5 +1,5 @@ .section .fini, "a" - .p2align 8 + .p2align 5 .type last,%function last: .dc.a 0x0 diff --git a/ld/testsuite/ld-elf/init2.s b/ld/testsuite/ld-elf/init2.s index 0185148..f0461fc 100644 --- a/ld/testsuite/ld-elf/init2.s +++ b/ld/testsuite/ld-elf/init2.s @@ -1,5 +1,5 @@ .section .init, "a" - .p2align 6 + .p2align 4 .type foo2,%function foo2: .dc.a 0x0 diff --git a/ld/testsuite/ld-elf/init3.s b/ld/testsuite/ld-elf/init3.s index 71696c0..868da24 100644 --- a/ld/testsuite/ld-elf/init3.s +++ b/ld/testsuite/ld-elf/init3.s @@ -1,5 +1,5 @@ .section .init, "a" - .p2align 4 + .p2align 3 .type foo3,%function foo3: .dc.a 0x0 diff --git a/ld/testsuite/ld-elf/initn.s b/ld/testsuite/ld-elf/initn.s index 3d0990e..8e3e40a 100644 --- a/ld/testsuite/ld-elf/initn.s +++ b/ld/testsuite/ld-elf/initn.s @@ -1,5 +1,5 @@ .section .init, "a" - .p2align 8 + .p2align 5 .type last,%function last: .dc.a 0x0 diff --git a/ld/testsuite/ld-elf/pr14156a.d b/ld/testsuite/ld-elf/pr14156a.d index ffc6bfc..cf38ee1 100644 --- a/ld/testsuite/ld-elf/pr14156a.d +++ b/ld/testsuite/ld-elf/pr14156a.d @@ -5,7 +5,6 @@ #source: initn.s #ld: --sort-section=alignment #nm: -n -#xfail: m68hc1*-* xgate-* #... [0-9a-f]+ T foo diff --git a/ld/testsuite/ld-elf/pr14156b.d b/ld/testsuite/ld-elf/pr14156b.d index 1cd16c0..f965f74e 100644 --- a/ld/testsuite/ld-elf/pr14156b.d +++ b/ld/testsuite/ld-elf/pr14156b.d @@ -5,7 +5,6 @@ #source: finin.s #ld: --sort-section=alignment #nm: -n -#xfail: xgate-*-* #... [0-9a-f]+ T foo |