* ld-scripts/size-1.d: Add bigendian regexps.
* ld-scripts/size-2.d: Set --wide for readelf.
This commit is contained in:
parent
1198ecbe71
commit
68715859c7
3 changed files with 15 additions and 11 deletions
|
@ -1,5 +1,8 @@
|
|||
2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* ld-scripts/size-1.d: Add bigendian regexps.
|
||||
* ld-scripts/size-2.d: Set --wide for readelf.
|
||||
|
||||
* ld-scripts/size.exp: New.
|
||||
* ld-scripts/size-[12].{d,s,t}: New.
|
||||
|
||||
|
|
|
@ -4,13 +4,18 @@
|
|||
|
||||
.*: file format .*
|
||||
|
||||
#...
|
||||
Contents of section \.text:
|
||||
0+00 (01)?000000(01)? (02)?000000(02)? ........
|
||||
#...
|
||||
Contents of section \.data:
|
||||
0+08 (03)?000000(03)? (04)?000000(04)? (05)?000000(05)? ............
|
||||
#...
|
||||
Contents of section \.tdata:
|
||||
0+24 (06)?000000 07000000 08000000 09000000 ................
|
||||
0+34 (0a)?000000 ....
|
||||
0+24 (06)?000000(06)? (07)?000000(07)? (08)?000000(08)? (09)?000000(09)? ................
|
||||
0+34 (0a)?000000(0a)? ....
|
||||
#...
|
||||
Contents of section \.map:
|
||||
0+38 (08)?000000(08)? (0c)?000000(0c)? (10)?000000(10)? (14)?000000(14)? ................
|
||||
0+48 (18)?000000(18)? ....
|
||||
#...
|
||||
|
|
|
@ -1,17 +1,13 @@
|
|||
#source: size-2.s
|
||||
#ld: -T size-2.t
|
||||
#readelf: -l
|
||||
#readelf: -l --wide
|
||||
|
||||
#...
|
||||
Program Headers:
|
||||
Type Offset VirtAddr PhysAddr
|
||||
FileSiz MemSiz Flags Align
|
||||
PHDR 0x[0-9a-f]+ 0x0+0000 0x0+0000
|
||||
0x[0-9a-f]+ 0x[0-9a-f]+ R .
|
||||
LOAD 0x[0-9a-f]+ 0x0+0000 0x0+0000
|
||||
0x0+0030 0x0+0030 R [0-9a-f]+
|
||||
TLS 0x[0-9a-f]+ 0x0+0008 0x0+0008
|
||||
0x0+0014 0x0+002c R [0-9a-f]+
|
||||
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
|
||||
PHDR 0x[0-9a-f]+ 0x0+0000 0x0+0000 0x[0-9a-f]+ 0x[0-9a-f]+ R 0x[0-9a-f]+
|
||||
LOAD 0x[0-9a-f]+ 0x0+0000 0x0+0000 0x0+0030 0x0+0030 R 0x[0-9a-f]+
|
||||
TLS 0x[0-9a-f]+ 0x0+0008 0x0+0008 0x0+0014 0x0+002c R 0x[0-9a-f]+
|
||||
|
||||
Section to Segment mapping:
|
||||
Segment Sections...
|
||||
|
|
Loading…
Reference in a new issue