Add MMIX support
[external/binutils.git] / ld / testsuite / ld-mmix / local3.d
1 #source: greg-4.s
2 #source: greg-4.s
3 #source: local1.s
4 #source: ext1.s
5 #source: start.s
6 #ld: -m elf64mmix
7 #readelf:  -Ssx1 -x5
8
9 # Like local1, but ext1 is here a constant, not a global register.
10
11 There are 9 section headers, starting at offset 0x110:
12
13 Section Headers:
14   \[Nr\] Name              Type             Address           Offset
15        Size              EntSize          Flags  Link  Info  Align
16   \[ 0\]                   NULL             0+  0+
17        0+  0+           0     0     0
18   \[ 1\] \.text             PROGBITS         0+  0+b0
19        0+8  0+  AX       0     0     4
20   \[ 2\] \.data             PROGBITS         2000000000000000  0+b8
21        0+  0+  WA       0     0     1
22   \[ 3\] \.sbss             PROGBITS         2000000000000000  0+b8
23        0+  0+   W       0     0     1
24   \[ 4\] \.bss              NOBITS           2000000000000000  0+b8
25        0+  0+  WA       0     0     1
26   \[ 5\] \.MMIX\.reg_content PROGBITS         0+7e8  0+b8
27        0+10  0+   W       0     0     1
28   \[ 6\] \.shstrtab         STRTAB           0+  0+c8
29        0+45  0+           0     0     1
30   \[ 7\] \.symtab           SYMTAB           0+  0+350
31        0+198  0+18           8     b     8
32   \[ 8\] \.strtab           STRTAB           0+  0+4e8
33        0+32  0+           0     0     1
34 Key to Flags:
35   W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\)
36   I \(info\), L \(link order\), G \(group\), x \(unknown\)
37   O \(extra OS processing required\) o \(OS specific\), p \(processor specific\)
38
39 Symbol table '\.symtab' contains 17 entries:
40    Num:    Value          Size Type    Bind   Vis      Ndx Name
41      0: 0+     0 NOTYPE  LOCAL  DEFAULT  UND 
42      1: 0+     0 SECTION LOCAL  DEFAULT    1 
43      2: 2000000000000000     0 SECTION LOCAL  DEFAULT    2 
44      3: 2000000000000000     0 SECTION LOCAL  DEFAULT    3 
45      4: 2000000000000000     0 SECTION LOCAL  DEFAULT    4 
46      5: 0+7e8     0 SECTION LOCAL  DEFAULT    5 
47      6: 0+     0 SECTION LOCAL  DEFAULT    6 
48      7: 0+     0 SECTION LOCAL  DEFAULT    7 
49      8: 0+     0 SECTION LOCAL  DEFAULT    8 
50      9: 0+fd     0 NOTYPE  LOCAL  DEFAULT  PRC lsym
51     10: 0+fe     0 NOTYPE  LOCAL  DEFAULT  PRC lsym
52     11: 0+fc     0 NOTYPE  GLOBAL DEFAULT  ABS ext1
53     12: 0+4     0 NOTYPE  GLOBAL DEFAULT    1 _start
54     13: 2000000000000000     0 OBJECT  GLOBAL DEFAULT  ABS __bss_start
55     14: 2000000000000000     0 OBJECT  GLOBAL DEFAULT  ABS _edata
56     15: 2000000000000000     0 OBJECT  GLOBAL DEFAULT  ABS _end
57     16: 0+4     0 OBJECT  GLOBAL DEFAULT    1 _start\.
58
59 Hex dump of section '\.text':
60   0x0+ fd030201 e3fd0001                   .*
61
62 Hex dump of section '\.MMIX\.reg_contents':
63   0x0+7e8 00000000 0000004e 00000000 0000004e .*