/toolchain/binutils/binutils-2.25/bfd/ |
D | elf-vxworks.c | 165 Elf_Internal_Rela *irela; in elf_vxworks_emit_relocs() local 169 for (irela = internal_relocs, in elf_vxworks_emit_relocs() 170 irelaend = irela + (NUM_SHDR_ENTRIES (input_rel_hdr) in elf_vxworks_emit_relocs() 173 irela < irelaend; in elf_vxworks_emit_relocs() 174 irela += bed->s->int_rels_per_ext_rel, in elf_vxworks_emit_relocs() 199 irela[j].r_info in elf_vxworks_emit_relocs() 200 = ELF32_R_INFO (this_idx, ELF32_R_TYPE (irela[j].r_info)); in elf_vxworks_emit_relocs() 201 irela[j].r_addend += (*hash_ptr)->root.u.def.value; in elf_vxworks_emit_relocs() 202 irela[j].r_addend += sec->output_offset; in elf_vxworks_emit_relocs()
|
D | elf32-spu.c | 927 Elf_Internal_Rela *irela, in needs_ovl_stub() argument 962 r_type = ELF32_R_TYPE (irela->r_info); in needs_ovl_stub() 974 irela->r_offset, 4)) in needs_ovl_stub() 978 contents += irela->r_offset; in needs_ovl_stub() 1059 const Elf_Internal_Rela *irela) in count_stub() argument 1085 head = elf_local_got_ents (ibfd) + ELF32_R_SYM (irela->r_info); in count_stub() 1095 if (irela != NULL) in count_stub() 1096 addend = irela->r_addend; in count_stub() 1190 const Elf_Internal_Rela *irela, in build_stub() argument 1208 head = elf_local_got_ents (ibfd) + ELF32_R_SYM (irela->r_info); in build_stub() [all …]
|
D | elf32-m68hc1x.c | 413 Elf_Internal_Rela *internal_relocs, *irelaend, *irela; in elf32_m68hc11_size_stubs() local 436 irela = internal_relocs; in elf32_m68hc11_size_stubs() 437 irelaend = irela + section->reloc_count; in elf32_m68hc11_size_stubs() 438 for (; irela < irelaend; irela++) in elf32_m68hc11_size_stubs() 448 r_type = ELF32_R_TYPE (irela->r_info); in elf32_m68hc11_size_stubs() 456 r_indx = ELF32_R_SYM (irela->r_info); in elf32_m68hc11_size_stubs()
|
D | elf32-avr.c | 3099 Elf_Internal_Rela *internal_relocs, *irelaend, *irela; in elf32_avr_size_stubs() local 3121 irela = internal_relocs; in elf32_avr_size_stubs() 3122 irelaend = irela + section->reloc_count; in elf32_avr_size_stubs() 3123 for (; irela < irelaend; irela++) in elf32_avr_size_stubs() 3133 r_type = ELF32_R_TYPE (irela->r_info); in elf32_avr_size_stubs() 3134 r_indx = ELF32_R_SYM (irela->r_info); in elf32_avr_size_stubs() 3164 destination = (sym_value + irela->r_addend in elf32_avr_size_stubs() 3188 destination = (sym_value + irela->r_addend in elf32_avr_size_stubs() 3227 stub_name = avr_stub_name (sym_sec, sym_value, irela); in elf32_avr_size_stubs()
|
D | elf32-metag.c | 4029 Elf_Internal_Rela *internal_relocs, *irelaend, *irela; in elf_metag_size_stubs() local 4051 irela = internal_relocs; in elf_metag_size_stubs() 4052 irelaend = irela + section->reloc_count; in elf_metag_size_stubs() 4053 for (; irela < irelaend; irela++) in elf_metag_size_stubs() 4065 r_type = ELF32_R_TYPE (irela->r_info); in elf_metag_size_stubs() 4066 r_indx = ELF32_R_SYM (irela->r_info); in elf_metag_size_stubs() 4103 destination = (sym_value + irela->r_addend in elf_metag_size_stubs() 4136 destination = (sym_value + irela->r_addend in elf_metag_size_stubs() 4162 stub_type = metag_type_of_stub (section, irela, hh, in elf_metag_size_stubs() 4171 stub_name = metag_stub_name (id_sec, sym_sec, hh, irela); in elf_metag_size_stubs() [all …]
|
D | elflink.c | 2091 Elf_Internal_Rela *irela; in elf_link_read_relocs_from_section() local 2121 irela = internal_relocs; in elf_link_read_relocs_from_section() 2126 (*swap_in) (abfd, erela, irela); in elf_link_read_relocs_from_section() 2127 r_symndx = ELF32_R_SYM (irela->r_info); in elf_link_read_relocs_from_section() 2138 (unsigned long) r_symndx, (unsigned long) nsyms, irela->r_offset); in elf_link_read_relocs_from_section() 2149 (unsigned long) r_symndx, (unsigned long) nsyms, irela->r_offset); in elf_link_read_relocs_from_section() 2153 irela += bed->s->int_rels_per_ext_rel; in elf_link_read_relocs_from_section() 2309 Elf_Internal_Rela *irela; in _bfd_elf_link_output_relocs() local 2344 irela = internal_relocs; in _bfd_elf_link_output_relocs() 2345 irelaend = irela + (NUM_SHDR_ENTRIES (input_rel_hdr) in _bfd_elf_link_output_relocs() [all …]
|
D | elf32-nios2.c | 1804 Elf_Internal_Rela *internal_relocs, *irelaend, *irela; in nios2_elf32_size_stubs() local 1826 irela = internal_relocs; in nios2_elf32_size_stubs() 1827 irelaend = irela + section->reloc_count; in nios2_elf32_size_stubs() 1828 for (; irela < irelaend; irela++) in nios2_elf32_size_stubs() 1840 r_type = ELF32_R_TYPE (irela->r_info); in nios2_elf32_size_stubs() 1841 r_indx = ELF32_R_SYM (irela->r_info); in nios2_elf32_size_stubs() 1877 destination = (sym_value + irela->r_addend in nios2_elf32_size_stubs() 1903 destination = (sym_value + irela->r_addend in nios2_elf32_size_stubs() 1929 stub_type = nios2_type_of_stub (section, irela, hh, htab, in nios2_elf32_size_stubs() 1941 stub_name = nios2_stub_name (id_sec, sym_sec, hh, irela, in nios2_elf32_size_stubs() [all …]
|
D | elf32-xtensa.c | 1786 Elf_Internal_Rela irela; in elf_xtensa_size_dynamic_sections() local 1789 irela.r_offset = 0; in elf_xtensa_size_dynamic_sections() 1790 irela.r_info = ELF32_R_INFO (0, R_XTENSA_RTLD); in elf_xtensa_size_dynamic_sections() 1791 irela.r_addend = 0; in elf_xtensa_size_dynamic_sections() 1795 bfd_elf32_swap_reloca_out (output_bfd, &irela, loc); in elf_xtensa_size_dynamic_sections() 1796 bfd_elf32_swap_reloca_out (output_bfd, &irela, in elf_xtensa_size_dynamic_sections() 3296 Elf_Internal_Rela irela; in elf_xtensa_finish_dynamic_sections() local 3309 bfd_elf32_swap_reloca_in (output_bfd, loc, &irela); in elf_xtensa_finish_dynamic_sections() 3310 if (ELF32_R_TYPE (irela.r_info) == R_XTENSA_RTLD) in elf_xtensa_finish_dynamic_sections() 3330 bfd_elf32_swap_reloca_in (output_bfd, loc, &irela); in elf_xtensa_finish_dynamic_sections() [all …]
|
D | elfnn-aarch64.c | 3506 Elf_Internal_Rela *internal_relocs, *irelaend, *irela; in elfNN_aarch64_size_stubs() local 3529 irela = internal_relocs; in elfNN_aarch64_size_stubs() 3530 irelaend = irela + section->reloc_count; in elfNN_aarch64_size_stubs() 3531 for (; irela < irelaend; irela++) in elfNN_aarch64_size_stubs() 3546 r_type = ELFNN_R_TYPE (irela->r_info); in elfNN_aarch64_size_stubs() 3547 r_indx = ELFNN_R_SYM (irela->r_info); in elfNN_aarch64_size_stubs() 3600 destination = (sym_value + irela->r_addend in elfNN_aarch64_size_stubs() 3645 destination = (sym_value + irela->r_addend in elfNN_aarch64_size_stubs() 3685 (info, section, irela, st_type, hash, destination); in elfNN_aarch64_size_stubs() 3694 irela); in elfNN_aarch64_size_stubs()
|
D | elf64-ppc.c | 7339 const Elf_Internal_Rela *irela, in tocsave_find() argument 7349 r_indx = ELF64_R_SYM (irela->r_info); in tocsave_find() 7363 ent.offset += irela->r_addend; in tocsave_find() 12034 Elf_Internal_Rela *internal_relocs, *irelaend, *irela; in ppc64_elf_size_stubs() local 12059 irela = internal_relocs; in ppc64_elf_size_stubs() 12060 irelaend = irela + section->reloc_count; in ppc64_elf_size_stubs() 12061 for (; irela < irelaend; irela++) in ppc64_elf_size_stubs() 12081 r_type = ELF64_R_TYPE (irela->r_info); in ppc64_elf_size_stubs() 12082 r_indx = ELF64_R_SYM (irela->r_info); in ppc64_elf_size_stubs() 12150 sym_value += irela->r_addend; in ppc64_elf_size_stubs() [all …]
|
D | elf32-arm.c | 5078 Elf_Internal_Rela *internal_relocs, *irelaend, *irela; in elf32_arm_size_stubs() local 5101 irela = internal_relocs; in elf32_arm_size_stubs() 5102 irelaend = irela + section->reloc_count; in elf32_arm_size_stubs() 5103 for (; irela < irelaend; irela++) in elf32_arm_size_stubs() 5119 r_type = ELF32_R_TYPE (irela->r_info); in elf32_arm_size_stubs() 5120 r_indx = ELF32_R_SYM (irela->r_info); in elf32_arm_size_stubs() 5212 destination = (sym_value + irela->r_addend in elf32_arm_size_stubs() 5256 destination = (sym_value + irela->r_addend in elf32_arm_size_stubs() 5298 stub_type = arm_type_of_stub (info, section, irela, in elf32_arm_size_stubs() 5310 irela, stub_type); in elf32_arm_size_stubs() [all …]
|