9 # We check that the externally visible symbol ext1
is a local register
10 #
(different meaning of
"local" than
for symbol
), which can be seen as
13 There are
9 section headers
, starting at offset
0x110:
16 \
[Nr\
] Name Type Address Offset
17 Size EntSize Flags Link Info Align
20 \
[ 1\
] \
.text PROGBITS
0+ 0+b0
22 \
[ 2\
] \
.data PROGBITS
2000000000000000 0+b8
24 \
[ 3\
] \
.sbss PROGBITS
2000000000000000 0+b8
26 \
[ 4\
] \
.bss NOBITS
2000000000000000 0+b8
28 \
[ 5\
] \
.MMIX\
.reg_content PROGBITS
0+7e8
0+b8
30 \
[ 6\
] \
.shstrtab STRTAB
0+ 0+c8
32 \
[ 7\
] \
.symtab SYMTAB
0+ 0+350
34 \
[ 8\
] \
.strtab STRTAB
0+ 0+4e8
37 W \
(write\
), A \
(alloc\
), X \
(execute\
), M \
(merge\
), S \
(strings\
)
38 I \
(info\
), L \
(link order\
), G \
(group\
), x \
(unknown\
)
39 O \
(extra OS processing required\
) o \
(OS specific\
), p \
(processor specific\
)
41 Symbol table
'\.symtab' contains
17 entries
:
42 Num
: Value Size Type Bind Vis Ndx Name
43 0: 0+ 0 NOTYPE LOCAL DEFAULT UND
44 1: 0+ 0 SECTION LOCAL DEFAULT
1
45 2: 20+ 0 SECTION LOCAL DEFAULT
2
46 3: 2000000000000000 0 SECTION LOCAL DEFAULT
3
47 4: 2000000000000000 0 SECTION LOCAL DEFAULT
4
48 5: 0+7e8
0 SECTION LOCAL DEFAULT
5
49 6: 0+ 0 SECTION LOCAL DEFAULT
6
50 7: 0+ 0 SECTION LOCAL DEFAULT
7
51 8: 0+ 0 SECTION LOCAL DEFAULT
8
52 9: 0+fd
0 NOTYPE LOCAL DEFAULT PRC\
[0xff00\
] lsym
53 10: 0+fe
0 NOTYPE LOCAL DEFAULT PRC\
[0xff00\
] lsym
54 11: 0+fc
0 NOTYPE GLOBAL DEFAULT PRC\
[0xff00\
] ext1
55 12: 0+4 0 NOTYPE GLOBAL DEFAULT
1 _start
58 Hex dump of section
'\.text':
59 0x0+ fd030201 e3fd0001
.*
61 Hex dump of section
'\.MMIX\.reg_contents':
62 0x0+7e8
00000000 0000004e
00000000 0000004e
.*