Lines Matching defs:reloc
156 bfd_mach_o_reloc_info reloc;
158 if (!bfd_mach_o_pre_canonicalize_one_reloc (abfd, raw, &reloc, res, syms))
161 if (reloc.r_scattered)
163 switch (reloc.r_type)
166 /* PR 21813: Check for a corrupt PAIR reloc at the start. */
169 _bfd_error_handler (_("malformed mach-o ARM reloc pair: "
170 "reloc is first reloc"));
173 if (reloc.r_length == 2)
179 else if (reloc.r_length == 1)
185 _bfd_error_handler (_("malformed mach-o ARM reloc pair: "
186 "invalid length: %d"), reloc.r_length);
190 if (reloc.r_length == 2)
195 else if (reloc.r_length == 1)
200 _bfd_error_handler (_("malformed mach-o ARM sectdiff reloc: "
201 "invalid length: %d"), reloc.r_length);
205 if (reloc.r_length == 2)
210 else if (reloc.r_length == 1)
215 _bfd_error_handler (_("malformed mach-o ARM local sectdiff reloc: "
217 reloc.r_length);
221 switch (reloc.r_length)
230 _bfd_error_handler (_("malformed mach-o ARM half sectdiff reloc: "
232 reloc.r_length);
241 switch (reloc.r_type)
244 switch ((reloc.r_length << 1) | reloc.r_pcrel)
262 _bfd_error_handler (_("malformed mach-o ARM vanilla reloc: "
264 reloc.r_length, reloc.r_pcrel);
270 if (reloc.r_length == 2 && reloc.r_pcrel == 1)
278 if (reloc.r_length == 2 && reloc.r_pcrel == 1)
286 if (reloc.r_pcrel == 0)
287 switch (reloc.r_length)
301 _bfd_error_handler (_("malformed mach-o ARM reloc pair: "
302 "reloc is first reloc"));
306 && reloc.r_length == 0)
310 /* This reloc contains the other half in its r_address field. */
316 && reloc.r_length == 1)
320 /* This reloc contains the other half in its r_address field. */
332 _bfd_error_handler (_("malformed mach-o ARM reloc: "
333 "unknown reloc type: %d"), reloc.r_length);