Lines Matching refs:symtab_hdr
701 Elf_Internal_Shdr *symtab_hdr; in cr16_elf_check_relocs() local
718 symtab_hdr = &elf_tdata (abfd)->symtab_hdr; in cr16_elf_check_relocs()
730 if (r_symndx < symtab_hdr->sh_info) in cr16_elf_check_relocs()
734 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in cr16_elf_check_relocs()
793 size = symtab_hdr->sh_info * sizeof (bfd_vma); in cr16_elf_check_relocs()
801 for (i = 0; i < symtab_hdr->sh_info; i++) in cr16_elf_check_relocs()
1210 Elf_Internal_Shdr *symtab_hdr; in elf32_cr16_relax_delete_bytes() local
1243 symtab_hdr = &elf_tdata (abfd)->symtab_hdr; in elf32_cr16_relax_delete_bytes()
1244 isym = (Elf_Internal_Sym *) symtab_hdr->contents; in elf32_cr16_relax_delete_bytes()
1245 for (isymend = isym + symtab_hdr->sh_info; isym < isymend; isym++) in elf32_cr16_relax_delete_bytes()
1267 rsym = (Elf_Internal_Sym *) symtab_hdr->contents + r_symndx; in elf32_cr16_relax_delete_bytes()
1289 symcount = (symtab_hdr->sh_size / sizeof (Elf32_External_Sym) in elf32_cr16_relax_delete_bytes()
1290 - symtab_hdr->sh_info); in elf32_cr16_relax_delete_bytes()
1342 Elf_Internal_Shdr *symtab_hdr; in elf32_cr16_relocate_section() local
1346 symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr; in elf32_cr16_relocate_section()
1369 if (r_symndx < symtab_hdr->sh_info) in elf32_cr16_relocate_section()
1380 r_symndx, symtab_hdr, sym_hashes, in elf32_cr16_relocate_section()
1410 (input_bfd, symtab_hdr->sh_link, sym->st_name)); in elf32_cr16_relocate_section()
1466 Elf_Internal_Shdr *symtab_hdr; in elf32_cr16_get_relocated_section_contents() local
1482 symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr; in elf32_cr16_get_relocated_section_contents()
1507 if (symtab_hdr->sh_info != 0) in elf32_cr16_get_relocated_section_contents()
1509 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents; in elf32_cr16_get_relocated_section_contents()
1511 isymbuf = bfd_elf_get_elf_syms (input_bfd, symtab_hdr, in elf32_cr16_get_relocated_section_contents()
1512 symtab_hdr->sh_info, 0, in elf32_cr16_get_relocated_section_contents()
1518 amt = symtab_hdr->sh_info; in elf32_cr16_get_relocated_section_contents()
1524 isymend = isymbuf + symtab_hdr->sh_info; in elf32_cr16_get_relocated_section_contents()
1547 if (symtab_hdr->contents != (unsigned char *) isymbuf) in elf32_cr16_get_relocated_section_contents()
1557 if (symtab_hdr->contents != (unsigned char *) isymbuf) in elf32_cr16_get_relocated_section_contents()
1708 Elf_Internal_Shdr *symtab_hdr; in elf32_cr16_relax_section() local
1727 symtab_hdr = &elf_tdata (abfd)->symtab_hdr; in elf32_cr16_relax_section()
1762 if (isymbuf == NULL && symtab_hdr->sh_info != 0) in elf32_cr16_relax_section()
1764 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents; in elf32_cr16_relax_section()
1766 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr, in elf32_cr16_relax_section()
1767 symtab_hdr->sh_info, 0, in elf32_cr16_relax_section()
1774 if (ELF32_R_SYM (irel->r_info) < symtab_hdr->sh_info) in elf32_cr16_relax_section()
1799 indx = ELF32_R_SYM (irel->r_info) - symtab_hdr->sh_info; in elf32_cr16_relax_section()
1855 symtab_hdr->contents = (unsigned char *) isymbuf; in elf32_cr16_relax_section()
1903 symtab_hdr->contents = (unsigned char *) isymbuf; in elf32_cr16_relax_section()
1951 symtab_hdr->contents = (unsigned char *) isymbuf; in elf32_cr16_relax_section()
2003 symtab_hdr->contents = (unsigned char *) isymbuf; in elf32_cr16_relax_section()
2074 symtab_hdr->contents = (unsigned char *) isymbuf; in elf32_cr16_relax_section()
2140 && symtab_hdr->contents != (unsigned char *) isymbuf) in elf32_cr16_relax_section()
2146 symtab_hdr->contents = (unsigned char *) isymbuf; in elf32_cr16_relax_section()
2166 if (symtab_hdr->contents != (unsigned char *) isymbuf) in elf32_cr16_relax_section()
2676 Elf_Internal_Shdr *symtab_hdr; in bfd_cr16_elf32_create_embedded_relocs() local
2690 symtab_hdr = &elf_tdata (abfd)->symtab_hdr; in bfd_cr16_elf32_create_embedded_relocs()
2726 if (ELF32_R_SYM (irel->r_info) < symtab_hdr->sh_info) in bfd_cr16_elf32_create_embedded_relocs()
2734 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents; in bfd_cr16_elf32_create_embedded_relocs()
2736 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr, in bfd_cr16_elf32_create_embedded_relocs()
2737 symtab_hdr->sh_info, 0, in bfd_cr16_elf32_create_embedded_relocs()
2752 indx = ELF32_R_SYM (irel->r_info) - symtab_hdr->sh_info; in bfd_cr16_elf32_create_embedded_relocs()
2769 if (symtab_hdr->contents != (unsigned char *) isymbuf) in bfd_cr16_elf32_create_embedded_relocs()
2776 if (symtab_hdr->contents != (unsigned char *) isymbuf) in bfd_cr16_elf32_create_embedded_relocs()