1 #readelf: -Ssrx1 -x2 2 3 There are 7 section headers, starting at offset .*: 4 5 Section Headers: 6 +\[Nr\] +Name +Type +Address +Offset 7 +Size +EntSize +Flags +Link +Info +Align 8 +\[ 0\] +NULL +0000000000000000 +00000000 9 +0000000000000000 +0000000000000000 +0 +0 +0 10 +\[ 1\] \.text +PROGBITS +0000000000000000 +00000040 11 +0000000000000020 +0000000000000000 +AX +0 +0 +4 12 +\[ 2\] \.data +PROGBITS +0000000000000000 +00000060 13 +0000000000000004 +0000000000000000 +WA +0 +0 +4 14 +\[ 3\] \.bss +NOBITS +0000000000000000 +00000064 15 +0000000000000000 +0000000000000000 +WA +0 +0 +1 16 +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +00000064 17 +000000000000002c +0000000000000000 +0 +0 +1 18 +\[ 5\] \.symtab +SYMTAB +0000000000000000 .* 19 +00000000000000c0 +0000000000000018 +6 +6 +8 20 +\[ 6\] \.strtab +STRTAB +0000000000000000 .* 21 +000000000000002a +0000000000000000 +0 +0 +1 22 Key to Flags: 23 #... 24 25 There are no relocations in this file\. 26 27 Symbol table '\.symtab' contains 8 entries: 28 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name 29 +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND 30 +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 31 +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2 32 +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3 33 +4: 0+4 +0 +NOTYPE +LOCAL +DEFAULT +1 m2 34 +5: 2000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +ABS Data_Segment 35 +6: 0+ +0 +FUNC +GLOBAL +DEFAULT +1 Main 36 +7: 2000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __\.MMIX\.start\.\.data 37 38 Hex dump of section '\.text': 39 0x00000000 fd000000 00000000 00000000 00000000 .* 40 0x00000010 00000000 00000000 00000000 fd010203 .* 41 42 Hex dump of section '\.data': 43 0x00000000 00000004 .* 44