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 +0+ +0+ 8 +0+ +0+ +0 +0 +0 9 +\[ 1\] \.text +PROGBITS +0+ +0+40 10 +0+8 +0+ +AX +0 +0 +4 11 +\[ 2\] \.data +PROGBITS +0+ +0+48 12 +0+24 +0+ +WA +0 +0 +4 13 +\[ 3\] \.bss +NOBITS +0+ +0+6c 14 +0+ +0+ +WA +0 +0 +1 15 +\[ 4\] \.shstrtab +STRTAB +0+ +0+6c 16 +0+2c +0+ +0 +0 +1 17 +\[ 5\] \.symtab +SYMTAB +0+ .* 18 +0+c0 +0+18 +6 +6 +8 19 +\[ 6\] \.strtab +STRTAB +0+ .* 20 +0+29 +0+ +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 +1 t 33 +5: 2000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +ABS Data_Segment 34 +6: 0+4 +0 +FUNC +GLOBAL +DEFAULT +1 Main 35 +7: 2000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __\.MMIX\.start\.\.data 36 37 Hex dump of section '\.text': 38 0x0+ fd001807 fd090101 .* 39 40 Hex dump of section '\.data': 41 0x0+ 00000100 00000000 00000000 00000000 .* 42 0x00000010 00000000 00000000 00000000 00000000 .* 43 0x00000020 00000038 .* 44