Home
last modified time | relevance | path

Searched refs:isymbuf (Results 1 – 25 of 46) sorted by relevance

12

/openbsd/src/gnu/usr.bin/binutils/bfd/
Delf-m10200.c494 Elf_Internal_Sym *isymbuf = NULL; local
555 if (isymbuf == NULL && symtab_hdr->sh_info != 0)
557 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
558 if (isymbuf == NULL)
559 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr,
562 if (isymbuf == NULL)
573 isym = isymbuf + ELF32_R_SYM (irel->r_info);
644 symtab_hdr->contents = (unsigned char *) isymbuf;
697 symtab_hdr->contents = (unsigned char *) isymbuf;
782 if (mn10200_elf_symbol_address_p (abfd, sec, isymbuf,
[all …]
Delf32-h8300.c666 Elf_Internal_Sym *isymbuf = NULL; in elf32_h8_relax_section() local
739 if (isymbuf == NULL && symtab_hdr->sh_info != 0) in elf32_h8_relax_section()
741 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents; in elf32_h8_relax_section()
742 if (isymbuf == NULL) in elf32_h8_relax_section()
743 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr, in elf32_h8_relax_section()
746 if (isymbuf == NULL) in elf32_h8_relax_section()
757 isym = isymbuf + ELF32_R_SYM (irel->r_info); in elf32_h8_relax_section()
823 symtab_hdr->contents = (unsigned char *) isymbuf; in elf32_h8_relax_section()
865 last_sym = isymbuf + ELF32_R_SYM (last_reloc->r_info); in elf32_h8_relax_section()
959 symtab_hdr->contents = (unsigned char *) isymbuf; in elf32_h8_relax_section()
[all …]
Delf32-ip2k.c33 Elf_Internal_Sym * isymbuf; member
317 symbol_value (abfd, symtab_hdr, isymbuf, irel) in symbol_value() argument
320 Elf_Internal_Sym *isymbuf;
328 isym = isymbuf + ELF32_R_SYM (irel->r_info);
425 symval = symbol_value (abfd, misc->symtab_hdr, misc->isymbuf, irel);
451 misc->symtab_hdr->contents = (bfd_byte *) misc->isymbuf;
808 Elf_Internal_Sym *isymbuf = NULL; local
889 if (isymbuf == NULL && symtab_hdr->sh_info != 0)
891 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
892 if (isymbuf == NULL)
[all …]
Delf-m10300.c1812 Elf_Internal_Sym *isymbuf = NULL; local
1836 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
1837 if (isymbuf == NULL)
1838 isymbuf = bfd_elf_get_elf_syms (input_bfd, symtab_hdr,
1841 if (isymbuf == NULL)
1921 isym = isymbuf + r_index;
2005 isymend = isymbuf + symtab_hdr->sh_info;
2006 for (isym = isymbuf; isym < isymend; isym++)
2089 if (isymbuf != NULL
2090 && symtab_hdr->contents != (unsigned char *) isymbuf)
[all …]
Delf32-m68hc11.c668 Elf_Internal_Sym *isymbuf = NULL; in m68hc11_elf_relax_section() local
796 if (isymbuf == NULL && symtab_hdr->sh_info != 0) in m68hc11_elf_relax_section()
798 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents; in m68hc11_elf_relax_section()
799 if (isymbuf == NULL) in m68hc11_elf_relax_section()
800 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr, in m68hc11_elf_relax_section()
803 if (isymbuf == NULL) in m68hc11_elf_relax_section()
811 isym = isymbuf + ELF32_R_SYM (irel->r_info); in m68hc11_elf_relax_section()
964 symtab_hdr->contents = (bfd_byte *) isymbuf; in m68hc11_elf_relax_section()
995 symtab_hdr->contents = (bfd_byte *) isymbuf; in m68hc11_elf_relax_section()
1040 symtab_hdr->contents = (bfd_byte *) isymbuf; in m68hc11_elf_relax_section()
[all …]
Delf32-mips.c1351 Elf_Internal_Sym *isymbuf = NULL; in bfd_mips_elf32_create_embedded_relocs() local
1368 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents; in bfd_mips_elf32_create_embedded_relocs()
1369 if (isymbuf == NULL) in bfd_mips_elf32_create_embedded_relocs()
1370 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr, in bfd_mips_elf32_create_embedded_relocs()
1373 if (isymbuf == NULL) in bfd_mips_elf32_create_embedded_relocs()
1415 isym = isymbuf + ELF32_R_SYM (irel->r_info); in bfd_mips_elf32_create_embedded_relocs()
1456 if (isymbuf != NULL in bfd_mips_elf32_create_embedded_relocs()
1457 && symtab_hdr->contents != (unsigned char *) isymbuf) in bfd_mips_elf32_create_embedded_relocs()
1458 free (isymbuf); in bfd_mips_elf32_create_embedded_relocs()
1465 if (isymbuf != NULL in bfd_mips_elf32_create_embedded_relocs()
[all …]
Delf32-xstormy16.c642 Elf_Internal_Sym *isymbuf = NULL; local
651 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
652 if (isymbuf == NULL)
653 isymbuf = bfd_elf_get_elf_syms (ibfd, symtab_hdr,
656 if (isymbuf == NULL)
669 isym = &isymbuf[idx];
690 if (isymbuf != NULL
691 && symtab_hdr->contents != (unsigned char *) isymbuf)
694 free (isymbuf);
698 symtab_hdr->contents = (unsigned char *) isymbuf;
Delf32-m32r.c3603 Elf_Internal_Sym *isymbuf = NULL;
3663 if (isymbuf == NULL && symtab_hdr->sh_info != 0)
3665 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
3666 if (isymbuf == NULL)
3667 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr,
3670 if (isymbuf == NULL)
3681 isym = isymbuf + ELF32_R_SYM (irel->r_info),
3846 symtab_hdr->contents = (unsigned char *) isymbuf;
3874 if (isymbuf != NULL
3875 && symtab_hdr->contents != (unsigned char *) isymbuf)
[all …]
Delf32-sh.c2182 Elf_Internal_Sym *isymbuf = NULL; in sh_elf_relax_section() local
2302 if (isymbuf == NULL && symtab_hdr->sh_info != 0) in sh_elf_relax_section()
2304 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents; in sh_elf_relax_section()
2305 if (isymbuf == NULL) in sh_elf_relax_section()
2306 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr, in sh_elf_relax_section()
2309 if (isymbuf == NULL) in sh_elf_relax_section()
2319 isym = isymbuf + ELF32_R_SYM (irelfn->r_info); in sh_elf_relax_section()
2381 symtab_hdr->contents = (unsigned char *) isymbuf; in sh_elf_relax_section()
2510 symtab_hdr->contents = (unsigned char *) isymbuf; in sh_elf_relax_section()
2514 if (isymbuf != NULL in sh_elf_relax_section()
[all …]
Delf64-mmix.c2604 Elf_Internal_Sym *isymbuf = NULL; local
2721 if (isymbuf == NULL)
2723 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
2724 if (isymbuf == NULL)
2725 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr,
2728 if (isymbuf == 0)
2732 isym = isymbuf + ELF64_R_SYM (irel->r_info);
2898 if (isymbuf != NULL && (unsigned char *) isymbuf != symtab_hdr->contents)
2901 free (isymbuf);
2905 symtab_hdr->contents = (unsigned char *) isymbuf;
[all …]
Delf32-m68k.c2102 Elf_Internal_Sym *isymbuf = NULL; local
2157 if (isymbuf == NULL)
2159 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
2160 if (isymbuf == NULL)
2161 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr,
2164 if (isymbuf == NULL)
2168 isym = isymbuf + ELF32_R_SYM (irel->r_info);
2193 if (isymbuf != NULL && symtab_hdr->contents != (unsigned char *) isymbuf)
2194 free (isymbuf);
2201 if (isymbuf != NULL && symtab_hdr->contents != (unsigned char *) isymbuf)
[all …]
Delfcode.h1003 Elf_Internal_Sym *isymbuf = NULL; in elf_slurp_symbol_table() local
1047 isymbuf = bfd_elf_get_elf_syms (abfd, hdr, symcount, 0, in elf_slurp_symbol_table()
1049 if (isymbuf == NULL) in elf_slurp_symbol_table()
1090 isymend = isymbuf + symcount; in elf_slurp_symbol_table()
1091 for (isym = isymbuf + 1, sym = symbase; isym < isymend; isym++, sym++) in elf_slurp_symbol_table()
1212 if (isymbuf != NULL && hdr->contents != (unsigned char *) isymbuf) in elf_slurp_symbol_table()
1213 free (isymbuf); in elf_slurp_symbol_table()
1219 if (isymbuf != NULL && hdr->contents != (unsigned char *) isymbuf) in elf_slurp_symbol_table()
1220 free (isymbuf); in elf_slurp_symbol_table()
/openbsd/src/gnu/usr.bin/binutils-2.17/bfd/
Delf-m10200.c495 Elf_Internal_Sym *isymbuf = NULL; local
546 if (isymbuf == NULL && symtab_hdr->sh_info != 0)
548 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
549 if (isymbuf == NULL)
550 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr,
553 if (isymbuf == NULL)
564 isym = isymbuf + ELF32_R_SYM (irel->r_info);
635 symtab_hdr->contents = (unsigned char *) isymbuf;
688 symtab_hdr->contents = (unsigned char *) isymbuf;
773 if (mn10200_elf_symbol_address_p (abfd, sec, isymbuf,
[all …]
Delf32-crx.c725 Elf_Internal_Sym *isymbuf = NULL; in elf32_crx_get_relocated_section_contents() local
757 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents; in elf32_crx_get_relocated_section_contents()
758 if (isymbuf == NULL) in elf32_crx_get_relocated_section_contents()
759 isymbuf = bfd_elf_get_elf_syms (input_bfd, symtab_hdr, in elf32_crx_get_relocated_section_contents()
762 if (isymbuf == NULL) in elf32_crx_get_relocated_section_contents()
772 isymend = isymbuf + symtab_hdr->sh_info; in elf32_crx_get_relocated_section_contents()
773 for (isym = isymbuf, secpp = sections; isym < isymend; ++isym, ++secpp) in elf32_crx_get_relocated_section_contents()
791 isymbuf, sections)) in elf32_crx_get_relocated_section_contents()
796 if (isymbuf != NULL in elf32_crx_get_relocated_section_contents()
797 && symtab_hdr->contents != (unsigned char *) isymbuf) in elf32_crx_get_relocated_section_contents()
[all …]
Delf32-h8300.c667 Elf_Internal_Sym *isymbuf = NULL; in elf32_h8_relax_section() local
730 if (isymbuf == NULL && symtab_hdr->sh_info != 0) in elf32_h8_relax_section()
732 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents; in elf32_h8_relax_section()
733 if (isymbuf == NULL) in elf32_h8_relax_section()
734 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr, in elf32_h8_relax_section()
737 if (isymbuf == NULL) in elf32_h8_relax_section()
748 isym = isymbuf + ELF32_R_SYM (irel->r_info); in elf32_h8_relax_section()
814 symtab_hdr->contents = (unsigned char *) isymbuf; in elf32_h8_relax_section()
856 last_sym = isymbuf + ELF32_R_SYM (last_reloc->r_info); in elf32_h8_relax_section()
950 symtab_hdr->contents = (unsigned char *) isymbuf; in elf32_h8_relax_section()
[all …]
Delf32-avr.c1062 Elf_Internal_Sym *isymbuf = NULL; in elf32_avr_relax_delete_bytes() local
1123 if (isymbuf == NULL && symtab_hdr->sh_info != 0) in elf32_avr_relax_delete_bytes()
1125 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents; in elf32_avr_relax_delete_bytes()
1126 if (isymbuf == NULL) in elf32_avr_relax_delete_bytes()
1127 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr, in elf32_avr_relax_delete_bytes()
1130 if (isymbuf == NULL) in elf32_avr_relax_delete_bytes()
1141 isym = isymbuf + ELF32_R_SYM (irel->r_info); in elf32_avr_relax_delete_bytes()
1251 Elf_Internal_Sym *isymbuf = NULL; in elf32_avr_relax_section() local
1311 if (isymbuf == NULL && symtab_hdr->sh_info != 0) in elf32_avr_relax_section()
1313 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents; in elf32_avr_relax_section()
[all …]
Delf32-ip2k.c35 Elf_Internal_Sym * isymbuf; member
262 Elf_Internal_Sym *isymbuf, in symbol_value() argument
270 isym = isymbuf + ELF32_R_SYM (irel->r_info); in symbol_value()
528 symval = symbol_value (abfd, misc->symtab_hdr, misc->isymbuf, irel); in ip2k_test_page_insn()
563 Elf_Internal_Sym *isymbuf, *isym, *isymend; in adjust_all_relocations() local
573 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents; in adjust_all_relocations()
592 isym = isymbuf + ELF32_R_SYM (irel->r_info); in adjust_all_relocations()
651 isym = isymbuf + ELF32_R_SYM (irel->r_info); in adjust_all_relocations()
748 isymend = isymbuf + symtab_hdr->sh_info; in adjust_all_relocations()
749 for (isym = isymbuf; isym < isymend; isym++) in adjust_all_relocations()
[all …]
Delf-m10300.c1655 Elf_Internal_Sym *isymbuf = NULL; local
1679 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
1680 if (isymbuf == NULL)
1681 isymbuf = bfd_elf_get_elf_syms (input_bfd, symtab_hdr,
1684 if (isymbuf == NULL)
1759 isym = isymbuf + r_index;
1847 isymend = isymbuf + symtab_hdr->sh_info;
1848 for (isym = isymbuf; isym < isymend; isym++)
1942 if (isymbuf != NULL
1943 && symtab_hdr->contents != (unsigned char *) isymbuf)
[all …]
Delf32-msp430.c953 Elf_Internal_Sym * isymbuf = NULL; in msp430_elf_relax_section() local
996 if (isymbuf == NULL && symtab_hdr->sh_info != 0) in msp430_elf_relax_section()
998 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents; in msp430_elf_relax_section()
999 if (isymbuf == NULL) in msp430_elf_relax_section()
1000 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr, in msp430_elf_relax_section()
1003 if (isymbuf == NULL) in msp430_elf_relax_section()
1014 isym = isymbuf + ELF32_R_SYM (irel->r_info); in msp430_elf_relax_section()
1115 && msp430_elf_symbol_address_p (abfd, sec, isymbuf, in msp430_elf_relax_section()
1119 && msp430_elf_symbol_address_p (abfd, sec, isymbuf, in msp430_elf_relax_section()
1126 symtab_hdr->contents = (unsigned char *) isymbuf; in msp430_elf_relax_section()
[all …]
Delf32-m68hc11.c669 Elf_Internal_Sym *isymbuf = NULL; in m68hc11_elf_relax_section() local
786 if (isymbuf == NULL && symtab_hdr->sh_info != 0) in m68hc11_elf_relax_section()
788 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents; in m68hc11_elf_relax_section()
789 if (isymbuf == NULL) in m68hc11_elf_relax_section()
790 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr, in m68hc11_elf_relax_section()
793 if (isymbuf == NULL) in m68hc11_elf_relax_section()
801 isym = isymbuf + ELF32_R_SYM (irel->r_info); in m68hc11_elf_relax_section()
954 symtab_hdr->contents = (bfd_byte *) isymbuf; in m68hc11_elf_relax_section()
985 symtab_hdr->contents = (bfd_byte *) isymbuf; in m68hc11_elf_relax_section()
1030 symtab_hdr->contents = (bfd_byte *) isymbuf; in m68hc11_elf_relax_section()
[all …]
Delf32-xstormy16.c595 Elf_Internal_Sym *isymbuf = NULL; in xstormy16_elf_relax_section() local
604 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents; in xstormy16_elf_relax_section()
605 if (isymbuf == NULL) in xstormy16_elf_relax_section()
606 isymbuf = bfd_elf_get_elf_syms (ibfd, symtab_hdr, in xstormy16_elf_relax_section()
609 if (isymbuf == NULL) in xstormy16_elf_relax_section()
622 isym = &isymbuf[idx]; in xstormy16_elf_relax_section()
643 if (isymbuf != NULL in xstormy16_elf_relax_section()
644 && symtab_hdr->contents != (unsigned char *) isymbuf) in xstormy16_elf_relax_section()
647 free (isymbuf); in xstormy16_elf_relax_section()
651 symtab_hdr->contents = (unsigned char *) isymbuf; in xstormy16_elf_relax_section()
Delf32-m32c.c943 Elf_Internal_Sym *isymbuf; in dump_symtab() local
967 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr, in dump_symtab()
971 isymbuf = internal_syms; in dump_symtab()
972 isymend = isymbuf + locsymcount; in dump_symtab()
974 for (isym = isymbuf ; isym < isymend ; isym++) in dump_symtab()
1136 Elf_Internal_Sym *isymbuf = NULL; in m32c_elf_relax_plt_section() local
1145 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents; in m32c_elf_relax_plt_section()
1146 if (isymbuf == NULL) in m32c_elf_relax_plt_section()
1147 isymbuf = bfd_elf_get_elf_syms (ibfd, symtab_hdr, in m32c_elf_relax_plt_section()
1150 if (isymbuf == NULL) in m32c_elf_relax_plt_section()
[all …]
Delf32-sh.c2116 Elf_Internal_Sym *isymbuf = NULL; in sh_elf_relax_section() local
2226 if (isymbuf == NULL && symtab_hdr->sh_info != 0) in sh_elf_relax_section()
2228 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents; in sh_elf_relax_section()
2229 if (isymbuf == NULL) in sh_elf_relax_section()
2230 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr, in sh_elf_relax_section()
2233 if (isymbuf == NULL) in sh_elf_relax_section()
2243 isym = isymbuf + ELF32_R_SYM (irelfn->r_info); in sh_elf_relax_section()
2305 symtab_hdr->contents = (unsigned char *) isymbuf; in sh_elf_relax_section()
2417 symtab_hdr->contents = (unsigned char *) isymbuf; in sh_elf_relax_section()
2421 if (isymbuf != NULL in sh_elf_relax_section()
[all …]
Delf64-mmix.c2591 Elf_Internal_Sym *isymbuf = NULL; local
2700 if (isymbuf == NULL)
2702 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
2703 if (isymbuf == NULL)
2704 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr,
2707 if (isymbuf == 0)
2711 isym = isymbuf + ELF64_R_SYM (irel->r_info);
2877 if (isymbuf != NULL && (unsigned char *) isymbuf != symtab_hdr->contents)
2880 free (isymbuf);
2884 symtab_hdr->contents = (unsigned char *) isymbuf;
[all …]
Delf32-m68k.c2273 Elf_Internal_Sym *isymbuf = NULL; local
2328 if (isymbuf == NULL)
2330 isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
2331 if (isymbuf == NULL)
2332 isymbuf = bfd_elf_get_elf_syms (abfd, symtab_hdr,
2335 if (isymbuf == NULL)
2339 isym = isymbuf + ELF32_R_SYM (irel->r_info);
2364 if (isymbuf != NULL && symtab_hdr->contents != (unsigned char *) isymbuf)
2365 free (isymbuf);
2372 if (isymbuf != NULL && symtab_hdr->contents != (unsigned char *) isymbuf)
[all …]

12