Home
last modified time | relevance | path

Searched refs:symbase (Results 1 – 25 of 27) sorted by relevance

12

/netbsd/usr.bin/crunch/crunchide/
H A Dexec_aout.c54 struct nlist *symbase; variable
145 symbase = (struct nlist *) (aoutdata + N_SYMOFF(*hdrp)); in hide_aout()
158 for(symp = symbase; symp < symbase + nsyms; symp++) { in hide_aout()
199 if(IS_SYMBOL_RELOC(relp) && symbase[relp->r_symbolnum].n_type == 0) { in check_reloc()
202 filename, SYMSTR(&symbase[relp->r_symbolnum])); in check_reloc()
/netbsd/sys/arch/i386/stand/lib/
H A Dexec_multiboot1.c46 ksyms_addr_set(void *ehdr, void *shdr, void *symbase) in ksyms_addr_set() argument
101 shaddr = (uint64_t)(uintptr_t)(symbase + shoffset); in ksyms_addr_set()
/netbsd/external/gpl3/binutils.old/dist/bfd/
H A Delfcode.h1146 elf_symbol_type *symbase; /* Buffer for generated bfd symbols */ in elf_slurp_symbol_table() local
1189 sym = symbase = NULL; in elf_slurp_symbol_table()
1197 symbase = (elf_symbol_type *) bfd_zalloc2 (abfd, symcount, in elf_slurp_symbol_table()
1199 if (symbase == (elf_symbol_type *) NULL) in elf_slurp_symbol_table()
1237 for (isym = isymbuf + 1, sym = symbase; isym < isymend; isym++, sym++) in elf_slurp_symbol_table()
1364 (*ebd->elf_backend_symbol_table_processing) (abfd, symbase, symcount); in elf_slurp_symbol_table()
1368 symcount = sym - symbase; in elf_slurp_symbol_table()
1375 sym = symbase; in elf_slurp_symbol_table()
H A Dsom.c4641 som_symbol_type *sym, *symbase; in som_slurp_symbol_table() local
4657 symbase = bfd_zmalloc2 (symbol_count, sizeof (som_symbol_type)); in som_slurp_symbol_table()
4658 if (symbase == NULL) in som_slurp_symbol_table()
4674 for (bufp = buf, sym = symbase; bufp < endbufp; ++bufp) in som_slurp_symbol_table()
4801 abfd->symcount = sym - symbase; in som_slurp_symbol_table()
4804 obj_som_symtab (abfd) = symbase; in som_slurp_symbol_table()
4823 som_symbol_type *symbase; in som_canonicalize_symtab() local
4829 symbase = obj_som_symtab (abfd); in som_canonicalize_symtab()
4831 for (; i > 0; i--, location++, symbase++) in som_canonicalize_symtab()
4832 *location = &symbase->symbol; in som_canonicalize_symtab()
H A Dcoffgen.c438 coff_symbol_type *symbase; in coff_canonicalize_symtab() local
444 symbase = obj_symbols (abfd); in coff_canonicalize_symtab()
447 *location++ = symbase++; in coff_canonicalize_symtab()
H A Decoff.c1002 ecoff_symbol_type *symbase; in _bfd_ecoff_canonicalize_symtab() local
1010 symbase = ecoff_data (abfd)->canonical_symbols; in _bfd_ecoff_canonicalize_symtab()
1013 *(location++) = symbase++; in _bfd_ecoff_canonicalize_symtab()
H A Dpdp11.c1655 aout_symbol_type *symbase; in NAME() local
1660 for (symbase = obj_aout_symbols (abfd); counter++ < bfd_get_symcount (abfd);) in NAME()
1661 *(location++) = (asymbol *)(symbase++); in NAME()
/netbsd/external/gpl3/gdb/dist/bfd/
H A Delfcode.h1174 elf_symbol_type *symbase; /* Buffer for generated bfd symbols */ in elf_slurp_symbol_table() local
1218 sym = symbase = NULL; in elf_slurp_symbol_table()
1231 symbase = (elf_symbol_type *) bfd_zalloc (abfd, amt); in elf_slurp_symbol_table()
1232 if (symbase == (elf_symbol_type *) NULL) in elf_slurp_symbol_table()
1267 for (isym = isymbuf + 1, sym = symbase; isym < isymend; isym++, sym++) in elf_slurp_symbol_table()
1397 (*ebd->elf_backend_symbol_table_processing) (abfd, symbase, symcount); in elf_slurp_symbol_table()
1401 symcount = sym - symbase; in elf_slurp_symbol_table()
1408 sym = symbase; in elf_slurp_symbol_table()
H A Dsom.c4654 som_symbol_type *sym, *symbase = NULL; in som_slurp_symbol_table() local
4688 symbase = bfd_zmalloc (amt); in som_slurp_symbol_table()
4689 if (symbase == NULL) in som_slurp_symbol_table()
4694 for (bufp = buf, sym = symbase; bufp < endbufp; ++bufp) in som_slurp_symbol_table()
4821 abfd->symcount = sym - symbase; in som_slurp_symbol_table()
4824 obj_som_symtab (abfd) = symbase; in som_slurp_symbol_table()
4830 free (symbase); in som_slurp_symbol_table()
4842 som_symbol_type *symbase; in som_canonicalize_symtab() local
4848 symbase = obj_som_symtab (abfd); in som_canonicalize_symtab()
4850 for (; i > 0; i--, location++, symbase++) in som_canonicalize_symtab()
[all …]
H A Dcoffgen.c423 coff_symbol_type *symbase; in coff_canonicalize_symtab() local
429 symbase = obj_symbols (abfd); in coff_canonicalize_symtab()
432 *location++ = symbase++; in coff_canonicalize_symtab()
H A Decoff.c1013 ecoff_symbol_type *symbase; in _bfd_ecoff_canonicalize_symtab() local
1021 symbase = ecoff_data (abfd)->canonical_symbols; in _bfd_ecoff_canonicalize_symtab()
1024 *(location++) = symbase++; in _bfd_ecoff_canonicalize_symtab()
H A Dpdp11.c1794 aout_symbol_type *symbase; in NAME() local
1799 for (symbase = obj_aout_symbols (abfd); counter++ < bfd_get_symcount (abfd);) in NAME()
1800 *(location++) = (asymbol *)(symbase++); in NAME()
H A Daoutx.h1924 aout_symbol_type *symbase; in NAME() local
1929 for (symbase = obj_aout_symbols (abfd); in NAME()
1932 *(location++) = (asymbol *) (symbase++); in NAME()
/netbsd/external/gpl3/binutils/dist/bfd/
H A Delfcode.h1191 elf_symbol_type *symbase; /* Buffer for generated bfd symbols */ in elf_slurp_symbol_table() local
1235 sym = symbase = NULL; in elf_slurp_symbol_table()
1248 symbase = (elf_symbol_type *) bfd_zalloc (abfd, amt); in elf_slurp_symbol_table()
1249 if (symbase == (elf_symbol_type *) NULL) in elf_slurp_symbol_table()
1284 for (isym = isymbuf + 1, sym = symbase; isym < isymend; isym++, sym++) in elf_slurp_symbol_table()
1420 (*ebd->elf_backend_symbol_table_processing) (abfd, symbase, symcount); in elf_slurp_symbol_table()
1424 symcount = sym - symbase; in elf_slurp_symbol_table()
1431 sym = symbase; in elf_slurp_symbol_table()
H A Dsom.c4655 som_symbol_type *sym, *symbase = NULL; in som_slurp_symbol_table() local
4689 symbase = bfd_zmalloc (amt); in som_slurp_symbol_table()
4690 if (symbase == NULL) in som_slurp_symbol_table()
4695 for (bufp = buf, sym = symbase; bufp < endbufp; ++bufp) in som_slurp_symbol_table()
4832 abfd->symcount = sym - symbase; in som_slurp_symbol_table()
4835 obj_som_symtab (abfd) = symbase; in som_slurp_symbol_table()
4841 free (symbase); in som_slurp_symbol_table()
4853 som_symbol_type *symbase; in som_canonicalize_symtab() local
4859 symbase = obj_som_symtab (abfd); in som_canonicalize_symtab()
4861 for (; i > 0; i--, location++, symbase++) in som_canonicalize_symtab()
[all …]
H A Dcoffgen.c423 coff_symbol_type *symbase; in coff_canonicalize_symtab() local
429 symbase = obj_symbols (abfd); in coff_canonicalize_symtab()
432 *location++ = symbase++; in coff_canonicalize_symtab()
H A Decoff.c971 ecoff_symbol_type *symbase; in _bfd_ecoff_canonicalize_symtab() local
979 symbase = ecoff_data (abfd)->canonical_symbols; in _bfd_ecoff_canonicalize_symtab()
982 *(location++) = symbase++; in _bfd_ecoff_canonicalize_symtab()
H A Dpdp11.c1795 aout_symbol_type *symbase; in NAME() local
1800 for (symbase = obj_aout_symbols (abfd); counter++ < bfd_get_symcount (abfd);) in NAME()
1801 *(location++) = (asymbol *)(symbase++); in NAME()
H A Daoutx.h1923 aout_symbol_type *symbase; in NAME() local
1928 for (symbase = obj_aout_symbols (abfd); in NAME()
1931 *(location++) = (asymbol *) (symbase++); in NAME()
/netbsd/external/gpl3/gdb.old/dist/bfd/
H A Delfcode.h1174 elf_symbol_type *symbase; /* Buffer for generated bfd symbols */ in elf_slurp_symbol_table() local
1218 sym = symbase = NULL; in elf_slurp_symbol_table()
1231 symbase = (elf_symbol_type *) bfd_zalloc (abfd, amt); in elf_slurp_symbol_table()
1232 if (symbase == (elf_symbol_type *) NULL) in elf_slurp_symbol_table()
1267 for (isym = isymbuf + 1, sym = symbase; isym < isymend; isym++, sym++) in elf_slurp_symbol_table()
1397 (*ebd->elf_backend_symbol_table_processing) (abfd, symbase, symcount); in elf_slurp_symbol_table()
1401 symcount = sym - symbase; in elf_slurp_symbol_table()
1408 sym = symbase; in elf_slurp_symbol_table()
H A Dsom.c4654 som_symbol_type *sym, *symbase = NULL; in som_slurp_symbol_table() local
4688 symbase = bfd_zmalloc (amt); in som_slurp_symbol_table()
4689 if (symbase == NULL) in som_slurp_symbol_table()
4694 for (bufp = buf, sym = symbase; bufp < endbufp; ++bufp) in som_slurp_symbol_table()
4821 abfd->symcount = sym - symbase; in som_slurp_symbol_table()
4824 obj_som_symtab (abfd) = symbase; in som_slurp_symbol_table()
4830 free (symbase); in som_slurp_symbol_table()
4842 som_symbol_type *symbase; in som_canonicalize_symtab() local
4848 symbase = obj_som_symtab (abfd); in som_canonicalize_symtab()
4850 for (; i > 0; i--, location++, symbase++) in som_canonicalize_symtab()
[all …]
H A Dcoffgen.c423 coff_symbol_type *symbase; in coff_canonicalize_symtab() local
429 symbase = obj_symbols (abfd); in coff_canonicalize_symtab()
432 *location++ = symbase++; in coff_canonicalize_symtab()
H A Dpdp11.c1794 aout_symbol_type *symbase; in NAME() local
1799 for (symbase = obj_aout_symbols (abfd); counter++ < bfd_get_symcount (abfd);) in NAME()
1800 *(location++) = (asymbol *)(symbase++); in NAME()
H A Decoff.c1013 ecoff_symbol_type *symbase; in _bfd_ecoff_canonicalize_symtab() local
1021 symbase = ecoff_data (abfd)->canonical_symbols; in _bfd_ecoff_canonicalize_symtab()
1024 *(location++) = symbase++; in _bfd_ecoff_canonicalize_symtab()
/netbsd/external/gpl3/binutils/dist/gprofng/libcollector/
H A Dmmaptrace.c1065 char *symbase = base + shdr[shdr[dynSec].sh_link].sh_offset; in process_vsyscall_page() local
1077 i, (long long) sym->st_name, symbase + sym->st_name, in process_vsyscall_page()
1122 mapName, (void*) st_value, sym->st_size, symbase + sym->st_name); in process_vsyscall_page()
1126 (long) sym->st_size, symbase + sym->st_name); in process_vsyscall_page()
1137 dynfuncname[ndyn] = CALL_UTIL (libc_strdup)(symbase + sym->st_name); in process_vsyscall_page()

12