| /netbsd-src/external/gpl3/binutils/dist/bfd/ |
| H A D | simple.c | 129 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 D | format.c | 109 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 D | section.c | 840 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 D | pef.h | 36 unsigned short section_count; member
|
| H A D | pef.c | 542 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 D | elf.c | 4235 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 D | vms-alpha.c | 285 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 D | cofflink.c | 764 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 D | ecoff.c | 2046 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 D | simple.c | 128 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 D | format.c | 105 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 D | section.c | 826 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 D | pef.h | 36 unsigned short section_count; member
|
| H A D | pef.c | 541 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 D | elf.c | 3712 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 D | vms-alpha.c | 284 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 D | cofflink.c | 732 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 D | ecoff.c | 1966 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 D | coffgrok.c | 116 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 D | coffgrok.c | 116 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 D | incremental.h | 891 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 D | incremental.h | 891 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 D | pdb.c | 4181 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 D | ldwrite.c | 427 int nsecs = abfd->section_count; in split_sections()
|
| /netbsd-src/external/gpl3/binutils.old/dist/ld/ |
| H A D | ldwrite.c | 422 int nsecs = abfd->section_count; in split_sections()
|