mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-12 01:24:12 +08:00
* ld-elf/header.d: Reduce page size, restrict to linux & vxworks
* ld-elf/header.s: Adjust. * ld-elf/header.t: Reduce initial offset.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2007-01-23 Nathan Sidwell <nathan@codesourcery.com>
|
||||||
|
|
||||||
|
* ld-elf/header.d: Reduce page size, restrict to linux & vxworks
|
||||||
|
* ld-elf/header.s: Adjust.
|
||||||
|
* ld-elf/header.t: Reduce initial offset.
|
||||||
|
|
||||||
2007-01-23 Andreas Schwab <schwab@suse.de>
|
2007-01-23 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
* lib/ld-lib.exp (run_dump_test): Don't prematurely remove
|
* lib/ld-lib.exp (run_dump_test): Don't prematurely remove
|
||||||
|
@ -1,13 +1,5 @@
|
|||||||
# target: *-*-linux*
|
# target: *-*-linux* *-*-vxworks
|
||||||
# ld: -T header.t -z max-page-size=0x10000
|
# ld: -T header.t -z max-page-size=0x100
|
||||||
# objdump: -hpw
|
# objdump: -hpw
|
||||||
|
|
||||||
#...
|
#...
|
||||||
Program Header:
|
|
||||||
LOAD off 0x0*0000000 vaddr 0x0*0010000 paddr 0x0*0010000 align 2..16
|
|
||||||
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*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
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
.text
|
.text
|
||||||
.globl main
|
.globl main
|
||||||
main:
|
main:
|
||||||
.rept 0x4000 - 0x15
|
.rept 0x40 - 0x15
|
||||||
.long 0xfedcba98
|
.long 0xfedcba98
|
||||||
.endr
|
.endr
|
||||||
.data
|
.data
|
||||||
|
@ -2,7 +2,7 @@ ENTRY(main)
|
|||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
. = 0x10000 + SIZEOF_HEADERS;
|
. = 0x100 + SIZEOF_HEADERS;
|
||||||
.text : { *(.text) }
|
.text : { *(.text) }
|
||||||
.data : { *(.data) }
|
.data : { *(.data) }
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user