size-2.d   [plain text]


#source: size-2.s
#ld: -T size-2.t
#readelf: -l --wide

#...
Program Headers:
 +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+0100 0x0+0100 0x0+0030 0x0+0030 R E +0x[0-9a-f]+
 +TLS +0x[0-9a-f]+ 0x0+0108 0x0+0108 0x0+0014 0x0+002c R +0x[0-9a-f]+

 Section to Segment mapping:
 +Segment Sections\.\.\.
 +00 .*
 +01 +\.text \.tdata \.map 
 +02 +\.tdata \.tbss \.map