Add MMIX support
[binutils-gdb.git] / ld / testsuite / ld-mmix / undef-3.d
1 #source: start.s
2 #ld: -u undefd -m elf64mmix
3 #readelf: -S -s
4
5 There are 8 section headers, starting at offset 0xe8:
6
7 Section 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+b0
13 0+4 0+ AX 0 0 4
14 \[ 2\] \.data PROGBITS 20+ 0+b4
15 0+ 0+ WA 0 0 1
16 \[ 3\] \.sbss PROGBITS 2000000000000000 0+b4
17 0+ 0+ W 0 0 1
18 \[ 4\] \.bss NOBITS 2000000000000000 0+b4
19 0+ 0+ WA 0 0 1
20 \[ 5\] \.shstrtab STRTAB 0+ 0+b4
21 0+32 0+ 0 0 1
22 \[ 6\] \.symtab SYMTAB 0+ 0+2e8
23 0+150 0+18 7 8 8
24 \[ 7\] \.strtab STRTAB 0+ 0+438
25 0+2f 0+ 0 0 1
26 Key to Flags:
27 W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\)
28 I \(info\), L \(link order\), G \(group\), x \(unknown\)
29 O \(extra OS processing required\) o \(OS specific\), p \(processor specific\)
30
31 Symbol table '\.symtab' contains 14 entries:
32 Num: Value Size Type Bind Vis Ndx Name
33 0: 0+ 0 NOTYPE LOCAL DEFAULT UND
34 1: 0+ 0 SECTION LOCAL DEFAULT 1
35 2: 2000000000000000 0 SECTION LOCAL DEFAULT 2
36 3: 2000000000000000 0 SECTION LOCAL DEFAULT 3
37 4: 2000000000000000 0 SECTION LOCAL DEFAULT 4
38 5: 0+ 0 SECTION LOCAL DEFAULT 5
39 6: 0+ 0 SECTION LOCAL DEFAULT 6
40 7: 0+ 0 SECTION LOCAL DEFAULT 7
41 8: 0+ 0 NOTYPE GLOBAL DEFAULT UND undefd
42 9: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start
43 10: 2000000000000000 0 OBJECT GLOBAL DEFAULT ABS __bss_start
44 11: 2000000000000000 0 OBJECT GLOBAL DEFAULT ABS _edata
45 12: 2000000000000000 0 OBJECT GLOBAL DEFAULT ABS _end
46 13: 0+ 0 OBJECT GLOBAL DEFAULT 1 _start\.