Commit | Line | Data |
---|---|---|
3c3bdf30 NC |
1 | #source: greg-4.s |
2 | #source: greg-4.s | |
3 | #source: local1.s | |
4 | #source: ext1.s | |
5 | #source: start.s | |
6 | #ld: -m elf64mmix | |
f9272224 | 7 | #readelf: -Ssx1 -x2 |
3c3bdf30 NC |
8 | |
9 | # Like local1, but ext1 is here a constant, not a global register. | |
10 | ||
8d7146ba | 11 | There are 6 section headers, starting at offset 0xc8: |
3c3bdf30 NC |
12 | |
13 | Section Headers: | |
f9272224 AM |
14 | +\[Nr\] Name +Type +Address +Offset |
15 | +Size +EntSize +Flags +Link +Info +Align | |
16 | +\[ 0\] +NULL +0+ +0+ | |
17 | +0+ +0+ +0 +0 +0 | |
18 | +\[ 1\] \.text +PROGBITS +0+ +0+78 | |
19 | +0+8 +0+ +AX +0 +0 +4 | |
20 | +\[ 2\] \.MMIX\.reg_content PROGBITS +0+7e8 +0+80 | |
21 | +0+10 +0+ +W +0 +0 +1 | |
22 | +\[ 3\] \.shstrtab +STRTAB +0+ +0+90 | |
23 | +0+34 +0+ +0 +0 +1 | |
ffbc01cc AM |
24 | +\[ 4\] \.symtab +SYMTAB +0+ +[0-9a-f]+ |
25 | +[0-9a-f]+ +0+18 +5 +[0-9] +8 | |
26 | +\[ 5\] \.strtab +STRTAB +0+ +[0-9a-f]+ | |
27 | +[0-9a-f]+ +0+ +0 +0 +1 | |
3c3bdf30 | 28 | Key to Flags: |
3437afb1 | 29 | #... |
3c3bdf30 | 30 | |
ffbc01cc | 31 | Symbol table '\.symtab' contains [0-9]+ entries: |
f9272224 | 32 | +Num: +Value +Size +Type +Bind +Vis +Ndx +Name |
ffbc01cc AM |
33 | .* 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND |
34 | .* 0+ +0 +SECTION +LOCAL +DEFAULT +1 | |
35 | .* 0+7e8 +0 +SECTION +LOCAL +DEFAULT +2 | |
36 | .* 0+ +0 +FILE +LOCAL +DEFAULT +ABS .* | |
37 | .* 0+fd +0 +NOTYPE +LOCAL +DEFAULT +PRC\[0xff00\] lsym | |
38 | .* 0+ +0 +FILE +LOCAL +DEFAULT +ABS .* | |
39 | .* 0+fe +0 +NOTYPE +LOCAL +DEFAULT +PRC\[0xff00\] lsym | |
40 | .* 0+ +0 +FILE +LOCAL +DEFAULT +ABS .* | |
41 | .* 0+fc +0 +NOTYPE +GLOBAL +DEFAULT +ABS ext1 | |
42 | .* 0+4 +0 +NOTYPE +GLOBAL +DEFAULT +1 _start | |
f8548834 | 43 | #... |
3c3bdf30 NC |
44 | |
45 | Hex dump of section '\.text': | |
46 | 0x0+ fd030201 e3fd0001 .* | |
47 | ||
48 | Hex dump of section '\.MMIX\.reg_contents': | |
49 | 0x0+7e8 00000000 0000004e 00000000 0000004e .* |