aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2007-01-12 01:57:28 +0000
committerHans-Peter Nilsson <hp@axis.com>2007-01-12 01:57:28 +0000
commitc3c6b70e63ee9d43685ba3645d73a8cf3fd07c80 (patch)
treed262f76a8f6cf03ca1eeec582a75cd08db359af2
parent2da20a1b406220e250c1fd93159a28abd9509989 (diff)
downloadgdb-c3c6b70e63ee9d43685ba3645d73a8cf3fd07c80.zip
gdb-c3c6b70e63ee9d43685ba3645d73a8cf3fd07c80.tar.gz
gdb-c3c6b70e63ee9d43685ba3645d73a8cf3fd07c80.tar.bz2
* ld-elf/header.d: Allow arbitrary lines between "Program Header"
and "Sections". Only run on *-*-linux*.
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-elf/header.d3
2 files changed, 7 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 4b70936..1525b57 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-12 Hans-Peter Nilsson <hp@axis.com>
+
+ * ld-elf/header.d: Allow arbitrary lines between "Program Header"
+ and "Sections". Only run on *-*-linux*.
+
2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
* ld-elf/header.d: New.
diff --git a/ld/testsuite/ld-elf/header.d b/ld/testsuite/ld-elf/header.d
index bc4bed3..9019597 100644
--- a/ld/testsuite/ld-elf/header.d
+++ b/ld/testsuite/ld-elf/header.d
@@ -1,3 +1,4 @@
+# target: *-*-linux*
# ld: -T header.t -z max-page-size=0x10000
# objdump: -hpw
@@ -5,7 +6,7 @@
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
-
+#...
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