* ld-elf/header.d: Allow arbitrary lines between "Program Header"

and "Sections".  Only run on *-*-linux*.
This commit is contained in:
Hans-Peter Nilsson 2007-01-12 01:57:28 +00:00
parent 2da20a1b40
commit c3c6b70e63
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -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