Home
last modified time | relevance | path

Searched refs:rel_hash (Results 1 – 14 of 14) sorted by relevance

/openbsd/gnu/usr.bin/binutils-2.17/bfd/
H A Delf-vxworks.c141 struct elf_link_hash_entry **rel_hash) in elf_vxworks_emit_relocs() argument
156 && *rel_hash in elf_vxworks_emit_relocs()
157 && (*rel_hash)->def_dynamic in elf_vxworks_emit_relocs()
158 && !(*rel_hash)->def_regular in elf_vxworks_emit_relocs()
159 && (*rel_hash)->root.type == bfd_link_hash_defined in elf_vxworks_emit_relocs()
160 && (*rel_hash)->root.u.def.section->output_section != NULL) in elf_vxworks_emit_relocs()
173 asection *sec = (*rel_hash)->root.u.def.section; in elf_vxworks_emit_relocs()
179 irela[j].r_addend += (*rel_hash)->root.u.def.value; in elf_vxworks_emit_relocs()
183 *rel_hash = NULL; in elf_vxworks_emit_relocs()
186 rel_hash++; in elf_vxworks_emit_relocs()
[all …]
H A Dcofflink.c1022 struct coff_link_hash_entry **rel_hash; in _bfd_coff_final_link() local
1030 rel_hash = finfo.section_info[o->target_index].rel_hashes; in _bfd_coff_final_link()
1032 for (; irel < irelend; irel++, rel_hash++, erel += relsz) in _bfd_coff_final_link()
1034 if (*rel_hash != NULL) in _bfd_coff_final_link()
1036 BFD_ASSERT ((*rel_hash)->indx >= 0); in _bfd_coff_final_link()
1037 irel->r_symndx = (*rel_hash)->indx; in _bfd_coff_final_link()
2347 struct coff_link_hash_entry **rel_hash; in _bfd_coff_link_input_bfd() local
2352 rel_hash = (finfo->section_info[target_index].rel_hashes in _bfd_coff_link_input_bfd()
2354 for (; irel < irelend; irel++, rel_hash++) in _bfd_coff_link_input_bfd()
2359 *rel_hash = NULL; in _bfd_coff_link_input_bfd()
[all …]
H A Dcoff-ppc.c2423 struct coff_link_hash_entry **rel_hash; local
2431 rel_hash = finfo.section_info[o->target_index].rel_hashes;
2433 for (; irel < irelend; irel++, rel_hash++, erel += relsz)
2435 if (*rel_hash != NULL)
2437 BFD_ASSERT ((*rel_hash)->indx >= 0);
2438 irel->r_symndx = (*rel_hash)->indx;
H A Dxcofflink.c4282 struct xcoff_link_hash_entry **rel_hash; in xcoff_link_input_bfd() local
4310 for (; irel < irelend; irel++, rel_hash++) in xcoff_link_input_bfd()
4316 *rel_hash = NULL; in xcoff_link_input_bfd()
4378 *rel_hash = h; in xcoff_link_input_bfd()
5764 struct xcoff_link_hash_entry **rel_hash; in _bfd_xcoff_bfd_final_link() local
5782 for (; irel < irelend; irel++, rel_hash++) in _bfd_xcoff_bfd_final_link()
5784 if (*rel_hash != NULL) in _bfd_xcoff_bfd_final_link()
5786 if ((*rel_hash)->indx < 0) in _bfd_xcoff_bfd_final_link()
5789 (info, (*rel_hash)->root.root.string, in _bfd_xcoff_bfd_final_link()
5792 (*rel_hash)->indx = 0; in _bfd_xcoff_bfd_final_link()
[all …]
H A Delflink.c2171 struct elf_link_hash_entry **rel_hash in _bfd_elf_link_output_relocs()
6189 struct elf_link_hash_entry **rel_hash) in elf_link_adjust_relocs() argument
6232 if (*rel_hash == NULL) in elf_link_adjust_relocs()
6235 BFD_ASSERT ((*rel_hash)->indx >= 0); in elf_link_adjust_relocs()
6239 irela[j].r_info = ((bfd_vma) (*rel_hash)->indx << r_sym_shift in elf_link_adjust_relocs()
7542 struct elf_link_hash_entry **rel_hash; in elf_link_input_bfd() local
7557 rel_hash = (elf_section_data (o->output_section)->rel_hashes in elf_link_input_bfd()
7560 rel_hash_list = rel_hash; in elf_link_input_bfd()
7572 rel_hash++; in elf_link_input_bfd()
7630 *rel_hash = rh; in elf_link_input_bfd()
[all …]
H A DChangeLog-98991281 * elflink.h (elf_bfd_final_link): Remove unused variables rel_hash
H A DChangeLog-94955284 common symbol. Adjust rel_hash by the output reloc count.
/openbsd/gnu/usr.bin/binutils/bfd/
H A Dcofflink.c1018 struct coff_link_hash_entry **rel_hash; in _bfd_coff_final_link() local
1026 rel_hash = finfo.section_info[o->target_index].rel_hashes; in _bfd_coff_final_link()
1028 for (; irel < irelend; irel++, rel_hash++, erel += relsz) in _bfd_coff_final_link()
1030 if (*rel_hash != NULL) in _bfd_coff_final_link()
1032 BFD_ASSERT ((*rel_hash)->indx >= 0); in _bfd_coff_final_link()
1033 irel->r_symndx = (*rel_hash)->indx; in _bfd_coff_final_link()
2346 struct coff_link_hash_entry **rel_hash; in _bfd_coff_link_input_bfd() local
2351 rel_hash = (finfo->section_info[target_index].rel_hashes in _bfd_coff_link_input_bfd()
2353 for (; irel < irelend; irel++, rel_hash++) in _bfd_coff_link_input_bfd()
2358 *rel_hash = NULL; in _bfd_coff_link_input_bfd()
[all …]
H A Dcoff-ppc.c2619 struct coff_link_hash_entry **rel_hash; local
2627 rel_hash = finfo.section_info[o->target_index].rel_hashes;
2629 for (; irel < irelend; irel++, rel_hash++, erel += relsz)
2631 if (*rel_hash != NULL)
2633 BFD_ASSERT ((*rel_hash)->indx >= 0);
2634 irel->r_symndx = (*rel_hash)->indx;
H A Dxcofflink.c3988 struct xcoff_link_hash_entry **rel_hash; local
4008 if (*rel_hash != NULL)
4010 if ((*rel_hash)->indx < 0)
4013 (info, (*rel_hash)->root.root.string,
4016 (*rel_hash)->indx = 0;
4018 irel->r_symndx = (*rel_hash)->indx;
5079 struct xcoff_link_hash_entry **rel_hash; local
5105 rel_hash = (finfo->section_info[target_index].rel_hashes
5107 for (; irel < irelend; irel++, rel_hash++)
5113 *rel_hash = NULL;
[all …]
H A Delflink.h4845 elf_link_adjust_relocs (abfd, rel_hdr, count, rel_hash) in elf_link_adjust_relocs() argument
4849 struct elf_link_hash_entry **rel_hash;
4874 for (i = 0; i < count; i++, rel_hash++, erela += rel_hdr->sh_entsize)
4879 if (*rel_hash == NULL)
4882 BFD_ASSERT ((*rel_hash)->indx >= 0);
4886 irela[j].r_info = ELF_R_INFO ((*rel_hash)->indx,
7154 struct elf_link_hash_entry **rel_hash; local
7171 rel_hash = (elf_section_data (o->output_section)->rel_hashes
7185 rel_hash++;
7243 *rel_hash = rh;
[all …]
H A Delflink.c5438 struct elf_link_hash_entry **rel_hash) in elf_link_adjust_relocs() argument
5476 for (i = 0; i < count; i++, rel_hash++, erela += rel_hdr->sh_entsize) in elf_link_adjust_relocs()
5481 if (*rel_hash == NULL) in elf_link_adjust_relocs()
5484 BFD_ASSERT ((*rel_hash)->indx >= 0); in elf_link_adjust_relocs()
5488 irela[j].r_info = ((bfd_vma) (*rel_hash)->indx << r_sym_shift in elf_link_adjust_relocs()
6669 struct elf_link_hash_entry **rel_hash; in elf_link_input_bfd() local
6685 rel_hash = (elf_section_data (o->output_section)->rel_hashes in elf_link_input_bfd()
6699 rel_hash++; in elf_link_input_bfd()
6757 *rel_hash = rh; in elf_link_input_bfd()
6764 *rel_hash = NULL; in elf_link_input_bfd()
H A DChangeLog-98991281 * elflink.h (elf_bfd_final_link): Remove unused variables rel_hash
H A DChangeLog-94955284 common symbol. Adjust rel_hash by the output reloc count.