1 2 3 4 5 6 7 8 9 10 11 12
#source: empty-aligned.s #ld: -T empty-aligned.t #readelf: -l --wide #... Program Headers: +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg +Align +LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ [RWE ]+ +0x[0-9a-f]+ Section to Segment mapping: +Segment Sections\.\.\. +00.*\.text.*\.data.*