2010-11-08 06:43:40 +00:00
|
|
|
#target: *-*-linux* *-*-gnu* *-*-vxworks
|
2007-12-19 10:22:02 +00:00
|
|
|
#source: seg.s
|
|
|
|
#ld: -T seg.t -z max-page-size=0x1000
|
|
|
|
#readelf: -l --wide
|
|
|
|
|
|
|
|
#...
|
|
|
|
Program Headers:
|
2007-12-19 15:54:06 +00:00
|
|
|
Type Offset VirtAddr.*
|
2008-02-22 23:10:45 +00:00
|
|
|
# On MIPS, the first segment is for .reginfo.
|
|
|
|
#...
|
2007-12-19 10:22:02 +00:00
|
|
|
LOAD .*
|
2007-12-19 15:54:06 +00:00
|
|
|
LOAD 0x0*001000 0xf*fffff000 0xf*fffff000 0x0*1000 0x0*1000 .*
|
2009-09-09 12:13:42 +00:00
|
|
|
# FRV adds a PT_GNU_STACK header
|
|
|
|
#...
|
2007-12-19 10:22:02 +00:00
|
|
|
Section to Segment mapping:
|
|
|
|
Segment Sections...
|
|
|
|
00 .*
|
2008-02-22 23:10:45 +00:00
|
|
|
# On MIPS, the first segment is for .reginfo.
|
|
|
|
#...
|
|
|
|
0. reset boot
|
2009-09-09 12:13:42 +00:00
|
|
|
#pass
|