aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2006-09-15 14:48:46 +0000
committerH.J. Lu <hjl.tools@gmail.com>2006-09-15 14:48:46 +0000
commit06010a4e79b3d00461cab161ffa2f5cff88095b5 (patch)
tree7b4edfa62fb35339d6cf305f6eeae255f394f9f7 /ld
parent99643f697ed692215488dd72f36eb3d82fd2c2ac (diff)
downloadgdb-06010a4e79b3d00461cab161ffa2f5cff88095b5.zip
gdb-06010a4e79b3d00461cab161ffa2f5cff88095b5.tar.gz
gdb-06010a4e79b3d00461cab161ffa2f5cff88095b5.tar.bz2
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.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog8
-rw-r--r--ld/testsuite/ld-elf/loadaddr.s12
-rw-r--r--ld/testsuite/ld-elf/loadaddr1.d6
-rw-r--r--ld/testsuite/ld-elf/loadaddr2.d6
-rw-r--r--ld/testsuite/ld-elf/loadaddr3a.d4
-rw-r--r--ld/testsuite/ld-elf/loadaddr3b.d2
6 files changed, 25 insertions, 13 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index d482c48..c866333 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -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
diff --git a/ld/testsuite/ld-elf/loadaddr.s b/ld/testsuite/ld-elf/loadaddr.s
index dcf40c8..0a14169 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 f4b01dd..31ac0ac 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 0044b8b..2198b6c 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 36e0420..b2ace66 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 af7eb87..af7e6e4 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