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 +000000000000000c +0000000000000000 +AX +0 +0 +4 11 +\[ 2\] \.data +PROGBITS +0000000000000000 +0000004c 12 +0000000000000008 +0000000000000000 +WA +0 +0 +4 13 +\[ 3\] \.bss +NOBITS +0000000000000000 +00000054 14 +0000000000000000 +0000000000000000 +WA +0 +0 +1 15 +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +00000054 16 +000000000000002c +0000000000000000 +0 +0 +1 17 +\[ 5\] \.symtab +SYMTAB +0000000000000000 .* 18 +00000000000000c0 +0000000000000018 +6 +5 +8 19 +\[ 6\] \.strtab +STRTAB +0000000000000000 .* 20 +0000000000000030 +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: 0+ +0 +NOTYPE +LOCAL +DEFAULT +2 a 33 +5: 0+4 +0 +FUNC +GLOBAL +DEFAULT +1 Main 34 +6: 0+200 +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 fd00038f fd090101 fd000065 .* 39 40 Hex dump of section '\.data': 41 0x00000000 00000010 00000040 .* 42