1#source: start.s
2#ld: -u undefd -m elf64mmix
3#readelf: -S -s
4
5There are 5 section headers, starting at offset 0xa0:
6
7Section Headers:
8  \[Nr\] Name              Type             Address           Offset
9       Size              EntSize          Flags  Link  Info  Align
10  \[ 0\]                   NULL             0+  0+
11       0+  0+           0     0     0
12  \[ 1\] \.text             PROGBITS         0+  0+78
13       0+4  0+  AX       0     0     4
14  \[ 2\] \.shstrtab         STRTAB           0+  0+7c
15       0+21  0+           0     0     1
16  \[ 3\] \.symtab           SYMTAB           0+  0+1e0
17       0+108  0+18           4     5     8
18  \[ 4\] \.strtab           STRTAB           0+  0+2e8
19       0+2f  0+           0     0     1
20Key to Flags:
21  W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\)
22  I \(info\), L \(link order\), G \(group\), x \(unknown\)
23  O \(extra OS processing required\) o \(OS specific\), p \(processor specific\)
24
25Symbol table '\.symtab' contains 11 entries:
26   Num:    Value          Size Type    Bind   Vis      Ndx Name
27     0: 0+     0 NOTYPE  LOCAL  DEFAULT  UND
28     1: 0+     0 SECTION LOCAL  DEFAULT    1
29     2: 0+     0 SECTION LOCAL  DEFAULT    2
30     3: 0+     0 SECTION LOCAL  DEFAULT    3
31     4: 0+     0 SECTION LOCAL  DEFAULT    4
32     5: 0+     0 NOTYPE  GLOBAL DEFAULT  UND undefd
33     6: 0+     0 NOTYPE  GLOBAL DEFAULT    1 _start
34     7: 2000000000000000     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start
35     8: 2000000000000000     0 NOTYPE  GLOBAL DEFAULT  ABS _edata
36     9: 2000000000000000     0 NOTYPE  GLOBAL DEFAULT  ABS _end
37    10: 0+     0 NOTYPE  GLOBAL DEFAULT    1 _start\.
38