Commit | Line | Data |
---|---|---|
3c3bdf30 NC |
1 | #source: greg-4.s |
2 | #source: greg-4.s | |
3 | #source: local2.s | |
4 | #source: local1.s | |
5 | #source: regext1.s | |
6 | #source: start.s | |
7 | #ld: -m elf64mmix | |
f9272224 | 8 | #readelf: -Ssx1 -x2 |
3c3bdf30 NC |
9 | |
10 | # Like local1, but with two checks for a local register. | |
11 | ||
8d7146ba | 12 | There are 6 section headers, starting at offset 0xc8: |
3c3bdf30 NC |
13 | |
14 | Section Headers: | |
f9272224 AM |
15 | +\[Nr\] Name +Type +Address +Offset |
16 | +Size +EntSize +Flags +Link +Info +Align | |
17 | +\[ 0\] +NULL +0+ +0+ | |
18 | +0+ +0+ +0 +0 +0 | |
19 | +\[ 1\] \.text +PROGBITS +0+ +0+78 | |
20 | +0+c +0+ +AX +0 +0 +4 | |
21 | +\[ 2\] \.MMIX\.reg_content PROGBITS +0+7e8 +0+84 | |
22 | +0+10 +0+ +W +0 +0 +1 | |
23 | +\[ 3\] \.shstrtab +STRTAB +0+ +0+94 | |
24 | +0+34 +0+ +0 +0 +1 | |
25 | +\[ 4\] \.symtab +SYMTAB +0+ +0+248 | |
26 | +0+108 +0+18 +5 +5 +8 | |
27 | +\[ 5\] \.strtab +STRTAB +0+ +0+350 | |
28 | +0+32 +0+ +0 +0 +1 | |
3c3bdf30 | 29 | Key to Flags: |
f9272224 AM |
30 | +W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) |
31 | +I \(info\), L \(link order\), G \(group\), x \(unknown\) | |
32 | +O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) | |
3c3bdf30 | 33 | |
f0b5bb34 | 34 | Symbol table '\.symtab' contains 11 entries: |
f9272224 AM |
35 | +Num: +Value +Size +Type +Bind +Vis +Ndx +Name |
36 | +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND | |
37 | +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 | |
38 | +2: 0+7e8 +0 +SECTION +LOCAL +DEFAULT +2 | |
39 | +3: 0+fd +0 +NOTYPE +LOCAL +DEFAULT +PRC\[0xff00\] lsym | |
40 | +4: 0+fe +0 +NOTYPE +LOCAL +DEFAULT +PRC\[0xff00\] lsym | |
41 | +5: 0+fc +0 +NOTYPE +GLOBAL +DEFAULT +PRC\[0xff00\] ext1 | |
42 | +6: 0+8 +0 +NOTYPE +GLOBAL +DEFAULT +1 _start | |
f8548834 | 43 | #... |
3c3bdf30 NC |
44 | |
45 | Hex dump of section '\.text': | |
46 | 0x0+ fd020202 fd030201 e3fd0001 .* | |
47 | ||
48 | Hex dump of section '\.MMIX\.reg_contents': | |
49 | 0x0+7e8 00000000 0000004e 00000000 0000004e .* |