Home
last modified time | relevance | path

Searched refs:erel (Results 1 – 12 of 12) sorted by relevance

/toolchain/binutils/binutils-2.25/bfd/
Dsunos.c2194 struct reloc_ext_external *erel; in sunos_write_dynamic_symbol() local
2196 erel = (struct reloc_ext_external *) p; in sunos_write_dynamic_symbol()
2197 PUT_WORD (output_bfd, r_address, erel->r_address); in sunos_write_dynamic_symbol()
2200 erel->r_index[0] = (bfd_byte) (h->dynindx >> 16); in sunos_write_dynamic_symbol()
2201 erel->r_index[1] = (bfd_byte) (h->dynindx >> 8); in sunos_write_dynamic_symbol()
2202 erel->r_index[2] = (bfd_byte)h->dynindx; in sunos_write_dynamic_symbol()
2203 erel->r_type[0] = in sunos_write_dynamic_symbol()
2209 erel->r_index[2] = (bfd_byte) (h->dynindx >> 16); in sunos_write_dynamic_symbol()
2210 erel->r_index[1] = (bfd_byte) (h->dynindx >> 8); in sunos_write_dynamic_symbol()
2211 erel->r_index[0] = (bfd_byte)h->dynindx; in sunos_write_dynamic_symbol()
[all …]
Delf64-alpha.c3227 Elf_Internal_Rela *urel, *erel, *irelend = info->relend; in elf64_alpha_relax_with_lituse() local
3262 for (erel = irel+1, flags = 0; erel < irelend; ++erel) in elf64_alpha_relax_with_lituse()
3264 if (ELF64_R_TYPE (erel->r_info) != R_ALPHA_LITUSE) in elf64_alpha_relax_with_lituse()
3266 if (erel->r_addend <= 6) in elf64_alpha_relax_with_lituse()
3267 flags |= 1 << erel->r_addend; in elf64_alpha_relax_with_lituse()
3273 for (urel = irel+1; urel < erel; ++urel) in elf64_alpha_relax_with_lituse()
3327 if (urel < --erel) in elf64_alpha_relax_with_lituse()
3328 *urel-- = *erel; in elf64_alpha_relax_with_lituse()
3329 *erel = nrel; in elf64_alpha_relax_with_lituse()
3373 if (urel < --erel) in elf64_alpha_relax_with_lituse()
[all …]
Delf32-rl78.c2111 Elf_Internal_Rela *erel = irel + 1; in rl78_elf_relax_section() local
2114 if (ELF32_R_TYPE (erel->r_info) != R_RL78_RH_RELAX) in rl78_elf_relax_section()
2116 if (!(erel->r_addend & RL78_RELAXA_ELIGN)) in rl78_elf_relax_section()
2121 if (erel->r_offset - irel->r_offset < alignment) in rl78_elf_relax_section()
2124 nbytes = erel->r_offset - irel->r_offset; in rl78_elf_relax_section()
2128 elf32_rl78_relax_delete_bytes (abfd, sec, erel->r_offset-nbytes, nbytes, next_alignment, in rl78_elf_relax_section()
2129 erel->r_offset == sec->size); in rl78_elf_relax_section()
Daoutx.h3691 struct reloc_ext_external erel; in aout_link_reloc_link_order() local
3855 howto, &erel, pr->addend); in aout_link_reloc_link_order()
3857 PUT_WORD (flaginfo->output_bfd, p->offset, erel.r_address); in aout_link_reloc_link_order()
3861 erel.r_index[0] = r_index >> 16; in aout_link_reloc_link_order()
3862 erel.r_index[1] = r_index >> 8; in aout_link_reloc_link_order()
3863 erel.r_index[2] = r_index; in aout_link_reloc_link_order()
3864 erel.r_type[0] = in aout_link_reloc_link_order()
3870 erel.r_index[2] = r_index >> 16; in aout_link_reloc_link_order()
3871 erel.r_index[1] = r_index >> 8; in aout_link_reloc_link_order()
3872 erel.r_index[0] = r_index; in aout_link_reloc_link_order()
[all …]
Dcoffgen.c492 bfd_byte *erel; in _bfd_coff_read_internal_relocs() local
536 erel = external_relocs; in _bfd_coff_read_internal_relocs()
537 erel_end = erel + relsz * sec->reloc_count; in _bfd_coff_read_internal_relocs()
539 for (; erel < erel_end; erel += relsz, irel++) in _bfd_coff_read_internal_relocs()
540 bfd_coff_swap_reloc_in (abfd, (void *) erel, (void *) irel); in _bfd_coff_read_internal_relocs()
Delf32-rx.c2116 Elf_Internal_Rela *erel = irel + 1; in elf32_rx_relax_section() local
2119 if (ELF32_R_TYPE (erel->r_info) != R_RX_RH_RELAX) in elf32_rx_relax_section()
2121 if (!(erel->r_addend & RX_RELAXA_ELIGN)) in elf32_rx_relax_section()
2126 if (erel->r_offset - irel->r_offset < alignment) in elf32_rx_relax_section()
2129 nbytes = erel->r_offset - irel->r_offset; in elf32_rx_relax_section()
2133 elf32_rx_relax_delete_bytes (abfd, sec, erel->r_offset-nbytes, nbytes, next_alignment, in elf32_rx_relax_section()
2134 erel->r_offset == sec->size); in elf32_rx_relax_section()
Dcoff-ppc.c2339 bfd_byte *erel; in ppc_bfd_coff_final_link() local
2347 erel = external_relocs; in ppc_bfd_coff_final_link()
2348 for (; irel < irelend; irel++, rel_hash++, erel += relsz) in ppc_bfd_coff_final_link()
2355 bfd_coff_swap_reloc_out (abfd, irel, erel); in ppc_bfd_coff_final_link()
Delflink.c2311 bfd_byte *erel; in _bfd_elf_link_output_relocs() local
2342 erel = output_reldata->hdr->contents; in _bfd_elf_link_output_relocs()
2343 erel += output_reldata->count * input_rel_hdr->sh_entsize; in _bfd_elf_link_output_relocs()
2349 (*swap_out) (output_bfd, irela, erel); in _bfd_elf_link_output_relocs()
2351 erel += input_rel_hdr->sh_entsize; in _bfd_elf_link_output_relocs()
8277 bfd_byte *erel, *erelend; in elf_link_sort_relocs() local
8288 erel = o->contents; in elf_link_sort_relocs()
8293 while (erel < erelend) in elf_link_sort_relocs()
8297 (*swap_in) (abfd, erel, s->rela); in elf_link_sort_relocs()
8301 erel += ext_size; in elf_link_sort_relocs()
[all …]
Dcofflink.c1049 bfd_byte *erel; in _bfd_coff_final_link() local
1057 erel = external_relocs; in _bfd_coff_final_link()
1058 for (; irel < irelend; irel++, rel_hash++, erel += relsz) in _bfd_coff_final_link()
1065 bfd_coff_swap_reloc_out (abfd, irel, erel); in _bfd_coff_final_link()
Delf32-bfin.c4338 Elf_Internal_Rela *rel, *erel; in _bfinfdpic_check_discarded_relocs() local
4353 for (erel = rel + sec->reloc_count; rel < erel; rel++) in _bfinfdpic_check_discarded_relocs()
Dxcofflink.c6261 bfd_byte *erel; in _bfd_xcoff_bfd_final_link() local
6319 erel = external_relocs; in _bfd_xcoff_bfd_final_link()
6320 for (; irel < irelend; irel++, rel_hash++, erel += relsz) in _bfd_xcoff_bfd_final_link()
6321 bfd_coff_swap_reloc_out (abfd, (void *) irel, (void *) erel); in _bfd_xcoff_bfd_final_link()
Delf32-frv.c5514 Elf_Internal_Rela *rel, *erel; in _frvfdpic_check_discarded_relocs() local
5526 for (erel = rel + sec->reloc_count; rel < erel; rel++) in _frvfdpic_check_discarded_relocs()