Home
last modified time | relevance | path

Searched refs:strindex (Results 1 – 8 of 8) sorted by relevance

/openbsd/src/gnu/usr.bin/binutils-2.17/bfd/
Dcoffgen.c66 long strindex; in make_a_section_from_file() local
72 strindex = strtol (buf, &p, 10); in make_a_section_from_file()
73 if (*p == '\0' && strindex >= 0) in make_a_section_from_file()
81 strings += strindex; in make_a_section_from_file()
Delflink.c2863 bfd_size_type strindex; in elf_add_dt_needed_tag() local
2870 strindex = _bfd_elf_strtab_add (hash_table->dynstr, soname, FALSE); in elf_add_dt_needed_tag()
2871 if (strindex == (bfd_size_type) -1) in elf_add_dt_needed_tag()
2891 && dyn.d_un.d_val == strindex) in elf_add_dt_needed_tag()
2893 _bfd_elf_strtab_delref (hash_table->dynstr, strindex); in elf_add_dt_needed_tag()
2904 if (!_bfd_elf_add_dynamic_entry (info, DT_NEEDED, strindex)) in elf_add_dt_needed_tag()
2909 _bfd_elf_strtab_delref (hash_table->dynstr, strindex); in elf_add_dt_needed_tag()
Delf.c286 unsigned int strindex) in bfd_elf_string_from_elf_section() argument
290 if (strindex == 0) in bfd_elf_string_from_elf_section()
299 if (strindex >= hdr->sh_size) in bfd_elf_string_from_elf_section()
304 abfd, strindex, (unsigned long) hdr->sh_size, in bfd_elf_string_from_elf_section()
305 (shindex == shstrndx && strindex == hdr->sh_name in bfd_elf_string_from_elf_section()
311 return ((char *) hdr->contents) + strindex; in bfd_elf_string_from_elf_section()
/openbsd/src/gnu/usr.bin/binutils/bfd/
Delf-bfd.h1311 #define elf_string_from_elf_strtab(abfd, strindex) \ argument
1313 strindex)
Dcoffgen.c95 long strindex; local
101 strindex = strtol (buf, &p, 10);
102 if (*p == '\0' && strindex >= 0)
110 strings += strindex;
Delflink.h1439 bfd_size_type strindex; local
1624 strindex = _bfd_elf_strtab_add (hash_table->dynstr, name, FALSE);
1625 if (strindex == (bfd_size_type) -1)
1650 && dyn.d_un.d_val == strindex)
1652 _bfd_elf_strtab_delref (hash_table->dynstr, strindex);
1658 if (! elf_add_dynamic_entry (info, (bfd_vma) DT_NEEDED, strindex))
2266 bfd_size_type strindex; local
2277 strindex = _bfd_elf_strtab_add (hash_table->dynstr,
2279 if (strindex == (bfd_size_type) -1)
2301 dyn.d_un.d_val != strindex);
[all …]
Delf.c279 unsigned int strindex) in bfd_elf_string_from_elf_section() argument
283 if (strindex == 0) in bfd_elf_string_from_elf_section()
292 if (strindex >= hdr->sh_size) in bfd_elf_string_from_elf_section()
296 bfd_archive_filename (abfd), strindex, (unsigned long) hdr->sh_size, in bfd_elf_string_from_elf_section()
298 && strindex == hdr->sh_name) in bfd_elf_string_from_elf_section()
304 return ((char *) hdr->contents) + strindex; in bfd_elf_string_from_elf_section()
Delflink.c2651 bfd_size_type strindex; in elf_add_dt_needed_tag() local
2655 strindex = _bfd_elf_strtab_add (hash_table->dynstr, soname, FALSE); in elf_add_dt_needed_tag()
2656 if (strindex == (bfd_size_type) -1) in elf_add_dt_needed_tag()
2677 && dyn.d_un.d_val == strindex) in elf_add_dt_needed_tag()
2679 _bfd_elf_strtab_delref (hash_table->dynstr, strindex); in elf_add_dt_needed_tag()
2687 if (!_bfd_elf_add_dynamic_entry (info, DT_NEEDED, strindex)) in elf_add_dt_needed_tag()
2692 _bfd_elf_strtab_delref (hash_table->dynstr, strindex); in elf_add_dt_needed_tag()