Home
last modified time | relevance | path

Searched refs:strsize (Results 1 – 14 of 14) sorted by relevance

/toolchain/binutils/binutils-2.25/binutils/
Drddbg.c126 bfd_size_type stabsize, strsize; in read_section_stabs_debugging_info() local
141 strsize = bfd_section_size (abfd, strsec); in read_section_stabs_debugging_info()
142 strings = (bfd_byte *) xmalloc (strsize + 1); in read_section_stabs_debugging_info()
143 if (! bfd_get_section_contents (abfd, strsec, strings, 0, strsize)) in read_section_stabs_debugging_info()
151 strings [strsize] = 0; in read_section_stabs_debugging_info()
192 if (stroff + strx >= strsize) in read_section_stabs_debugging_info()
216 if (strx >= strsize) in read_section_stabs_debugging_info()
Dod-macho.c1498 symtab->stroff, symtab->strsize, in dump_load_command()
1499 symtab->stroff + symtab->strsize); in dump_load_command()
/toolchain/binutils/binutils-2.25/bfd/
Dsyms.c933 bfd_size_type stabsize, strsize; in _bfd_stab_section_find_nearest_line() local
979 strsize = (info->strsec->rawsize in _bfd_stab_section_find_nearest_line()
1021 strsize = (info->strsec->rawsize in _bfd_stab_section_find_nearest_line()
1026 info->strs = (bfd_byte *) bfd_alloc (abfd, strsize); in _bfd_stab_section_find_nearest_line()
1033 0, strsize)) in _bfd_stab_section_find_nearest_line()
1158 if ((bfd_size_type) ((info->strs + strsize) - str) < stroff) in _bfd_stab_section_find_nearest_line()
Dcoffgen.c1669 bfd_size_type strsize; in _bfd_coff_read_string_table() local
1694 strsize = STRING_SIZE_SIZE; in _bfd_coff_read_string_table()
1699 strsize = H_GET_32 (abfd, extstrsize); in _bfd_coff_read_string_table()
1705 if (strsize < STRING_SIZE_SIZE) in _bfd_coff_read_string_table()
1708 (_("%B: bad string table size %lu"), abfd, (unsigned long) strsize); in _bfd_coff_read_string_table()
1713 strings = (char *) bfd_malloc (strsize + 1); in _bfd_coff_read_string_table()
1723 if (bfd_bread (strings + STRING_SIZE_SIZE, strsize - STRING_SIZE_SIZE, abfd) in _bfd_coff_read_string_table()
1724 != strsize - STRING_SIZE_SIZE) in _bfd_coff_read_string_table()
1731 obj_coff_strings_len (abfd) = strsize; in _bfd_coff_read_string_table()
1733 strings[strsize] = 0; in _bfd_coff_read_string_table()
Dmach-o.c1812 sym->strsize = _bfd_stringtab_size (strtab); in bfd_mach_o_write_symtab_content()
1814 mdata->filelen += sym->strsize; in bfd_mach_o_write_symtab_content()
1824 padlen = bfd_mach_o_pad4 (abfd, sym->strsize); in bfd_mach_o_write_symtab_content()
1828 sym->strsize += padlen; in bfd_mach_o_write_symtab_content()
1849 bfd_h_put_32 (abfd, sym->strsize, raw.strsize); in bfd_mach_o_write_symtab()
3500 if (stroff >= sym->strsize) in bfd_mach_o_read_symtab_symbol()
3505 (unsigned long) sym->strsize); in bfd_mach_o_read_symtab_symbol()
3631 if ((sym->stroff + sym->strsize) > b->size) in bfd_mach_o_read_symtab_strtab()
3640 sym->strtab = bfd_alloc (abfd, sym->strsize); in bfd_mach_o_read_symtab_strtab()
3645 || bfd_bread (sym->strtab, sym->strsize, abfd) != sym->strsize) in bfd_mach_o_read_symtab_strtab()
[all …]
Dmach-o.h138 unsigned int strsize; member
Dsunos.c373 bfd_size_type strsize = info->dyninfo.ld_symb_size; in sunos_canonicalize_dynamic_symtab() local
383 info->dynstr, strsize, TRUE)) in sunos_canonicalize_dynamic_symtab()
Dpdp11.c1449 bfd_size_type strsize, in NAME()
1469 else if (x < strsize) in NAME()
Daoutx.h1689 bfd_size_type strsize, in NAME()
1709 else if (x < strsize) in NAME()
Delflink.c5888 bfd_size_type strsize; in bfd_elf_size_dynamic_sections() local
5890 strsize = _bfd_elf_strtab_size (elf_hash_table (info)->dynstr); in bfd_elf_size_dynamic_sections()
5897 || !_bfd_elf_add_dynamic_entry (info, DT_STRSZ, strsize) in bfd_elf_size_dynamic_sections()
/toolchain/binutils/binutils-2.25/libiberty/
Dsimple-object-coff.c308 size_t strsize; in simple_object_coff_read_strtab() local
316 strsize = (ocr->is_big_endian in simple_object_coff_read_strtab()
319 strtab = XNEWVEC (char, strsize); in simple_object_coff_read_strtab()
321 (unsigned char *) strtab, strsize, errmsg, in simple_object_coff_read_strtab()
327 *strtab_size = strsize; in simple_object_coff_read_strtab()
Dsimple-object-xcoff.c365 size_t strsize; in simple_object_xcoff_read_strtab() local
373 strsize = simple_object_fetch_big_32 (strsizebuf); in simple_object_xcoff_read_strtab()
374 strtab = XNEWVEC (char, strsize); in simple_object_xcoff_read_strtab()
376 (unsigned char *) strtab, strsize, errmsg, in simple_object_xcoff_read_strtab()
382 *strtab_size = strsize; in simple_object_xcoff_read_strtab()
/toolchain/binutils/binutils-2.25/ld/
Delf-hints-local.h36 uint32_t strsize; /* Size of string table. */ member
/toolchain/binutils/binutils-2.25/include/mach-o/
Dexternal.h162 unsigned char strsize[4]; /* String table size. */ member