Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Delf-strtab.c55 bfd_size_type sec_size; member
111 table->sec_size = 0; in _bfd_elf_strtab_init()
153 BFD_ASSERT (tab->sec_size == 0); in _bfd_elf_strtab_add()
187 BFD_ASSERT (tab->sec_size == 0); in _bfd_elf_strtab_addref()
197 BFD_ASSERT (tab->sec_size == 0); in _bfd_elf_strtab_delref()
251 BFD_ASSERT (tab->sec_size == 0); in _bfd_elf_strtab_restore()
273 return tab->sec_size ? tab->sec_size : tab->size; in _bfd_elf_strtab_size()
290 BFD_ASSERT (tab->sec_size); in _bfd_elf_strtab_offset()
304 BFD_ASSERT (tab->sec_size); in _bfd_elf_strtab_str()
338 BFD_ASSERT (off == tab->sec_size); in _bfd_elf_strtab_emit()
[all …]
H A Dpei-x86_64.c409 …bfd_size_type sec_size = xdata_section->rawsize > 0 ? xdata_section->rawsize : xdata_section->size; in pex64_dump_xdata() local
416 if (addr >= sec_size) in pex64_dump_xdata()
426 if (end_addr > sec_size) in pex64_dump_xdata()
429 end_addr = sec_size; in pex64_dump_xdata()
433 end_addr = sec_size; in pex64_dump_xdata()
H A Delf32-xtensa.c6342 bfd_size_type sec_size; in section_cache_section() local
6350 sec_size = bfd_get_section_limit (abfd, sec); in section_cache_section()
6354 if (contents == NULL && sec_size != 0) in section_cache_section()
6373 sec_cache->content_length = sec_size; in section_cache_section()
6798 bfd_size_type sec_size; in retrieve_contents() local
6800 sec_size = bfd_get_section_limit (abfd, sec); in retrieve_contents()
6803 if (contents == NULL && sec_size != 0) in retrieve_contents()
7173 bfd_size_type sec_size; in collect_source_relocs() local
7180 sec_size = bfd_get_section_limit (abfd, sec); in collect_source_relocs()
7182 if (contents == NULL && sec_size != 0) in collect_source_relocs()
[all …]
H A Dlinker.c2556 bfd_size_type sec_size; in default_indirect_link_order() local
2657 sec_size = (input_section->rawsize > input_section->size in default_indirect_link_order()
2660 contents = (bfd_byte *) bfd_malloc (sec_size); in default_indirect_link_order()
2661 if (contents == NULL && sec_size != 0) in default_indirect_link_order()
H A Dcoffgen.c1522 bfd_size_type sec_size; in build_debug_section() local
1540 sec_size = sect->size; in build_debug_section()
1541 debug_section = (char *) _bfd_alloc_and_read (abfd, sec_size, sec_size); in build_debug_section()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A 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 …]
H A 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()
H A 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()
H A 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 …]
H A 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()
/netbsd-src/sys/arch/hppa/stand/xxboot/
H A Dmain.c51 unsigned sec_size; member
331 inf.sec_size = sz; in load_file_ino()
339 dispatch(interactive, loadadr, loadadr + inf.sec_size, part, in load_file_ino()
355 inf->sec_size = ph->p_filesz; in xi_elf32()
376 inf->sec_size = (unsigned) ph->p_filesz; in xi_elf64()
428 memmove(buf, inf->sec_image, inf->sec_size); in xi_load()
431 memset((char *) buf + inf->sec_size, 0, inf->sec_pad); in xi_load()
/netbsd-src/sys/arch/x68k/stand/common/
H A 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()
H A Dexeckern.h31 u_long sec_size; /* section size */ member
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A 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/binutils/
H A 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/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/acr/
H A Dpriv.h66 u32 sec_size; member
103 u32 sec_size; member
H A Dnouveau_nvkm_subdev_acr_gm200.c225 .sec_code_size = hsf->sec_size, in gm200_acr_hsfw_bld()
328 hsf->sec_size = hsfw->sec_size; in gm200_acr_hsfw_load()
H A Dnouveau_nvkm_subdev_acr_gp108.c42 .sec_code_size = hsf->sec_size, in gp108_acr_hsfw_bld()
H A Dnouveau_nvkm_subdev_acr_gm20b.c62 .sec_code_size = hsf->sec_size, in gm20b_acr_load_bld()
H A Dnouveau_nvkm_subdev_acr_hsfw.c103 hsfw->sec_size = lhdr->apps[lhdr->num_apps]; in nvkm_acr_hsfw_load_image()
/netbsd-src/external/gpl3/binutils/dist/ld/
H A 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/binutils.old/dist/ld/
H A Dldwrite.c432 bfd_size_type sec_size = 0; in split_sections() local
469 || (thissize + sec_size >= config.split_by_file)) in split_sections()
517 sec_size = thissize; in split_sections()
524 sec_size += thissize; in split_sections()
/netbsd-src/external/gpl3/binutils.old/dist/gas/config/
H A 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/binutils/dist/gas/config/
H A 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/usr.sbin/sysinst/
H A Dlabel.c358 size_t bsize, sec_size; in edit_fs_ffs_frag() local
363 sec_size = edit->wanted->parts->bytes_per_sector; in edit_fs_ffs_frag()
364 if (edit->wanted->size >= (daddr_t)(128L*(GIG/sec_size))) in edit_fs_ffs_frag()
366 else if (edit->wanted->size >= (daddr_t)(1000L*(MEG/sec_size))) in edit_fs_ffs_frag()
368 else if (edit->wanted->size >= (daddr_t)(20L*(MEG/sec_size))) in edit_fs_ffs_frag()

12