1 #source: bspec1.s 2 #source: bspec2.s 3 #source: bspec1.s 4 #source: start.s 5 #source: ext1.s 6 #ld: -m elf64mmix 7 #readelf: -Ssr -x1 -x2 -x3 8 9 There are 7 section headers, starting at offset .*: 10 11 Section Headers: 12 +\[Nr\] Name +Type +Address +Offset 13 +Size +EntSize +Flags +Link +Info +Align 14 +\[ 0\] +NULL +0+ +0+ 15 +0+ +0+ +0 +0 +0 16 +\[ 1\] \.text +PROGBITS +0+ +0+78 17 +0+4 +0+ +AX +0 +0 +4 18 +\[ 2\] \.MMIX\.spec_data\.2 PROGBITS +0+ +0+7c 19 +0+8 +0+ +0 +0 +4 20 +\[ 3\] \.MMIX\.spec_data\.3 PROGBITS +0+ +0+84 21 +0+4 +0+ +0 +0 +4 22 +\[ 4\] \.shstrtab +STRTAB +0+ +0+88 23 +0+45 +0+ +0 +0 +1 24 +\[ 5\] \.symtab +SYMTAB +0+ .* 25 +0+108 +0+18 +6 +4 +8 26 +\[ 6\] \.strtab +STRTAB +0+ .* 27 +0+32 +0+ +0 +0 +1 28 Key to Flags: 29 #... 30 31 There are no relocations in this file\. 32 33 Symbol table '\.symtab' contains 11 entries: 34 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name 35 +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND 36 +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 37 +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2 38 +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3 39 +4: 0+ +0 +FUNC +GLOBAL +DEFAULT +1 Main 40 +5: 0+fc +0 +NOTYPE +GLOBAL +DEFAULT +ABS ext1 41 +6: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +1 _start 42 #... 43 44 Hex dump of section '\.text': 45 0x0+ e3fd0001 .* 46 47 Hex dump of section '\.MMIX\.spec_data\.2': 48 0x0+ 0000002a 0000002a .* 49 50 Hex dump of section '\.MMIX\.spec_data\.3': 51 0x0+ 000000fc .* 52