1 #name: MIPS eh-frame 1, n32
2 #source: eh-frame1.s
3 #source: eh-frame1.s
4 #as: -march=from-abi -EB -n32 --defsym alignment=2 --defsym fill=0x40
5 #readelf: --relocs -wf
6 #ld: -shared -melf32btsmipn32 -Teh-frame1.ld
7 #warning: FDE encoding in.*prevents \.eh_frame_hdr table being created.
8 
9 Relocation section '\.rel\.dyn' .*:
10  *Offset .*
11 00000000  [0-9a-f]+ R_MIPS_NONE *
12 # Initial PCs for the FDEs attached to CIE 0xbc
13 000300dc  [0-9a-f]+ R_MIPS_REL32 *
14 000300f0  [0-9a-f]+ R_MIPS_REL32 *
15 000301f8  [0-9a-f]+ R_MIPS_REL32 *
16 0003020c  [0-9a-f]+ R_MIPS_REL32 *
17 0003008b  [0-9a-f]+ R_MIPS_REL32      00000000   foo
18 000300d0  [0-9a-f]+ R_MIPS_REL32      00000000   foo
19 0003010e  [0-9a-f]+ R_MIPS_REL32      00000000   foo
20 Contents of the \.eh_frame section:
21 
22 00000000 00000010 00000000 CIE
23   Version:               1
24   Augmentation:          "zR"
25   Code alignment factor: 1
26   Data alignment factor: 4
27   Return address column: 31
28   Augmentation data:     1b
29 
30   DW_CFA_advance_loc: 0 to 00000000
31   DW_CFA_advance_loc: 0 to 00000000
32   DW_CFA_advance_loc: 0 to 00000000
33 
34 00000014 00000010 00000018 FDE cie=00000000 pc=00020000..00020010
35   DW_CFA_nop
36   DW_CFA_nop
37   DW_CFA_nop
38 
39 00000028 00000010 0000002c FDE cie=00000000 pc=00020010..00020030
40   DW_CFA_nop
41   DW_CFA_nop
42   DW_CFA_nop
43 
44 # basic2 removed
45 0000003c 00000010 00000040 FDE cie=00000000 pc=00020030..00020060
46   DW_CFA_nop
47   DW_CFA_nop
48   DW_CFA_nop
49 
50 # basic3 removed
51 00000050 00000010 00000054 FDE cie=00000000 pc=00020060..000200a0
52   DW_CFA_nop
53   DW_CFA_nop
54   DW_CFA_nop
55 
56 # basic4 removed
57 00000064 00000010 00000068 FDE cie=00000000 pc=000200a0..000200f0
58   DW_CFA_nop
59   DW_CFA_nop
60   DW_CFA_nop
61 
62 00000078 00000018 00000000 CIE
63   Version:               1
64   Augmentation:          "zRP"
65   Code alignment factor: 1
66   Data alignment factor: 4
67   Return address column: 31
68   Augmentation data:     1b 00 00 00 00 00
69 
70   DW_CFA_advance_loc: 0 to 00000000
71   DW_CFA_advance_loc: 0 to 00000000
72   DW_CFA_advance_loc: 0 to 00000000
73   DW_CFA_nop
74   DW_CFA_nop
75 
76 00000094 00000010 00000020 FDE cie=00000078 pc=000200f0..00020100
77   DW_CFA_advance_loc: 0 to 000200f0
78   DW_CFA_advance_loc: 0 to 000200f0
79   DW_CFA_advance_loc: 0 to 000200f0
80 
81 000000a8 00000010 00000034 FDE cie=00000078 pc=00020100..00020120
82   DW_CFA_advance_loc: 0 to 00020100
83   DW_CFA_advance_loc: 0 to 00020100
84   DW_CFA_advance_loc: 0 to 00020100
85 
86 000000bc 00000014 00000000 CIE
87   Version:               1
88   Augmentation:          "zP"
89   Code alignment factor: 1
90   Data alignment factor: 4
91   Return address column: 31
92   Augmentation data:     50 00 00 00 00 00 00 00
93 
94 
95 000000d4 00000010 0000001c FDE cie=000000bc pc=00020120..00020130
96   DW_CFA_advance_loc: 0 to 00020120
97   DW_CFA_advance_loc: 0 to 00020120
98   DW_CFA_advance_loc: 0 to 00020120
99 
100 000000e8 00000010 00000030 FDE cie=000000bc pc=00020130..00020150
101   DW_CFA_advance_loc: 0 to 00020130
102   DW_CFA_advance_loc: 0 to 00020130
103   DW_CFA_advance_loc: 0 to 00020130
104 
105 000000fc 00000014 00000000 CIE
106   Version:               1
107   Augmentation:          "zPR"
108   Code alignment factor: 1
109   Data alignment factor: 4
110   Return address column: 31
111   Augmentation data:     00 00 00 00 00 1b
112 
113   DW_CFA_advance_loc: 0 to 00000000
114 
115 00000114 00000010 0000001c FDE cie=000000fc pc=00020150..00020160
116   DW_CFA_advance_loc: 0 to 00020150
117   DW_CFA_advance_loc: 0 to 00020150
118   DW_CFA_advance_loc: 0 to 00020150
119 
120 # FDE for .discard removed
121 # zPR2 removed
122 00000128 00000010 00000030 FDE cie=000000fc pc=00020160..00020190
123   DW_CFA_advance_loc: 0 to 00020160
124   DW_CFA_advance_loc: 0 to 00020160
125   DW_CFA_advance_loc: 0 to 00020160
126 
127 0000013c 00000010 00000044 FDE cie=000000fc pc=00020190..000201d0
128   DW_CFA_advance_loc: 0 to 00020190
129   DW_CFA_advance_loc: 0 to 00020190
130   DW_CFA_advance_loc: 0 to 00020190
131 
132 00000150 00000010 00000154 FDE cie=00000000 pc=000201d0..000201e0
133   DW_CFA_nop
134   DW_CFA_nop
135   DW_CFA_nop
136 
137 # basic1 removed, followed by repeat of above
138 00000164 00000010 00000168 FDE cie=00000000 pc=000201e0..000201f0
139   DW_CFA_nop
140   DW_CFA_nop
141   DW_CFA_nop
142 
143 00000178 00000010 0000017c FDE cie=00000000 pc=000201f0..00020210
144   DW_CFA_nop
145   DW_CFA_nop
146   DW_CFA_nop
147 
148 0000018c 00000010 00000190 FDE cie=00000000 pc=00020210..00020240
149   DW_CFA_nop
150   DW_CFA_nop
151   DW_CFA_nop
152 
153 000001a0 00000010 000001a4 FDE cie=00000000 pc=00020240..00020280
154   DW_CFA_nop
155   DW_CFA_nop
156   DW_CFA_nop
157 
158 000001b4 00000010 000001b8 FDE cie=00000000 pc=00020280..000202d0
159   DW_CFA_nop
160   DW_CFA_nop
161   DW_CFA_nop
162 
163 000001c8 00000010 00000154 FDE cie=00000078 pc=000202d0..000202e0
164   DW_CFA_advance_loc: 0 to 000202d0
165   DW_CFA_advance_loc: 0 to 000202d0
166   DW_CFA_advance_loc: 0 to 000202d0
167 
168 000001dc 00000010 00000168 FDE cie=00000078 pc=000202e0..00020300
169   DW_CFA_advance_loc: 0 to 000202e0
170   DW_CFA_advance_loc: 0 to 000202e0
171   DW_CFA_advance_loc: 0 to 000202e0
172 
173 000001f0 00000010 00000138 FDE cie=000000bc pc=00020300..00020310
174   DW_CFA_advance_loc: 0 to 00020300
175   DW_CFA_advance_loc: 0 to 00020300
176   DW_CFA_advance_loc: 0 to 00020300
177 
178 00000204 00000010 0000014c FDE cie=000000bc pc=00020310..00020330
179   DW_CFA_advance_loc: 0 to 00020310
180   DW_CFA_advance_loc: 0 to 00020310
181   DW_CFA_advance_loc: 0 to 00020310
182 
183 00000218 00000010 00000120 FDE cie=000000fc pc=00020330..00020340
184   DW_CFA_advance_loc: 0 to 00020330
185   DW_CFA_advance_loc: 0 to 00020330
186   DW_CFA_advance_loc: 0 to 00020330
187 
188 0000022c 00000010 00000134 FDE cie=000000fc pc=00020340..00020370
189   DW_CFA_advance_loc: 0 to 00020340
190   DW_CFA_advance_loc: 0 to 00020340
191   DW_CFA_advance_loc: 0 to 00020340
192 
193 00000240 00000010 00000148 FDE cie=000000fc pc=00020370..000203b0
194   DW_CFA_advance_loc: 0 to 00020370
195   DW_CFA_advance_loc: 0 to 00020370
196   DW_CFA_advance_loc: 0 to 00020370
197 
198 00000254 00000010 00000258 FDE cie=00000000 pc=000203b0..000203c0
199   DW_CFA_nop
200   DW_CFA_nop
201   DW_CFA_nop
202 
203