2006-09-15 H.J. Lu <hongjiu.lu@intel.com>

* 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.
This commit is contained in:
H.J. Lu 2006-09-15 14:48:46 +00:00
parent 99643f697e
commit 06010a4e79
6 changed files with 25 additions and 13 deletions

View File

@ -1,3 +1,11 @@
2006-09-15 H.J. Lu <hongjiu.lu@intel.com>
* 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 <hongjiu.lu@intel.com>
PR ld/3197

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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