summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/header.d
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 /ld/testsuite/ld-elf/header.d
parent2da20a1b406220e250c1fd93159a28abd9509989 (diff)
downloadbinutils-gdb-c3c6b70e63ee9d43685ba3645d73a8cf3fd07c80.tar.gz
* ld-elf/header.d: Allow arbitrary lines between "Program Header"
and "Sections". Only run on *-*-linux*.
Diffstat (limited to 'ld/testsuite/ld-elf/header.d')
-rw-r--r--ld/testsuite/ld-elf/header.d3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elf/header.d b/ld/testsuite/ld-elf/header.d
index bc4bed3dd61..9019597b072 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