2007-12-20 19:36:56 +08:00
|
|
|
#target: *-*-linux* *-*-vxworks
|
2007-12-19 18:22:02 +08:00
|
|
|
#source: seg.s
|
|
|
|
#ld: -T seg.t -z max-page-size=0x1000
|
|
|
|
#readelf: -l --wide
|
|
|
|
|
|
|
|
#...
|
|
|
|
Program Headers:
|
2007-12-19 23:54:06 +08:00
|
|
|
Type Offset VirtAddr.*
|
2008-02-23 07:10:45 +08:00
|
|
|
# On MIPS, the first segment is for .reginfo.
|
|
|
|
#...
|
2007-12-19 18:22:02 +08:00
|
|
|
LOAD .*
|
2007-12-19 23:54:06 +08:00
|
|
|
LOAD 0x0*001000 0xf*fffff000 0xf*fffff000 0x0*1000 0x0*1000 .*
|
2007-12-19 18:22:02 +08:00
|
|
|
|
|
|
|
Section to Segment mapping:
|
|
|
|
Segment Sections...
|
|
|
|
00 .*
|
2008-02-23 07:10:45 +08:00
|
|
|
# On MIPS, the first segment is for .reginfo.
|
|
|
|
#...
|
|
|
|
0. reset boot
|