From 06010a4e79b3d00461cab161ffa2f5cff88095b5 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 15 Sep 2006 14:48:46 +0000 Subject: [PATCH] 2006-09-15 H.J. Lu * ld-elf/loadaddr.s: Pad sections to 16 bytes. * ld-elf/loadaddr1.d: Updated. * ld-elf/loadaddr2.d: Likewise. * ld-elf/loadaddr3a.d: Likewise. * ld-elf/loadaddr3b.d: Likewise. --- ld/testsuite/ChangeLog | 8 ++++++++ ld/testsuite/ld-elf/loadaddr.s | 12 ++++++++---- ld/testsuite/ld-elf/loadaddr1.d | 6 +++--- ld/testsuite/ld-elf/loadaddr2.d | 6 +++--- ld/testsuite/ld-elf/loadaddr3a.d | 4 ++-- ld/testsuite/ld-elf/loadaddr3b.d | 2 +- 6 files changed, 25 insertions(+), 13 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index d482c48fab1..c8663330f9d 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2006-09-15 H.J. Lu + + * ld-elf/loadaddr.s: Pad sections to 16 bytes. + * ld-elf/loadaddr1.d: Updated. + * ld-elf/loadaddr2.d: Likewise. + * ld-elf/loadaddr3a.d: Likewise. + * ld-elf/loadaddr3b.d: Likewise. + 2006-09-12 H.J. Lu PR ld/3197 diff --git a/ld/testsuite/ld-elf/loadaddr.s b/ld/testsuite/ld-elf/loadaddr.s index dcf40c89603..0a141692428 100644 --- a/ld/testsuite/ld-elf/loadaddr.s +++ b/ld/testsuite/ld-elf/loadaddr.s @@ -7,10 +7,14 @@ main: start: _start: __start: - .byte 0 + .byte 0,0,0,0,0,0,0,0 + .byte 0,0,0,0,0,0,0,0 .section .bar,"ax","progbits" - .byte 0 + .byte 0,0,0,0,0,0,0,0 + .byte 0,0,0,0,0,0,0,0 .section .foo,"aw","progbits" - .byte 0 + .byte 0,0,0,0,0,0,0,0 + .byte 0,0,0,0,0,0,0,0 .data - .byte 0 + .byte 0,0,0,0,0,0,0,0 + .byte 0,0,0,0,0,0,0,0 diff --git a/ld/testsuite/ld-elf/loadaddr1.d b/ld/testsuite/ld-elf/loadaddr1.d index f4b01dd14ed..31ac0ac0f28 100644 --- a/ld/testsuite/ld-elf/loadaddr1.d +++ b/ld/testsuite/ld-elf/loadaddr1.d @@ -4,7 +4,7 @@ #target: *-*-linux* #... - LOAD +0x000000 0xf*80000000 0xf*80000000 0x100041 0x100041 RWE 0x200000 - LOAD +0x200000 0xf*ff600000 0xf*80101000 0x0*1 0x0*1 R E 0x200000 - LOAD +0x302000 0xf*80102000 0xf*80102000 0x0*1 0x0*1 RW 0x200000 + LOAD +0x000000 0xf*80000000 0xf*80000000 0x100050 0x100050 RWE 0x200000 + LOAD +0x200000 0xf*ff600000 0xf*80101000 0x0*10 0x0*10 R E 0x200000 + LOAD +0x302000 0xf*80102000 0xf*80102000 0x0*10 0x0*10 RW 0x200000 #pass diff --git a/ld/testsuite/ld-elf/loadaddr2.d b/ld/testsuite/ld-elf/loadaddr2.d index 0044b8b33d5..2198b6ceb69 100644 --- a/ld/testsuite/ld-elf/loadaddr2.d +++ b/ld/testsuite/ld-elf/loadaddr2.d @@ -4,7 +4,7 @@ #target: *-*-linux* #... - LOAD +0x000000 0xf*80000000 0xf*80000000 0x100041 0x100041 RWE 0x200000 - LOAD +0x110000 0xf*80110000 0xf*80101000 0x0*1 0x0*1 R E 0x200000 - LOAD +0x302000 0xf*80302000 0xf*80302000 0x0*1 0x0*1 RW 0x200000 + LOAD +0x000000 0xf*80000000 0xf*80000000 0x100050 0x100050 RWE 0x200000 + LOAD +0x110000 0xf*80110000 0xf*80101000 0x0*10 0x0*10 R E 0x200000 + LOAD +0x302000 0xf*80302000 0xf*80302000 0x0*10 0x0*10 RW 0x200000 #pass diff --git a/ld/testsuite/ld-elf/loadaddr3a.d b/ld/testsuite/ld-elf/loadaddr3a.d index 36e0420bc85..b2ace667a92 100644 --- a/ld/testsuite/ld-elf/loadaddr3a.d +++ b/ld/testsuite/ld-elf/loadaddr3a.d @@ -4,6 +4,6 @@ #target: *-*-linux* #... - LOAD +0x000000 0x0*00000000 0x0*00000000 0x0*0101 0x0*0101 R E 0x.* - LOAD +0x000200 0x0*00000200 0x0*00000101 0x0*0001 0x0*0001 RW 0x.* + LOAD +0x000000 0x0*00000000 0x0*00000000 0x0*0110 0x0*0110 R E 0x.* + LOAD +0x000200 0x0*00000200 0x0*00000110 0x0*0010 0x0*0010 RW 0x.* #pass diff --git a/ld/testsuite/ld-elf/loadaddr3b.d b/ld/testsuite/ld-elf/loadaddr3b.d index af7eb87522a..af7e6e4e07e 100644 --- a/ld/testsuite/ld-elf/loadaddr3b.d +++ b/ld/testsuite/ld-elf/loadaddr3b.d @@ -7,7 +7,7 @@ 0+0000100 l d .text 0+0000000 .text 0+0000200 l d .data 0+0000000 .data #... -0+0000101 g \*ABS\* 0+0000000 data_load +0+0000110 g \*ABS\* 0+0000000 data_load #... 0+0000200 g .data 0+0000000 data_start #pass -- 2.30.2