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