1 #source: start.s 2 #ld: -u undefd -m elf64mmix 3 #readelf: -S -s 4 5 There are 5 section headers, starting at offset .*: 6 7 Section Headers: 8 +\[Nr\] Name +Type +Address +Offset 9 +Size +EntSize +Flags +Link +Info +Align 10 +\[ 0\] +NULL +0+ +0+ 11 +0+ +0+ +0 +0 +0 12 +\[ 1\] \.text +PROGBITS +0+ +0+78 13 +0+4 +0+ +AX +0 +0 +4 14 +\[ 2\] \.shstrtab +STRTAB +0+ +0+7c 15 +0+21 +0+ +0 +0 +1 16 +\[ 3\] \.symtab +SYMTAB +0+ .* 17 +0+c0 +0+18 +4 +2 +8 18 +\[ 4\] \.strtab +STRTAB +0+ .* 19 +0+2f +0+ +0 +0 +1 20 Key to Flags: 21 #... 22 23 Symbol table '\.symtab' contains 8 entries: 24 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name 25 +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND 26 +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 27 +2: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND undefd 28 +3: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +1 _start 29 +4: 2000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +1 __bss_start 30 +5: 2000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +1 _edata 31 +6: 2000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +1 _end 32 +7: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +1 _start\. 33