Add MMIX support
[external/binutils.git] / gas / testsuite / gas / mmix / comment-1.d
1 #as: -no-expand
2 #readelf: -Ssrx1 -x6
3
4 There are 10 section headers, starting at offset 0x130:
5
6 Section Headers:
7   \[Nr\] Name              Type             Address           Offset
8        Size              EntSize          Flags  Link  Info  Align
9   \[ 0\]                   NULL             0+  0+
10        0+  0+           0     0     0
11   \[ 1\] \.text             PROGBITS         0+  0+40
12        0+88  0+  AX       0     0     8
13   \[ 2\] \.rela\.text        RELA             0+  0+4f8
14        0+78  0+18           8     1     8
15   \[ 3\] \.data             PROGBITS         0+  0+c8
16        0+  0+  WA       0     0     1
17   \[ 4\] \.bss              NOBITS           0+  0+c8
18        0+  0+  WA       0     0     1
19   \[ 5\] \.MMIX\.spec_data\.4 PROGBITS         0+  0+c8
20        0+  0+           0     0     1
21   \[ 6\] \.MMIX\.reg_content PROGBITS         0+  0+c8
22        0+8  0+   W       0     0     1
23   \[ 7\] \.shstrtab         STRTAB           0+  0+d0
24        0+5d  0+           0     0     1
25   \[ 8\] \.symtab           SYMTAB           0+  0+3b0
26        0+120  0+18           9     8     8
27   \[ 9\] \.strtab           STRTAB           0+  0+4d0
28        0+21  0+           0     0     1
29 Key to Flags:
30   W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\)
31   I \(info\), L \(link order\), G \(group\), x \(unknown\)
32   O \(extra OS processing required\) o \(OS specific\), p \(processor specific\)
33
34 Relocation section '\.rela\.text' at offset 0x4f8 contains 5 entries:
35 [       ]+Offset[       ]+Info[         ]+Type[         ]+Symbol's Value[       ]+Symbol's Name[        ]+Addend
36 0+34  0+90000001e R_MMIX_ADDR19         0+  target                    \+ 2c
37 0+46  0+a00000002 R_MMIX_16             0+  target2                   \+ 30
38 0+48  0+b0000001f R_MMIX_ADDR27         0+  target3                   \+ 38
39 0+54  0+b0000001e R_MMIX_ADDR19         0+  target3                   \+ 0
40 0+78  0+23 R_MMIX_LOCAL                                   0+30
41
42 Symbol table '\.symtab' contains 12 entries:
43    Num:    Value          Size Type    Bind   Vis      Ndx Name
44      0: 0+     0 NOTYPE  LOCAL  DEFAULT  UND 
45      1: 0+     0 SECTION LOCAL  DEFAULT    1 
46      2: 0+     0 SECTION LOCAL  DEFAULT    3 
47      3: 0+     0 SECTION LOCAL  DEFAULT    4 
48      4: 0+18     0 NOTYPE  LOCAL  DEFAULT  ABS z
49      5: 0+80     0 NOTYPE  LOCAL  DEFAULT    1 x
50      6: 0+     0 SECTION LOCAL  DEFAULT    5 
51      7: 0+     0 SECTION LOCAL  DEFAULT    6 
52      8: 0+     0 FUNC    GLOBAL DEFAULT    1 Main
53      9: 0+     0 NOTYPE  GLOBAL DEFAULT  UND target
54     10: 0+     0 NOTYPE  GLOBAL DEFAULT  UND target2
55     11: 0+     0 NOTYPE  GLOBAL DEFAULT  UND target3
56
57 Hex dump of section '\.text':
58   0x0+ 0000007b 00010017 00010203 01030201 .*
59   0x0+10 09050006 09070208 0509000a 050b030c .*
60   0x0+20 230f1011 23121300 23141516 34170018 .*
61   0x0+30 34191a1b 401c0000 b91d1e1f bf202122 .*
62   0x0+40 c1232400 e0250000 f0000000 f8260027 .*
63   0x0+50 f9000028 f2290000 fa2a0000 fb00002b .*
64   0x0+60 f604002c fe2d0004 00000000 03020104 .*
65   0x0+70 0007000c 00000014 00000000 0000001c .*
66   0x0+80 fd221538 00000000                   .*
67
68 Hex dump of section '\.MMIX\.reg_contents':
69   0x0+ 00000000 00000033                   .*