Home
last modified time | relevance | path

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

1234567

/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dsimple.c129 unsigned int section_count; member
176 if (section->index >= saved_offsets->section_count) in simple_restore_output_info()
262 saved_offsets.section_count = abfd->section_count; in bfd_simple_get_relocated_section_contents()
264 * saved_offsets.section_count); in bfd_simple_get_relocated_section_contents()
H A Dformat.c109 unsigned int section_count; member
137 preserve->section_count = abfd->section_count; in bfd_preserve_save()
218 abfd->section_count = preserve->section_count; in bfd_preserve_restore()
H A Dsection.c840 newsect->index = abfd->section_count; in bfd_section_init()
847 abfd->section_count++; in bfd_section_init()
879 abfd->section_count = 0; in bfd_section_list_clear()
1386 if (i != abfd->section_count) /* Debugging */ in bfd_map_over_sections()
H A Dpef.h36 unsigned short section_count; member
H A Dpef.c542 if (header->section_count != 0) in bfd_pef_scan()
544 mdata->sections = bfd_alloc (abfd, header->section_count * sizeof (bfd_pef_section)); in bfd_pef_scan()
549 for (i = 0; i < header->section_count; i++) in bfd_pef_scan()
583 header->section_count = bfd_getb32 (buf + 32) + 1; in bfd_pef_read_header()
H A Delf.c4235 abfd->section_count--; in assign_section_numbers()
7749 unsigned int section_count; in rewrite_elf_program_header() local
7764 for (section = ibfd->sections, section_count = 0; in rewrite_elf_program_header()
7775 ++section_count; in rewrite_elf_program_header()
7782 amt += section_count * sizeof (asection *); in rewrite_elf_program_header()
7832 if (section_count == 0) in rewrite_elf_program_header()
7887 amt = section_count * sizeof (asection *); in rewrite_elf_program_header()
7949 if (j == section_count) in rewrite_elf_program_header()
7954 BFD_ASSERT (j == section_count); in rewrite_elf_program_header()
7958 if (isec == section_count) in rewrite_elf_program_header()
[all …]
H A Dvms-alpha.c285 unsigned int section_count; /* Number of GSD sections. */ member
517 int section_count = 0; in _bfd_vms_slurp_eisd() local
627 BFD_ASSERT (section_count < 999); in _bfd_vms_slurp_eisd()
628 sprintf (name, "$%s_%03d$", pfx, section_count++); in _bfd_vms_slurp_eisd()
1304 if (PRIV (section_count) >= PRIV (section_max)) in _bfd_vms_slurp_egsd()
1316 PRIV (sections)[PRIV (section_count)] = section; in _bfd_vms_slurp_egsd()
1317 PRIV (section_count)++; in _bfd_vms_slurp_egsd()
1363 if (psindx < 0 || psindx >= (int) PRIV (section_count)) in _bfd_vms_slurp_egsd()
1381 if (psindx < 0 || psindx >= (int) PRIV (section_count)) in _bfd_vms_slurp_egsd()
1415 if (psindx < 0 || psindx >= (int) PRIV (section_count)) in _bfd_vms_slurp_egsd()
[all …]
H A Dcofflink.c764 amt = abfd->section_count + 1; in _bfd_coff_final_link()
769 for (i = 0; i <= abfd->section_count; i++) in _bfd_coff_final_link()
1119 for (i = 0; i < abfd->section_count; i++) in _bfd_coff_final_link()
1178 for (i = 0; i < abfd->section_count; i++) in _bfd_coff_final_link()
H A Decoff.c2046 amt = abfd->section_count; in ecoff_compute_section_file_positions()
2055 BFD_ASSERT (i == abfd->section_count); in ecoff_compute_section_file_positions()
2057 qsort (sorted_hdrs, abfd->section_count, sizeof (asection *), in ecoff_compute_section_file_positions()
2065 for (i = 0; i < abfd->section_count; i++) in ecoff_compute_section_file_positions()
2083 for (i = 0; i < abfd->section_count; i++) in ecoff_compute_section_file_positions()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dsimple.c128 unsigned int section_count; member
175 if (section->index >= saved_offsets->section_count) in simple_restore_output_info()
275 saved_offsets.section_count = abfd->section_count; in bfd_simple_get_relocated_section_contents()
277 * saved_offsets.section_count); in bfd_simple_get_relocated_section_contents()
H A Dformat.c105 unsigned int section_count; member
130 preserve->section_count = abfd->section_count; in bfd_preserve_save()
171 abfd->section_count = preserve->section_count; in bfd_preserve_restore()
H A Dsection.c826 newsect->index = abfd->section_count; in bfd_section_init()
833 abfd->section_count++; in bfd_section_init()
865 abfd->section_count = 0; in bfd_section_list_clear()
1372 if (i != abfd->section_count) /* Debugging */ in bfd_map_over_sections()
H A Dpef.h36 unsigned short section_count; member
H A Dpef.c541 if (header->section_count != 0) in bfd_pef_scan()
543 mdata->sections = bfd_alloc (abfd, header->section_count * sizeof (bfd_pef_section)); in bfd_pef_scan()
548 for (i = 0; i < header->section_count; i++) in bfd_pef_scan()
583 header->section_count = bfd_getb32 (buf + 32) + 1; in bfd_pef_read_header()
H A Delf.c3712 abfd->section_count--; in assign_section_numbers()
7149 unsigned int section_count; in rewrite_elf_program_header() local
7164 for (section = ibfd->sections, section_count = 0; in rewrite_elf_program_header()
7175 ++section_count; in rewrite_elf_program_header()
7182 amt += section_count * sizeof (asection *); in rewrite_elf_program_header()
7232 if (section_count == 0) in rewrite_elf_program_header()
7285 amt = section_count * sizeof (asection *); in rewrite_elf_program_header()
7349 if (j == section_count) in rewrite_elf_program_header()
7354 BFD_ASSERT (j == section_count); in rewrite_elf_program_header()
7358 if (isec == section_count) in rewrite_elf_program_header()
[all …]
H A Dvms-alpha.c284 unsigned int section_count; /* Number of GSD sections. */ member
516 int section_count = 0; in _bfd_vms_slurp_eisd() local
626 BFD_ASSERT (section_count < 999); in _bfd_vms_slurp_eisd()
627 sprintf (name, "$%s_%03d$", pfx, section_count++); in _bfd_vms_slurp_eisd()
1303 if (PRIV (section_count) >= PRIV (section_max)) in _bfd_vms_slurp_egsd()
1315 PRIV (sections)[PRIV (section_count)] = section; in _bfd_vms_slurp_egsd()
1316 PRIV (section_count)++; in _bfd_vms_slurp_egsd()
1362 if (psindx < 0 || psindx >= (int) PRIV (section_count)) in _bfd_vms_slurp_egsd()
1380 if (psindx < 0 || psindx >= (int) PRIV (section_count)) in _bfd_vms_slurp_egsd()
1414 if (psindx < 0 || psindx >= (int) PRIV (section_count)) in _bfd_vms_slurp_egsd()
[all …]
H A Dcofflink.c732 amt = abfd->section_count + 1; in _bfd_coff_final_link()
737 for (i = 0; i <= abfd->section_count; i++) in _bfd_coff_final_link()
1087 for (i = 0; i < abfd->section_count; i++) in _bfd_coff_final_link()
1147 for (i = 0; i < abfd->section_count; i++) in _bfd_coff_final_link()
H A Decoff.c1966 amt = abfd->section_count; in ecoff_compute_section_file_positions()
1975 BFD_ASSERT (i == abfd->section_count); in ecoff_compute_section_file_positions()
1977 qsort (sorted_hdrs, abfd->section_count, sizeof (asection *), in ecoff_compute_section_file_positions()
1985 for (i = 0; i < abfd->section_count; i++) in ecoff_compute_section_file_positions()
2003 for (i = 0; i < abfd->section_count; i++) in ecoff_compute_section_file_positions()
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Dcoffgrok.c116 struct coff_section *all = (struct coff_section *) (xcalloc (abfd->section_count + 1, in do_sections_p1()
118 head->nsections = abfd->section_count + 1; in do_sections_p1()
129 if (i > abfd->section_count) in do_sections_p1()
748 …ection = (struct coff_isection *) xcalloc (sizeof (struct coff_isection), abfd->section_count + 1); in doit()
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Dcoffgrok.c116 struct coff_section *all = (struct coff_section *) (xcalloc (abfd->section_count + 1, in do_sections_p1()
118 head->nsections = abfd->section_count + 1; in do_sections_p1()
129 if (i > abfd->section_count) in do_sections_p1()
728 …ection = (struct coff_isection *) xcalloc (sizeof (struct coff_isection), abfd->section_count + 1); in doit()
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Dincremental.h891 unsigned int section_count = this->get_input_section_count(); in get_symbol_offset() local
894 + section_count * this->input_section_entry_size in get_symbol_offset()
1045 unsigned int section_count = this->get_input_section_count(); in get_global_symbol_reader() local
1049 + section_count * this->input_section_entry_size in get_global_symbol_reader()
1058 unsigned int section_count = this->get_input_section_count(); in get_comdat_group_signature() local
1063 + section_count * this->input_section_entry_size in get_comdat_group_signature()
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Dincremental.h891 unsigned int section_count = this->get_input_section_count(); in get_symbol_offset() local
894 + section_count * this->input_section_entry_size in get_symbol_offset()
1045 unsigned int section_count = this->get_input_section_count(); in get_global_symbol_reader() local
1049 + section_count * this->input_section_entry_size in get_global_symbol_reader()
1058 unsigned int section_count = this->get_input_section_count(); in get_comdat_group_signature() local
1063 + section_count * this->input_section_entry_size in get_comdat_group_signature()
/netbsd-src/external/gpl3/binutils/dist/ld/
H A Dpdb.c4181 sect_flags = xmalloc (sizeof (uint32_t) * abfd->section_count); in create_section_contrib_substream()
4186 for (unsigned int i = 0; i < abfd->section_count; i++) in create_section_contrib_substream()
4969 unsigned int section_count; in create_section_header_stream() local
4978 section_count = abfd->section_count; in create_section_header_stream()
4984 section_count--; in create_section_header_stream()
4987 if (section_count == 0) in create_section_header_stream()
4998 len = section_count * sizeof (struct external_scnhdr); in create_section_header_stream()
H A Dldwrite.c427 int nsecs = abfd->section_count; in split_sections()
/netbsd-src/external/gpl3/binutils.old/dist/ld/
H A Dldwrite.c422 int nsecs = abfd->section_count; in split_sections()

1234567