Home
last modified time | relevance | path

Searched refs:section_count (Results 1 – 25 of 78) sorted by relevance

1234

/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A Dvms.c164 priv_section_count = PRIV (section_count); in vms_fixup_sections()
376 if (abfd->section_count > 0) /* we have sections */ in vms_write_object_contents()
390 if (abfd->section_count > 255) in vms_write_object_contents()
465 unsigned int section_count = abfd->section_count + 1; in vms_new_section_hook() local
469 abfd, section->index, section->name, section_count); in vms_new_section_hook()
473 if (section_count > PRIV (section_count)) in vms_new_section_hook()
475 bfd_size_type amt = section_count; in vms_new_section_hook()
480 PRIV (section_count) = section_count; in vms_new_section_hook()
483 vms_debug (6, "section_count: %d\n", PRIV (section_count)); in vms_new_section_hook()
H A Dbfd.c1440 preserve->section_count = abfd->section_count; in bfd_preserve_save()
1452 abfd->section_count = 0; in bfd_preserve_save()
1482 abfd->section_count = preserve->section_count; in bfd_preserve_restore()
H A Dsection.c754 newsect->index = abfd->section_count; in bfd_section_init()
775 abfd->section_count++; in bfd_section_init()
807 abfd->section_count = 0; in bfd_section_list_clear()
1222 if (i != abfd->section_count) /* Debugging */ in bfd_map_over_sections()
H A Dvms-tir.c296 if (psect >= PRIV (section_count)) in etir_sta()
838 while (PRIV (section_count) <= idx) in alloc_section()
840 PRIV (sections)[PRIV (section_count)] in alloc_section()
841 = new_section (abfd, (int) PRIV (section_count)); in alloc_section()
842 if (PRIV (sections)[PRIV (section_count)] == 0) in alloc_section()
844 PRIV (section_count)++; in alloc_section()
935 if (psect >= PRIV (section_count)) in tir_sta()
962 if (psect >= PRIV (section_count)) in tir_sta()
989 if (psect >= PRIV (section_count)) in tir_sta()
1470 if (psect >= PRIV (section_count)) in tir_ctl()
H A Dlibieee.h85 unsigned int section_count; member
H A Dpef.h35 unsigned short section_count; member
H A Dvms-gsd.c324 if (PRIV (is_vax) && (psect_idx < (abfd->section_count-1))) in _bfd_vms_slurp_gsd()
327 if (psect_idx < PRIV (section_count)) in _bfd_vms_slurp_gsd()
715 vms_debug (3, "%d sections found\n", abfd->section_count); in _bfd_vms_write_gsd()
H A Dpef.c529 if (header->section_count != 0)
531 mdata->sections = bfd_alloc (abfd, header->section_count * sizeof (bfd_pef_section));
536 for (i = 0; i < header->section_count; i++)
571 header->section_count = bfd_getb32 (buf + 32) + 1; in bfd_pef_read_header()
H A Dsimple.c223 * abfd->section_count); in bfd_simple_get_relocated_section_contents()
H A Delf.c3001 abfd->section_count--; in assign_section_numbers()
5517 unsigned int section_count; in rewrite_elf_program_header() local
5530 for (section = ibfd->sections, section_count = 0; in rewrite_elf_program_header()
5534 ++section_count; in rewrite_elf_program_header()
5539 amt += ((bfd_size_type) section_count - 1) * sizeof (asection *); in rewrite_elf_program_header()
5572 if (section_count == 0) in rewrite_elf_program_header()
5620 sections = bfd_malloc2 (section_count, sizeof (asection *)); in rewrite_elf_program_header()
5685 BFD_ASSERT (j == section_count); in rewrite_elf_program_header()
5689 if (isec == section_count) in rewrite_elf_program_header()
5695 map->count = section_count; in rewrite_elf_program_header()
[all …]
H A Dopncls.c86 nbfd->section_count = 0; in _bfd_new_bfd()
813 abfd->section_count = 0; in bfd_make_readable()
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Ddve3900-rom.c85 unsigned int *section_count);
789 count_section (bfd *abfd, asection *s, unsigned int *section_count) in count_section() argument
792 (*section_count)++; in count_section()
872 int section_count = 0; in r3900_load() local
907 &section_count); in r3900_load()
908 write_long (&buffer[0], (long) section_count); in r3900_load()
/openbsd-src/gnu/usr.bin/binutils/bfd/
H A Dbfd.c1317 preserve->section_count = abfd->section_count; in bfd_preserve_save()
1328 abfd->section_count = 0; in bfd_preserve_save()
1358 abfd->section_count = preserve->section_count; in bfd_preserve_restore()
H A Dvms.c394 priv_section_count = PRIV (section_count);
613 if (abfd->section_count > 0) /* we have sections */
627 if (abfd->section_count > 255)
705 unsigned int section_count = abfd->section_count + 1; local
709 abfd, section->index, section->name, section_count);
713 if (section_count > PRIV (section_count))
715 bfd_size_type amt = section_count;
720 PRIV (section_count) = section_count;
723 vms_debug (6, "section_count: %d\n", PRIV (section_count));
H A Dsection.c713 newsect->index = abfd->section_count; in bfd_section_init()
734 abfd->section_count++; in bfd_section_init()
767 abfd->section_count = 0; in bfd_section_list_clear()
1087 if (i != abfd->section_count) /* Debugging */ in bfd_map_over_sections()
H A Dvms-tir.c381 if (psect >= PRIV (section_count))
981 while (PRIV (section_count) <= idx)
983 PRIV (sections)[PRIV (section_count)]
984 = new_section (abfd, (int) PRIV (section_count));
985 if (PRIV (sections)[PRIV (section_count)] == 0)
987 PRIV (section_count)++;
1078 if (psect >= PRIV (section_count)) in tir_sta()
1105 if (psect >= PRIV (section_count)) in tir_sta()
1132 if (psect >= PRIV (section_count)) in tir_sta()
1616 if (psect >= PRIV (section_count)) in tir_ctl()
H A Dlibieee.h85 unsigned int section_count; member
H A Dpef.h35 unsigned short section_count; member
H A Dvms-gsd.c342 if (PRIV(is_vax) && (psect_idx < (abfd->section_count-1)))
346 if (psect_idx < PRIV(section_count))
747 vms_debug (3, "%d sections found\n", abfd->section_count);
H A Dsimple.c201 * abfd->section_count); in bfd_simple_get_relocated_section_contents()
H A Dpef.c581 if (header->section_count != 0)
585 bfd_alloc (abfd, header->section_count * sizeof (bfd_pef_section)));
590 for (i = 0; i < header->section_count; i++)
633 header->section_count = bfd_getb32 (buf + 32) + 1;
H A Dopncls.c86 nbfd->section_count = 0; in _bfd_new_bfd()
609 abfd->section_count = 0; in bfd_make_readable()
/openbsd-src/gnu/usr.bin/binutils-2.17/binutils/
H A Dcoffgrok.c131 struct coff_section *all = (struct coff_section *) (xcalloc (abfd->section_count + 1, in do_sections_p1()
133 head->nsections = abfd->section_count + 1; in do_sections_p1()
619 …ection = (struct coff_isection *) xcalloc (sizeof (struct coff_isection), abfd->section_count + 1); in doit()
/openbsd-src/gnu/usr.bin/binutils/binutils/
H A Dcoffgrok.c131 struct coff_section *all = (struct coff_section *) (xcalloc (abfd->section_count + 1, in do_sections_p1()
133 head->nsections = abfd->section_count + 1; in do_sections_p1()
619 …ection = (struct coff_isection *) xcalloc (sizeof (struct coff_isection), abfd->section_count + 1); in doit()
/openbsd-src/gnu/llvm/lldb/source/Symbol/
H A DObjectFile.cpp631 size_t section_count = section_list->GetNumSections(0); in GetLoadableData() local
632 for (size_t i = 0; i < section_count; ++i) { in GetLoadableData()

1234