summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf
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
commitc2e4a584b63cb5a19dc47d26f32c8d7b4ae082d2 (patch)
treebf4a058a249456a84af596739c7edd1ed2ed5f12 /ld/testsuite/ld-elf
parent44f38c93d93a2387c61cd5af48a0b9a8e8c758c1 (diff)
downloadbinutils-redhat-c2e4a584b63cb5a19dc47d26f32c8d7b4ae082d2.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')
-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 bc4bed3dd6..9019597b07 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