Home
last modified time | relevance | path

Searched refs:sec_size (Results 1 – 19 of 19) sorted by relevance

/netbsd/src/external/gpl3/binutils/dist/bfd/
Delf-strtab.c55 bfd_size_type sec_size; member
111 table->sec_size = 0; in _bfd_elf_strtab_init()
154 BFD_ASSERT (tab->sec_size == 0); in _bfd_elf_strtab_add()
188 BFD_ASSERT (tab->sec_size == 0); in _bfd_elf_strtab_addref()
198 BFD_ASSERT (tab->sec_size == 0); in _bfd_elf_strtab_delref()
252 BFD_ASSERT (tab->sec_size == 0); in _bfd_elf_strtab_restore()
274 return tab->sec_size ? tab->sec_size : tab->size; in _bfd_elf_strtab_size()
291 BFD_ASSERT (tab->sec_size); in _bfd_elf_strtab_offset()
305 BFD_ASSERT (tab->sec_size); in _bfd_elf_strtab_str()
339 BFD_ASSERT (off == tab->sec_size); in _bfd_elf_strtab_emit()
[all …]
Dpei-x86_64.c394 …bfd_size_type sec_size = xdata_section->rawsize > 0 ? xdata_section->rawsize : xdata_section->size; in pex64_dump_xdata() local
401 if (addr >= sec_size) in pex64_dump_xdata()
411 if (end_addr > sec_size) in pex64_dump_xdata()
414 end_addr = sec_size; in pex64_dump_xdata()
418 end_addr = sec_size; in pex64_dump_xdata()
Delf-sframe.c533 size_t sec_size; in _bfd_elf_write_section_sframe() local
544 contents = sframe_encoder_write (sfe_ctx, &sec_size, &err); in _bfd_elf_write_section_sframe()
545 sec->size = (bfd_size_type) sec_size; in _bfd_elf_write_section_sframe()
Delf32-xtensa.c6335 bfd_size_type sec_size; in section_cache_section() local
6343 sec_size = bfd_get_section_limit (abfd, sec); in section_cache_section()
6347 if (contents == NULL && sec_size != 0) in section_cache_section()
6366 sec_cache->content_length = sec_size; in section_cache_section()
6791 bfd_size_type sec_size; in retrieve_contents() local
6793 sec_size = bfd_get_section_limit (abfd, sec); in retrieve_contents()
6796 if (contents == NULL && sec_size != 0) in retrieve_contents()
7166 bfd_size_type sec_size; in collect_source_relocs() local
7173 sec_size = bfd_get_section_limit (abfd, sec); in collect_source_relocs()
7175 if (contents == NULL && sec_size != 0) in collect_source_relocs()
[all …]
Dcoffgen.c1628 bfd_size_type sec_size; in build_debug_section() local
1646 sec_size = sect->size; in build_debug_section()
1647 debug_section = (char *) _bfd_alloc_and_read (abfd, sec_size + 1, sec_size); in build_debug_section()
1650 debug_section[sec_size] = 0; in build_debug_section()
Delfxx-x86.c1963 size_t sec_size; in _bfd_x86_elf_write_sframe_plt() local
1991 void *contents = sframe_encoder_write (ectx, &sec_size, &err); in _bfd_x86_elf_write_sframe_plt()
1993 sec->size = (bfd_size_type) sec_size; in _bfd_x86_elf_write_sframe_plt()
1995 memcpy (sec->contents, contents, sec_size); in _bfd_x86_elf_write_sframe_plt()
/netbsd/src/external/gpl3/gdb/dist/bfd/
Delf-strtab.c55 bfd_size_type sec_size; member
111 table->sec_size = 0; in _bfd_elf_strtab_init()
154 BFD_ASSERT (tab->sec_size == 0); in _bfd_elf_strtab_add()
188 BFD_ASSERT (tab->sec_size == 0); in _bfd_elf_strtab_addref()
198 BFD_ASSERT (tab->sec_size == 0); in _bfd_elf_strtab_delref()
252 BFD_ASSERT (tab->sec_size == 0); in _bfd_elf_strtab_restore()
274 return tab->sec_size ? tab->sec_size : tab->size; in _bfd_elf_strtab_size()
291 BFD_ASSERT (tab->sec_size); in _bfd_elf_strtab_offset()
305 BFD_ASSERT (tab->sec_size); in _bfd_elf_strtab_str()
339 BFD_ASSERT (off == tab->sec_size); in _bfd_elf_strtab_emit()
[all …]
Dpei-x86_64.c394 …bfd_size_type sec_size = xdata_section->rawsize > 0 ? xdata_section->rawsize : xdata_section->size; in pex64_dump_xdata() local
401 if (addr >= sec_size) in pex64_dump_xdata()
411 if (end_addr > sec_size) in pex64_dump_xdata()
414 end_addr = sec_size; in pex64_dump_xdata()
418 end_addr = sec_size; in pex64_dump_xdata()
Delf-sframe.c533 size_t sec_size; in _bfd_elf_write_section_sframe() local
544 contents = sframe_encoder_write (sfe_ctx, &sec_size, &err); in _bfd_elf_write_section_sframe()
545 sec->size = (bfd_size_type) sec_size; in _bfd_elf_write_section_sframe()
Delf32-xtensa.c6334 bfd_size_type sec_size; in section_cache_section() local
6342 sec_size = bfd_get_section_limit (abfd, sec); in section_cache_section()
6346 if (contents == NULL && sec_size != 0) in section_cache_section()
6365 sec_cache->content_length = sec_size; in section_cache_section()
6790 bfd_size_type sec_size; in retrieve_contents() local
6792 sec_size = bfd_get_section_limit (abfd, sec); in retrieve_contents()
6795 if (contents == NULL && sec_size != 0) in retrieve_contents()
7165 bfd_size_type sec_size; in collect_source_relocs() local
7172 sec_size = bfd_get_section_limit (abfd, sec); in collect_source_relocs()
7174 if (contents == NULL && sec_size != 0) in collect_source_relocs()
[all …]
Dcoffgen.c1628 bfd_size_type sec_size; in build_debug_section() local
1646 sec_size = sect->size; in build_debug_section()
1647 debug_section = (char *) _bfd_alloc_and_read (abfd, sec_size + 1, sec_size); in build_debug_section()
1650 debug_section[sec_size] = 0; in build_debug_section()
Delfxx-x86.c1962 size_t sec_size; in _bfd_x86_elf_write_sframe_plt() local
1990 void *contents = sframe_encoder_write (ectx, &sec_size, &err); in _bfd_x86_elf_write_sframe_plt()
1992 sec->size = (bfd_size_type) sec_size; in _bfd_x86_elf_write_sframe_plt()
1994 memcpy (sec->contents, contents, sec_size); in _bfd_x86_elf_write_sframe_plt()
/netbsd/src/sys/arch/x68k/stand/common/
Dexec_sub.c29 sec->sec_image, sec->sec_size, sec->sec_pad); in DPRINT_SEC()
96 SECTION_NOPAD(sec, "symtab size", &sec[1].sec_size, sizeof(u_long)); in xk_aout()
137 sec->sec_size = ph->p_filesz; in xk_elf()
145 sec->sec_size = ph->p_filesz; in xk_elf()
Dexeckern.h31 u_long sec_size; /* section size */ member
/netbsd/src/external/gpl3/binutils/dist/binutils/
Dod-elf32_avr.c247 bfd_size_type sec_size, desc_size; in elf32_avr_dump_mem_usage() local
256 char *contents = elf32_avr_get_note_section_contents (abfd, &sec_size); in elf32_avr_dump_mem_usage()
260 description = elf32_avr_get_note_desc (abfd, contents, sec_size, in elf32_avr_dump_mem_usage()
/netbsd/src/external/gpl3/binutils/dist/ld/
Dldwrite.c437 bfd_size_type sec_size = 0; in split_sections() local
474 || (thissize + sec_size >= config.split_by_file)) in split_sections()
522 sec_size = thissize; in split_sections()
529 sec_size += thissize; in split_sections()
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dgcore.c312 bfd_size_type sec_size; in derive_heap_segment() local
341 sec_size = bfd_section_size (sec); in derive_heap_segment()
342 if (sec_vaddr + sec_size > top_of_data_memory) in derive_heap_segment()
343 top_of_data_memory = sec_vaddr + sec_size; in derive_heap_segment()
/netbsd/src/external/gpl3/binutils/dist/gas/config/
Dtc-avr.c2382 bfd_size_type sec_size; in avr_create_and_fill_property_section() local
2407 sec_size = AVR_PROPERTY_SECTION_HEADER_SIZE; in avr_create_and_fill_property_section()
2412 sec_size += avr_record_size (&rec->record); in avr_create_and_fill_property_section()
2419 bfd_set_section_size (prop_sec, sec_size); in avr_create_and_fill_property_section()
2422 frag_base = frag_more (sec_size); in avr_create_and_fill_property_section()
/netbsd/src/external/gpl3/gdb/dist/sim/cris/
Dsim-if.c366 bfd_size_type sec_size = bfd_section_size (s); in get_progbounds_iterator() local
368 bfd_size_type sec_end = sec_start + sec_size; in get_progbounds_iterator()