Searched refs:strtab (Results 1 - 22 of 22) sorted by last modified time

/haiku-fatelf/src/system/kernel/
H A Delf.cpp538 kprintf(" strtab %p\n", image->strtab);
725 image->strtab = 0;
741 image->strtab = (char *)(d[i].d_un.d_ptr
807 if (!image->symhash || !image->syms || !image->strtab)
1382 // .symtab section together with the .strtab section, which apparently
1516 const char* address = image.strtab + offset;
2793 strings = image->strtab;
/haiku-fatelf/src/system/runtime_loader/
H A Delf_load_image.cpp239 image->strtab = 0;
255 image->strtab
342 if (!image->symhash || !image->syms || !image->strtab)
/haiku-fatelf/src/libs/libfdt/
H A Dfdt.c201 const char *_fdt_find_string(const char *strtab, int tabsize, const char *s) argument
204 const char *last = strtab + tabsize - len;
207 for (p = strtab; p <= last; p++)
H A Dfdt_rw.c152 char *strtab = (char *)fdt + fdt_off_dt_strings(fdt); local
158 p = _fdt_find_string(strtab, fdt_size_dt_strings(fdt), s);
161 return (p - strtab);
163 new = strtab + fdt_size_dt_strings(fdt);
169 return (new - strtab);
H A Dfdt_sw.c170 char *strtab = (char *)fdt + fdt_totalsize(fdt); local
176 p = _fdt_find_string(strtab - strtabsize, strtabsize, s);
178 return p - strtab;
186 memcpy(strtab + offset, s, len);
/haiku-fatelf/src/bin/gdb/gdb/
H A Dppc-linux-tdep.c232 CORE_ADDR strtab = 0; local
276 strtab = sect->addr;
280 if (plt_start == 0 || num_slots == -1 || symtab == 0 || strtab == 0)
319 if (target_read_memory (strtab + symidx, symname, sizeof (symname)) != 0)
/haiku-fatelf/src/bin/gdb/bfd/
H A DMakefile.am269 elf-strtab.lo \
437 elf-strtab.c \
1360 elf-strtab.lo: elf-strtab.c $(INCDIR)/filenames.h elf-bfd.h \
H A Daoutx.h1919 /* Get the index of a string in a strtab, adding it if it is not
1954 /* Write out a strtab. ABFD is already at the right location in the
1980 struct bfd_strtab_hash *strtab;
1982 strtab = _bfd_stringtab_init ();
1983 if (strtab == NULL)
1993 indx = add_to_stringtab (abfd, strtab, g->name, FALSE);
2023 if (! emit_stringtab (abfd, strtab))
2026 _bfd_stringtab_free (strtab);
2031 _bfd_stringtab_free (strtab);
3651 struct bfd_strtab_hash *strtab;
1976 struct bfd_strtab_hash *strtab; variable in typeref:struct:bfd_strtab_hash
2027 _bfd_stringtab_free (strtab); variable
[all...]
H A Dcoff-ppc.c2271 finfo.strtab = NULL;
2287 finfo.strtab = _bfd_stringtab_init ();
2288 if (finfo.strtab == NULL)
2690 _bfd_stringtab_size (finfo.strtab) + STRING_SIZE_SIZE,
2700 if (! _bfd_stringtab_emit (abfd, finfo.strtab))
2704 _bfd_stringtab_free (finfo.strtab);
2715 if (finfo.strtab != NULL)
2716 _bfd_stringtab_free (finfo.strtab);
H A Dcoff-rs6000.c3569 _bfd_xcoff_put_symbol_name (bfd *abfd, struct bfd_strtab_hash *strtab,
3585 indx = _bfd_stringtab_add (strtab, name, hash, FALSE);
3563 _bfd_xcoff_put_symbol_name(bfd *abfd, struct bfd_strtab_hash *strtab, struct internal_syment *sym, const char *name) argument
H A Dcoff64-rs6000.c529 _bfd_xcoff64_put_symbol_name (abfd, strtab, sym, name)
531 struct bfd_strtab_hash *strtab;
543 indx = _bfd_stringtab_add (strtab, name, hash, FALSE);
H A Dcofflink.c652 finfo.strtab = NULL;
669 finfo.strtab = _bfd_stringtab_init ();
670 if (finfo.strtab == NULL)
753 if (_bfd_stringtab_add (finfo.strtab, o->name, FALSE, FALSE)
1103 _bfd_stringtab_size (finfo.strtab) + STRING_SIZE_SIZE,
1113 if (! _bfd_stringtab_emit (abfd, finfo.strtab))
1119 _bfd_stringtab_free (finfo.strtab);
1130 if (finfo.strtab != NULL)
1131 _bfd_stringtab_free (finfo.strtab);
1744 indx = _bfd_stringtab_add (finfo->strtab, nam
[all...]
H A Delf.c1874 /* We have a strtab for some random other section. */
2131 { ".strtab", 7, 0, SHT_STRTAB, 0 },
3217 struct bfd_strtab_hash *strtab;
3248 if (! swap_out_syms (abfd, &strtab, relocatable_p))
3293 /* Now that we know where the .strtab section goes, write it
3296 || ! _bfd_stringtab_emit (abfd, strtab))
3298 _bfd_stringtab_free (strtab);
4452 We also don't set the positions of the .symtab and .strtab here. */
4656 (unsigned int) _bfd_elf_strtab_add (shstrtab, ".strtab", FALSE);
3212 struct bfd_strtab_hash *strtab; local
H A Dlibcoff-in.h465 struct bfd_strtab_hash *strtab; member in struct:coff_final_link_info
H A Dlibcoff.h469 struct bfd_strtab_hash *strtab; member in struct:coff_final_link_info
H A Dmach-o.c702 bfd_h_put_32 (abfd, s->name - sym->strtab, buf);
737 BFD_ASSERT (sym->strtab != NULL);
762 s->name = sym->strtab + stroff;
838 BFD_ASSERT (sym->strtab == NULL);
851 sym->strtab = b->buffer + sym->stroff;
855 sym->strtab = bfd_alloc (abfd, sym->strsize);
856 if (sym->strtab == NULL)
860 if (bfd_bread ((PTR) sym->strtab, sym->strsize, abfd) != sym->strsize)
1314 seg->strtab = NULL;
H A Dmach-o.h227 char *strtab; member in struct:bfd_mach_o_symtab_command
H A Dpdp11.c1895 /* Get the index of a string in a strtab, adding it if it is not
1930 /* Write out a strtab. ABFD is already at the right location in the
1956 struct bfd_strtab_hash *strtab;
1958 strtab = _bfd_stringtab_init ();
1959 if (strtab == NULL)
1970 indx = add_to_stringtab (abfd, strtab, g->name, FALSE);
1994 if (! emit_stringtab (abfd, strtab))
1997 _bfd_stringtab_free (strtab);
2002 _bfd_stringtab_free (strtab);
3324 struct bfd_strtab_hash *strtab;
1952 struct bfd_strtab_hash *strtab; local
3315 struct bfd_strtab_hash *strtab; member in struct:aout_final_link_info
[all...]
H A Dxcofflink.c84 struct bfd_strtab_hash *strtab; member in struct:xcoff_final_link_info
3568 finfo.strtab = NULL;
3588 finfo.strtab = _bfd_stringtab_init ();
3589 if (finfo.strtab == NULL)
4116 _bfd_stringtab_size (finfo.strtab) + STRING_SIZE_SIZE,
4121 if (! _bfd_stringtab_emit (abfd, finfo.strtab))
4124 _bfd_stringtab_free (finfo.strtab);
4149 if (finfo.strtab != NULL)
4150 _bfd_stringtab_free (finfo.strtab);
4570 indx = _bfd_stringtab_add (finfo->strtab, nam
[all...]
/haiku-fatelf/headers/libs/libfdt/
H A Dlibfdt_internal.h67 const char *_fdt_find_string(const char *strtab, int tabsize, const char *s);
/haiku-fatelf/headers/private/kernel/
H A Delf_priv.h46 char* strtab; member in struct:elf_image_info
70 #define STRING(image, offset) ((char*)(&(image)->strtab[(offset)]))
/haiku-fatelf/headers/private/runtime_loader/
H A Druntime_loader.h106 char *strtab; member in struct:image_t
157 #define STRING(image, offset) ((char*)(&(image)->strtab[(offset)]))

Completed in 199 milliseconds