/openbsd/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | elf-vxworks.c | 144 Elf_Internal_Rela *irela; in elf_vxworks_emit_relocs() local 150 irela = internal_relocs; in elf_vxworks_emit_relocs() 151 irelaend = irela + (NUM_SHDR_ENTRIES (input_rel_hdr) in elf_vxworks_emit_relocs() 153 while (irela < irelaend) in elf_vxworks_emit_relocs() 177 irela[j].r_info = ELF32_R_INFO (this_idx, in elf_vxworks_emit_relocs() 178 ELF32_R_TYPE (irela[j].r_info)); in elf_vxworks_emit_relocs() 179 irela[j].r_addend += (*rel_hash)->root.u.def.value; in elf_vxworks_emit_relocs() 180 irela[j].r_addend += sec->output_offset; in elf_vxworks_emit_relocs() 185 irela += bed->s->int_rels_per_ext_rel; in elf_vxworks_emit_relocs()
|
H A D | elf32-m68hc1x.c | 397 Elf_Internal_Rela *internal_relocs, *irelaend, *irela; in elf32_m68hc11_size_stubs() local 420 irela = internal_relocs; in elf32_m68hc11_size_stubs() 421 irelaend = irela + section->reloc_count; in elf32_m68hc11_size_stubs() 422 for (; irela < irelaend; irela++) in elf32_m68hc11_size_stubs() 432 r_type = ELF32_R_TYPE (irela->r_info); in elf32_m68hc11_size_stubs() 440 r_indx = ELF32_R_SYM (irela->r_info); in elf32_m68hc11_size_stubs()
|
H A D | elflink.c | 1968 Elf_Internal_Rela *irela; in elf_link_read_relocs_from_section() local 1998 irela = internal_relocs; in elf_link_read_relocs_from_section() 2174 Elf_Internal_Rela *irela; in _bfd_elf_link_output_relocs() local 2218 irela = internal_relocs; in _bfd_elf_link_output_relocs() 2221 while (irela < irelaend) in _bfd_elf_link_output_relocs() 7539 Elf_Internal_Rela *irela; in elf_link_input_bfd() local 7555 irela = internal_relocs; in elf_link_input_bfd() 7564 for (next_erel = 0; irela < irelaend; irela++, next_erel++) in elf_link_input_bfd() 7578 irela->r_offset); in elf_link_input_bfd() 7587 irela->r_info = 0; in elf_link_input_bfd() [all …]
|
H A D | elf32-hppa.c | 2802 Elf_Internal_Rela *internal_relocs, *irelaend, *irela; in elf32_hppa_size_stubs() local 2824 irela = internal_relocs; in elf32_hppa_size_stubs() 2825 irelaend = irela + section->reloc_count; in elf32_hppa_size_stubs() 2826 for (; irela < irelaend; irela++) in elf32_hppa_size_stubs() 2838 r_type = ELF32_R_TYPE (irela->r_info); in elf32_hppa_size_stubs() 2839 r_indx = ELF32_R_SYM (irela->r_info); in elf32_hppa_size_stubs() 2873 destination = (sym_value + irela->r_addend in elf32_hppa_size_stubs() 2895 destination = (sym_value + irela->r_addend in elf32_hppa_size_stubs() 2920 stub_type = hppa_type_of_stub (section, irela, hh, in elf32_hppa_size_stubs() 2929 stub_name = hppa_stub_name (id_sec, sym_sec, hh, irela); in elf32_hppa_size_stubs()
|
H A D | elf32-xtensa.c | 1472 Elf_Internal_Rela irela; in elf_xtensa_size_dynamic_sections() local 1475 irela.r_offset = 0; in elf_xtensa_size_dynamic_sections() 1476 irela.r_info = ELF32_R_INFO (0, R_XTENSA_RTLD); in elf_xtensa_size_dynamic_sections() 1477 irela.r_addend = 0; in elf_xtensa_size_dynamic_sections() 1482 bfd_elf32_swap_reloca_out (output_bfd, &irela, in elf_xtensa_size_dynamic_sections() 2543 Elf_Internal_Rela irela; in elf_xtensa_finish_dynamic_sections() local 2558 bfd_elf32_swap_reloca_in (output_bfd, loc, &irela); in elf_xtensa_finish_dynamic_sections() 2559 if (ELF32_R_TYPE (irela.r_info) == R_XTENSA_RTLD) in elf_xtensa_finish_dynamic_sections() 2581 irela.r_offset = (sgotplt->output_section->vma in elf_xtensa_finish_dynamic_sections() 2592 irela.r_offset = (sgotplt->output_section->vma in elf_xtensa_finish_dynamic_sections() [all …]
|
H A D | elf64-ppc.c | 9131 Elf_Internal_Rela *internal_relocs, *irelaend, *irela; in ppc64_elf_size_stubs() local 9153 irela = internal_relocs; in ppc64_elf_size_stubs() 9154 irelaend = irela + section->reloc_count; in ppc64_elf_size_stubs() 9155 for (; irela < irelaend; irela++) in ppc64_elf_size_stubs() 9173 r_type = ELF64_R_TYPE (irela->r_info); in ppc64_elf_size_stubs() 9174 r_indx = ELF64_R_SYM (irela->r_info); in ppc64_elf_size_stubs() 9241 sym_value += irela->r_addend; in ppc64_elf_size_stubs() 9277 stub_type = ppc_type_of_stub (section, irela, &hash, in ppc64_elf_size_stubs() 9306 && irela != internal_relocs) in ppc64_elf_size_stubs() 9312 irela - 1, input_bfd)) in ppc64_elf_size_stubs() [all …]
|
/openbsd/gnu/usr.bin/binutils/bfd/ |
H A D | elf32-m68hc1x.c | 396 Elf_Internal_Rela *internal_relocs, *irelaend, *irela; in elf32_m68hc11_size_stubs() local 419 irela = internal_relocs; in elf32_m68hc11_size_stubs() 420 irelaend = irela + section->reloc_count; in elf32_m68hc11_size_stubs() 421 for (; irela < irelaend; irela++) in elf32_m68hc11_size_stubs() 431 r_type = ELF32_R_TYPE (irela->r_info); in elf32_m68hc11_size_stubs() 439 r_indx = ELF32_R_SYM (irela->r_info); in elf32_m68hc11_size_stubs()
|
H A D | elflink.c | 1790 Elf_Internal_Rela *irela; in elf_link_read_relocs_from_section() local 1820 irela = internal_relocs; in elf_link_read_relocs_from_section() 1993 Elf_Internal_Rela *irela; in _bfd_elf_link_output_relocs() local 2039 irela = internal_relocs; in _bfd_elf_link_output_relocs() 2042 while (irela < irelaend) in _bfd_elf_link_output_relocs() 6666 Elf_Internal_Rela *irela; in elf_link_input_bfd() local 6683 irela = internal_relocs; in elf_link_input_bfd() 6691 for (next_erel = 0; irela < irelaend; irela++, next_erel++) in elf_link_input_bfd() 6705 irela->r_offset); in elf_link_input_bfd() 6714 irela->r_info = 0; in elf_link_input_bfd() [all …]
|
H A D | elflink.h | 2778 Elf_Internal_Rela *irela; local 2807 irela = internal_relocs; 6718 Elf_Internal_Rela *irela; local 6764 irela = internal_relocs; 6767 while (irela < irelaend) 7151 Elf_Internal_Rela *irela; local 7169 irela = internal_relocs; 7177 for (next_erel = 0; irela < irelaend; irela++, next_erel++) 7191 irela->r_offset); 7200 irela->r_info = 0; [all …]
|
H A D | elf32-xtensa.c | 1320 Elf_Internal_Rela irela; local 1323 irela.r_offset = 0; 1324 irela.r_info = ELF32_R_INFO (0, R_XTENSA_RTLD); 1325 irela.r_addend = 0; 1330 bfd_elf32_swap_reloca_out (output_bfd, &irela, 2339 Elf_Internal_Rela irela; local 2354 bfd_elf32_swap_reloca_in (output_bfd, loc, &irela); 2355 if (ELF32_R_TYPE (irela.r_info) == R_XTENSA_RTLD) 2377 irela.r_offset = (sgotplt->output_section->vma 2388 irela.r_offset = (sgotplt->output_section->vma [all …]
|
H A D | elf32-hppa.c | 2677 Elf_Internal_Rela *internal_relocs, *irelaend, *irela; in elf32_hppa_size_stubs() local 2699 irela = internal_relocs; in elf32_hppa_size_stubs() 2700 irelaend = irela + section->reloc_count; in elf32_hppa_size_stubs() 2701 for (; irela < irelaend; irela++) in elf32_hppa_size_stubs() 2713 r_type = ELF32_R_TYPE (irela->r_info); in elf32_hppa_size_stubs() 2714 r_indx = ELF32_R_SYM (irela->r_info); in elf32_hppa_size_stubs() 2748 destination = (sym_value + irela->r_addend in elf32_hppa_size_stubs() 2772 destination = (sym_value + irela->r_addend in elf32_hppa_size_stubs() 2797 stub_type = hppa_type_of_stub (section, irela, hash, in elf32_hppa_size_stubs() 2806 stub_name = hppa_stub_name (id_sec, sym_sec, hash, irela); in elf32_hppa_size_stubs()
|
H A D | elf64-ppc.c | 6916 irela = internal_relocs; in ppc64_elf_size_stubs() 6917 irelaend = irela + section->reloc_count; in ppc64_elf_size_stubs() 6918 for (; irela < irelaend; irela++) in ppc64_elf_size_stubs() 6933 r_type = ELF64_R_TYPE (irela->r_info); in ppc64_elf_size_stubs() 6934 r_indx = ELF64_R_SYM (irela->r_info); in ppc64_elf_size_stubs() 6961 destination = (sym_value + irela->r_addend in ppc64_elf_size_stubs() 6974 destination = (sym_value + irela->r_addend in ppc64_elf_size_stubs() 6990 stub_type = ppc_type_of_stub (section, irela, &hash, in ppc64_elf_size_stubs() 7018 && irela != internal_relocs) in ppc64_elf_size_stubs() 7024 irela - 1, input_bfd)) in ppc64_elf_size_stubs() [all …]
|