Lines Matching refs:reloc
304 #define RELOC_PROCESSING(relent,reloc,symbols,abfd,section) \ argument
305 reloc_processing(relent, reloc, symbols, abfd, section)
309 struct internal_reloc *reloc, in reloc_processing() argument
314 relent->address = reloc->r_vaddr; in reloc_processing()
315 rtype2howto (relent, reloc); in reloc_processing()
317 if (reloc->r_symndx == -1 || symbols == NULL) in reloc_processing()
319 else if (reloc->r_symndx >= 0 && reloc->r_symndx < obj_conv_table_size (abfd)) in reloc_processing()
320 relent->sym_ptr_ptr = symbols + obj_convert (abfd)[reloc->r_symndx]; in reloc_processing()
326 abfd, reloc->r_symndx); in reloc_processing()
329 relent->addend = reloc->r_offset; in reloc_processing()
337 arelent *reloc, in extra_case() argument
344 bfd_size_type reloc_size = bfd_get_reloc_size (reloc->howto); in extra_case()
352 in_abfd, input_section, reloc); in extra_case()
356 int val = bfd_coff_reloc16_get_value (reloc, link_info, input_section); in extra_case()
357 switch (reloc->howto->type) in extra_case()
360 if (reloc->howto->partial_inplace) in extra_case()
362 & reloc->howto->src_mask); in extra_case()
366 (link_info, NULL, bfd_asymbol_name (*reloc->sym_ptr_ptr), in extra_case()
367 reloc->howto->name, reloc->addend, input_section->owner, in extra_case()
368 input_section, reloc->address); in extra_case()
396 if (reloc->howto->partial_inplace) in extra_case()
397 val += bfd_get_8 (in_abfd, data + *src_ptr) & reloc->howto->src_mask; in extra_case()
412 if (reloc->howto->partial_inplace) in extra_case()
413 val += bfd_get_16 (in_abfd, data + *src_ptr) & reloc->howto->src_mask; in extra_case()
422 if (reloc->howto->partial_inplace) in extra_case()
424 & reloc->howto->src_mask); in extra_case()
431 if (reloc->howto->partial_inplace) in extra_case()
432 val += bfd_get_32 (in_abfd, data + *src_ptr) & reloc->howto->src_mask; in extra_case()
440 if (reloc->howto->partial_inplace) in extra_case()
442 & reloc->howto->src_mask); in extra_case()
450 (link_info, NULL, bfd_asymbol_name (*reloc->sym_ptr_ptr), in extra_case()
451 reloc->howto->name, reloc->addend, input_section->owner, in extra_case()
452 input_section, reloc->address); in extra_case()
463 if (reloc->howto->partial_inplace) in extra_case()
466 & reloc->howto->src_mask); in extra_case()
478 in_abfd, input_section, reloc); in extra_case()