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
6 section headers
, starting at offset
0xc8:
16 +\
[Nr\
] Name
+Type
+Address
+Offset
17 +Size
+EntSize
+Flags
+Link
+Info
+Align
20 +\
[ 1\
] \
.text
+PROGBITS
+0+ +0+78
22 +\
[ 2\
] \
.MMIX\
.reg_content PROGBITS
+0+7e8
+0+80
24 +\
[ 3\
] \
.shstrtab
+STRTAB
+0+ +0+90
26 +\
[ 4\
] \
.symtab
+SYMTAB
+0+ +0+248
28 +\
[ 5\
] \
.strtab
+STRTAB
+0+ +0+350
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+7e8
+0 +SECTION
+LOCAL
+DEFAULT
+2
38 +3: 0+fd
+0 +NOTYPE
+LOCAL
+DEFAULT
+PRC\
[0xff00\
] lsym
39 +4: 0+fe
+0 +NOTYPE
+LOCAL
+DEFAULT
+PRC\
[0xff00\
] lsym
40 +5: 0+fc
+0 +NOTYPE
+GLOBAL
+DEFAULT
+PRC\
[0xff00\
] ext1
41 +6: 0+4 +0 +NOTYPE
+GLOBAL
+DEFAULT
+1 _start
44 Hex dump of section
'\.text':
45 0x0+ fd030201 e3fd0001
.*
47 Hex dump of section
'\.MMIX\.reg_contents':
48 0x0+7e8
00000000 0000004e
00000000 0000004e
.*