aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-01-17 19:17:15 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-01-17 19:17:15 +0000
commite47251a9cb8ab12784843155e1f61cf0595b6047 (patch)
tree03e43c6cf06e11faf0fb965189d25c3d35e46054 /ld
parent35817077524aa2f61a50d0d5ea7ecabe818dae93 (diff)
downloadgdb-e47251a9cb8ab12784843155e1f61cf0595b6047.zip
gdb-e47251a9cb8ab12784843155e1f61cf0595b6047.tar.gz
gdb-e47251a9cb8ab12784843155e1f61cf0595b6047.tar.bz2
2007-01-17 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/header.d: Adjust for .text section with 16byte alignment.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-elf/header.d6
2 files changed, 8 insertions, 3 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index bcfd3e8..7a5bfb5 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-17 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ld-elf/header.d: Adjust for .text section with 16byte
+ alignment.
+
2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/dl1main.c (main): Fix a typo.
diff --git a/ld/testsuite/ld-elf/header.d b/ld/testsuite/ld-elf/header.d
index 9019597..f52dbd3 100644
--- a/ld/testsuite/ld-elf/header.d
+++ b/ld/testsuite/ld-elf/header.d
@@ -5,9 +5,9 @@
#...
Program Header:
LOAD off 0x0*0000000 vaddr 0x0*0010000 paddr 0x0*0010000 align 2..16
- filesz 0x0*001002[48] memsz 0x0*001002[48] flags rwx
+ filesz 0x0*00100[23][048] memsz 0x0*00100[23][048] flags rwx
#...
Sections:
Idx Name Size VMA *LMA *File off Algn Flags
- 0 .text 0*000ffac 0*001007[48] 0*001007[48] 0*000007[48] 2... CONTENTS, ALLOC, LOAD, READONLY, CODE
- 1 .data 0*0000004 0*002002[04] 0*002002[04] 0*001002[04] 2... CONTENTS, ALLOC, LOAD, DATA
+ 0 .text 0*000ffac 0*00100[78][048] 0*00100[78][048] 0*00000[78][048] 2... CONTENTS, ALLOC, LOAD, READONLY, CODE
+ 1 .data 0*0000004 0*002002[04c] 0*002002[04c] 0*001002[04c] 2... CONTENTS, ALLOC, LOAD, DATA