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