Commit | Line | Data |
---|---|---|
bb2d6cd7 GK |
1 | #objdump: -rst -mmips:4000 |
2 | #name: MIPS empic | |
21b99e26 | 3 | #as: -mabi=o64 -membedded-pic -mips3 |
ff970196 | 4 | #stderr: empic.l |
bb2d6cd7 GK |
5 | |
6 | # Check GNU-specific embedded relocs, for ELF. | |
7 | ||
8 | .*: +file format elf.*mips.* | |
9 | ||
10 | SYMBOL TABLE: | |
11 | 0+0000000 l d \.text 0+0000000 | |
12 | 0+0000000 l d \.data 0+0000000 | |
13 | 0+0000000 l d \.bss 0+0000000 | |
14 | 0+0000000 l d \.foo 0+0000000 | |
15 | 0+0000000 l d \.reginfo 0+0000000 | |
823e3a73 | 16 | 0+0000000 l d \.(mdebug|pdr) 0+0000000 |
bb2d6cd7 GK |
17 | 0+0000004 l \.text 0+0000000 l2 |
18 | 0+0000000 \*UND\* 0+0000000 g1 | |
19 | 0+0000000 \*UND\* 0+0000000 g2 | |
20 | 0+0000100 l \.foo 0+0000000 l1 | |
21 | 0+0000034 l \.text 0+0000000 l3 | |
22 | 0+0000098 l \.text 0+0000000 l5 | |
23 | 0+0000004 l \.foo 0+0000000 l4 | |
24 | ||
25 | ||
26 | RELOCATION RECORDS FOR \[\.text\]: | |
db1c0ae7 | 27 | OFFSET [ ]+ TYPE VALUE |
bb2d6cd7 GK |
28 | 0+0000004 R_MIPS_GNU_REL16_S2 g1 |
29 | 0+000000c R_MIPS_GNU_REL16_S2 g2 | |
30 | 0+0000014 R_MIPS_GNU_REL16_S2 g2 | |
31 | 0+000001c R_MIPS_GNU_REL16_S2 \.foo | |
32 | 0+0000024 R_MIPS_GNU_REL16_S2 \.text | |
33 | 0+000002c R_MIPS_GNU_REL16_S2 \.foo | |
34 | 0+0000034 R_MIPS_GNU_REL16_S2 \.text | |
35 | 0+000003c R_MIPS_GNU_REL_HI16 g1 | |
36 | 0+0000040 R_MIPS_GNU_REL_LO16 g1 | |
37 | 0+0000044 R_MIPS_GNU_REL_HI16 \.foo | |
38 | 0+0000048 R_MIPS_GNU_REL_LO16 \.foo | |
39 | 0+0000050 R_MIPS_32 g1 | |
40 | 0+0000054 R_MIPS_32 \.foo | |
41 | 0+0000058 R_MIPS_32 \.text | |
42 | 0+000005c R_MIPS_PC32 g1 | |
43 | 0+0000060 R_MIPS_PC32 \.foo | |
44 | 0+0000068 R_MIPS_64 g1 | |
45 | 0+0000070 R_MIPS_64 \.foo | |
46 | 0+0000078 R_MIPS_64 \.text | |
47 | 0+0000080 R_MIPS_PC64 g1 | |
48 | 0+0000088 R_MIPS_PC64 \.foo | |
49 | 0+0000098 R_MIPS_GNU_REL16_S2 \.text | |
50 | 0+000009c R_MIPS_GNU_REL16_S2 \.text | |
51 | 0+00000a0 R_MIPS_GNU_REL_HI16 \.text | |
52 | 0+00000a4 R_MIPS_GNU_REL_LO16 \.text | |
53 | 0+00000a8 R_MIPS_GNU_REL_HI16 \.text | |
54 | 0+00000ac R_MIPS_GNU_REL_LO16 \.text | |
55 | 0+00000b0 R_MIPS_32 \.text | |
56 | 0+00000b8 R_MIPS_64 \.text | |
57 | 0+00000cc R_MIPS_GNU_REL16_S2 \.text | |
58 | 0+00000d0 R_MIPS_GNU_REL16_S2 \.text | |
afdbd6d0 CD |
59 | 0+00000d4 R_MIPS_GNU_REL_HI16 \.text |
60 | 0+00000d8 R_MIPS_GNU_REL_LO16 \.text | |
61 | 0+00000dc R_MIPS_GNU_REL_HI16 \.text | |
62 | 0+00000e0 R_MIPS_GNU_REL_LO16 \.text | |
63 | 0+00000e4 R_MIPS_32 \.text | |
64 | 0+00000f0 R_MIPS_64 \.text | |
bb2d6cd7 GK |
65 | |
66 | ||
67 | RELOCATION RECORDS FOR \[\.foo\]: | |
db1c0ae7 | 68 | OFFSET [ ]+ TYPE VALUE |
bb2d6cd7 GK |
69 | 0+0000004 R_MIPS_GNU_REL_HI16 g1 |
70 | 0+0000008 R_MIPS_GNU_REL_LO16 g1 | |
71 | 0+000000c R_MIPS_GNU_REL_HI16 \.foo | |
72 | 0+0000010 R_MIPS_GNU_REL_LO16 \.foo | |
73 | 0+0000014 R_MIPS_GNU_REL_HI16 \.text | |
74 | 0+0000018 R_MIPS_GNU_REL_LO16 \.text | |
75 | 0+000001c R_MIPS_GNU_REL_HI16 g1 | |
76 | 0+0000020 R_MIPS_GNU_REL_LO16 g1 | |
77 | 0+0000024 R_MIPS_GNU_REL_HI16 g1 | |
78 | 0+0000028 R_MIPS_GNU_REL_LO16 g1 | |
79 | 0+000002c R_MIPS_GNU_REL_HI16 \.foo | |
80 | 0+0000030 R_MIPS_GNU_REL_LO16 \.foo | |
81 | 0+0000034 R_MIPS_GNU_REL_HI16 \.text | |
82 | 0+0000038 R_MIPS_GNU_REL_LO16 \.text | |
83 | 0+000003c R_MIPS_32 g1 | |
84 | 0+0000040 R_MIPS_32 \.foo | |
85 | 0+0000044 R_MIPS_32 \.text | |
86 | 0+0000048 R_MIPS_PC32 g1 | |
87 | 0+0000050 R_MIPS_PC32 \.text | |
88 | 0+0000058 R_MIPS_64 g1 | |
89 | 0+0000060 R_MIPS_64 \.foo | |
90 | 0+0000068 R_MIPS_64 \.text | |
91 | 0+0000070 R_MIPS_PC64 g1 | |
92 | 0+0000080 R_MIPS_PC64 \.text | |
93 | 0+0000088 R_MIPS_GNU_REL_HI16 g1 | |
94 | 0+000008c R_MIPS_GNU_REL_LO16 g1 | |
95 | 0+0000090 R_MIPS_GNU_REL_HI16 \.foo | |
96 | 0+0000094 R_MIPS_GNU_REL_LO16 \.foo | |
97 | 0+0000098 R_MIPS_GNU_REL_HI16 \.text | |
98 | 0+000009c R_MIPS_GNU_REL_LO16 \.text | |
99 | 0+00000a0 R_MIPS_GNU_REL_HI16 g1 | |
100 | 0+00000a4 R_MIPS_GNU_REL_LO16 g1 | |
101 | 0+00000a8 R_MIPS_GNU_REL_HI16 \.foo | |
102 | 0+00000ac R_MIPS_GNU_REL_LO16 \.foo | |
103 | 0+00000b0 R_MIPS_GNU_REL_HI16 \.text | |
104 | 0+00000b4 R_MIPS_GNU_REL_LO16 \.text | |
105 | 0+00000b8 R_MIPS_32 g1 | |
106 | 0+00000bc R_MIPS_32 \.foo | |
107 | 0+00000c0 R_MIPS_32 \.text | |
108 | 0+00000c4 R_MIPS_PC32 g1 | |
109 | 0+00000cc R_MIPS_PC32 \.text | |
110 | 0+00000d0 R_MIPS_64 g1 | |
111 | 0+00000d8 R_MIPS_64 \.foo | |
112 | 0+00000e0 R_MIPS_64 \.text | |
113 | 0+00000e8 R_MIPS_PC64 g1 | |
114 | 0+00000f8 R_MIPS_PC64 \.text | |
115 | ||
116 | Contents of section \.text: | |
117 | 0000 00000000 0411ffff 00000000 1000ffff .* | |
118 | 0010 00000000 1000ffff 00000000 0411003f .* | |
119 | 0020 00000000 04110000 00000000 10000041 .* | |
120 | 0030 00000000 10000000 00000000 3c030000 .* | |
0c11417f | 121 | 0040 [26]463000c 3c030000 [26]4630114 [26]403ffd0 .* |
bb2d6cd7 GK |
122 | 0050 00000000 00000100 00000004 00000028 .* |
123 | 0060 0000012c ffffffd0 00000000 00000000 .* | |
124 | 0070 00000000 00000100 00000000 00000004 .* | |
125 | 0080 00000000 0000004c 00000000 00000154 .* | |
126 | 0090 ffffffff ffffffd0 10000032 10000033 .* | |
127 | 00a0 3c030000 [26]46300d8 3c030000 [26]46300e8 .* | |
128 | 00b0 000000cc 00000034 00000000 000000cc .* | |
129 | 00c0 00000000 00000034 00000000 10000032 .* | |
afdbd6d0 CD |
130 | 00d0 10000033 3c030000 [26]463010c 3c030000 .* |
131 | 00e0 [26]463011c 000000cc 00000034 00000000 .* | |
132 | 00f0 00000000 000000cc 00000000 00000034 .* | |
bb2d6cd7 GK |
133 | Contents of section \.data: |
134 | Contents of section \.reginfo: | |
135 | 0000 80000008 00000000 00000000 00000000 .* | |
136 | 0010 00000000 00000000 .* | |
823e3a73 | 137 | Contents of section \.(mdebug|pdr): |
bb2d6cd7 GK |
138 | #... |
139 | Contents of section \.foo: | |
140 | 0000 00000000 3c030000 [26]4630004 3c030000 .* | |
141 | 0010 [26]463010c 3c030000 [26]4630018 3c030000 .* | |
142 | 0020 [26]463001c 3c030000 [26]4630024 3c030000 .* | |
143 | 0030 [26]463012c 3c030000 [26]4630038 00000000 .* | |
144 | 0040 00000100 00000004 00000044 000000fc .* | |
145 | 0050 00000050 00000000 00000000 00000000 .* | |
146 | 0060 00000000 00000100 00000000 00000004 .* | |
147 | 0070 00000000 0000006c 00000000 000000fc .* | |
148 | 0080 00000000 00000080 3c030000 [26]463008c .* | |
149 | 0090 3c030000 [26]4630194 3c030000 [26]46300a0 .* | |
150 | 00a0 3c030000 [26]46300a4 3c030000 [26]46301ac .* | |
151 | 00b0 3c030000 [26]46300b8 00000004 00000104 .* | |
152 | 00c0 00000008 000000c4 00000100 000000d0 .* | |
153 | 00d0 00000000 00000004 00000000 00000104 .* | |
154 | 00e0 00000000 00000008 00000000 000000e8 .* | |
155 | 00f0 00000000 00000100 00000000 000000fc .* | |
b6426432 NC |
156 | 0100 00000000 00000000 00000000 00000000 .* |
157 |