Home
last modified time | relevance | path

Searched refs:isec (Results 1 – 25 of 29) sorted by relevance

12

/toolchain/binutils/binutils-2.25/ld/emultempl/
Dsh64elf.em99 asection *isec;
101 for (isec = f->the_bfd->sections;
102 isec != NULL;
103 isec = isec->next)
105 if (elf_section_data (isec)->this_hdr.sh_flags
151 asection *isec;
153 for (isec = f->the_bfd->sections;
154 isec != NULL;
155 isec = isec->next)
157 if (isec->output_section == osec
[all …]
/toolchain/binutils/binutils-2.25/bfd/
Delf64-mmix.c894 mmix_elf_perform_relocation (asection *isec, reloc_howto_type *howto, in mmix_elf_perform_relocation() argument
898 bfd *abfd = isec->owner; in mmix_elf_perform_relocation()
958 bfd_size_type size = isec->rawsize ? isec->rawsize : isec->size; in mmix_elf_perform_relocation()
965 - (addr - (isec->output_section->vma + isec->output_offset)) in mmix_elf_perform_relocation()
967 + mmix_elf_section_data (isec)->pjs.stub_offset); in mmix_elf_perform_relocation()
970 if (mmix_elf_section_data (isec)->pjs.n_pushj_relocs == 0) in mmix_elf_perform_relocation()
979 if (! mmix_elf_section_data (isec)->has_warned_pushj) in mmix_elf_perform_relocation()
990 mmix_elf_section_data (isec)->has_warned_pushj = TRUE; in mmix_elf_perform_relocation()
1002 r = mmix_elf_perform_relocation (isec, in mmix_elf_perform_relocation()
1007 isec->output_section->vma in mmix_elf_perform_relocation()
[all …]
Delf32-avr.c1632 struct bfd_section *isec, in elf32_avr_adjust_diff_reloc_value() argument
1639 unsigned char *isec_contents = elf_section_data (isec)->this_hdr.contents; in elf32_avr_adjust_diff_reloc_value()
1642 if (! bfd_malloc_and_get_section (abfd, isec, &isec_contents)) in elf32_avr_adjust_diff_reloc_value()
1645 elf_section_data (isec)->this_hdr.contents = isec_contents; in elf32_avr_adjust_diff_reloc_value()
1788 struct bfd_section *isec; in elf32_avr_relax_delete_bytes() local
1790 for (isec = abfd->sections; isec; isec = isec->next) in elf32_avr_relax_delete_bytes()
1795 if (isec->reloc_count == 0) in elf32_avr_relax_delete_bytes()
1801 irel = elf_section_data (isec)->relocs; in elf32_avr_relax_delete_bytes()
1804 irel = _bfd_elf_link_read_relocs (abfd, isec, NULL, NULL, TRUE); in elf32_avr_relax_delete_bytes()
1806 for (irelend = irel + isec->reloc_count; in elf32_avr_relax_delete_bytes()
[all …]
Delf64-ppc.c11183 ppc64_elf_next_toc_section (struct bfd_link_info *info, asection *isec) in ppc64_elf_next_toc_section() argument
11194 bfd_boolean new_bfd = htab->toc_bfd != isec->owner; in ppc64_elf_next_toc_section()
11198 htab->toc_bfd = isec->owner; in ppc64_elf_next_toc_section()
11199 htab->toc_first_sec = isec; in ppc64_elf_next_toc_section()
11202 addr = isec->output_offset + isec->output_section->vma; in ppc64_elf_next_toc_section()
11205 if (ppc64_elf_tdata (isec->owner)->has_small_toc_reloc) in ppc64_elf_next_toc_section()
11207 if (off + isec->size > limit) in ppc64_elf_next_toc_section()
11219 off = htab->toc_curr - elf_gp (isec->output_section->owner); in ppc64_elf_next_toc_section()
11225 && elf_gp (isec->owner) != 0 in ppc64_elf_next_toc_section()
11226 && elf_gp (isec->owner) != off) in ppc64_elf_next_toc_section()
[all …]
Delf32-ppc.c6693 asection *isec, in ppc_elf_relax_section() argument
6724 if ((isec->flags & SEC_ALLOC) == 0 in ppc_elf_relax_section()
6725 || (isec->flags & SEC_CODE) == 0 in ppc_elf_relax_section()
6726 || (isec->flags & SEC_LINKER_CREATED) != 0 in ppc_elf_relax_section()
6727 || isec->size < 4) in ppc_elf_relax_section()
6740 isec->size = (isec->size + 3) & -4; in ppc_elf_relax_section()
6741 if (isec->rawsize == 0) in ppc_elf_relax_section()
6742 isec->rawsize = isec->size; in ppc_elf_relax_section()
6743 trampbase = isec->size; in ppc_elf_relax_section()
6745 BFD_ASSERT (isec->sec_info_type == SEC_INFO_TYPE_NONE in ppc_elf_relax_section()
[all …]
Delf32-spu.c1056 asection *isec, in count_stub() argument
1071 ovl = spu_elf_section_data (isec->output_section)->u.o.ovl_index; in count_stub()
1187 asection *isec, in build_stub() argument
1203 ovl = spu_elf_section_data (isec->output_section)->u.o.ovl_index; in build_stub()
1223 + isec->output_offset in build_stub()
1224 + isec->output_section->vma); in build_stub()
1305 caller = find_function (isec, irela->r_offset, info); in build_stub()
1360 isec, irela->r_offset, lrlive, in build_stub()
1527 asection *isec; in process_stubs() local
1539 for (isec = ibfd->sections; isec != NULL; isec = isec->next) in process_stubs()
[all …]
Delf32-crx.c781 asection *isec; in elf32_crx_get_relocated_section_contents() local
784 isec = bfd_und_section_ptr; in elf32_crx_get_relocated_section_contents()
786 isec = bfd_abs_section_ptr; in elf32_crx_get_relocated_section_contents()
788 isec = bfd_com_section_ptr; in elf32_crx_get_relocated_section_contents()
790 isec = bfd_section_from_elf_index (input_bfd, isym->st_shndx); in elf32_crx_get_relocated_section_contents()
792 *secpp = isec; in elf32_crx_get_relocated_section_contents()
Delf32-sh64.c312 sh64_bfd_elf_copy_private_section_data (bfd *ibfd, asection *isec, in sh64_bfd_elf_copy_private_section_data() argument
321 if (! _bfd_elf_copy_private_section_data (ibfd, isec, obfd, osec)) in sh64_bfd_elf_copy_private_section_data()
324 sh64_sec_data = sh64_elf_section_data (isec)->sh64_info; in sh64_bfd_elf_copy_private_section_data()
333 = (elf_section_data (isec)->this_hdr.sh_flags in sh64_bfd_elf_copy_private_section_data()
Delf-m10200.c1335 asection *isec; in mn10200_elf_get_relocated_section_contents() local
1338 isec = bfd_und_section_ptr; in mn10200_elf_get_relocated_section_contents()
1340 isec = bfd_abs_section_ptr; in mn10200_elf_get_relocated_section_contents()
1342 isec = bfd_com_section_ptr; in mn10200_elf_get_relocated_section_contents()
1344 isec = bfd_section_from_elf_index (input_bfd, isym->st_shndx); in mn10200_elf_get_relocated_section_contents()
1346 *secpp = isec; in mn10200_elf_get_relocated_section_contents()
Delf64-sh64.c2166 asection *isec; in sh_elf64_get_relocated_section_contents() local
2169 isec = bfd_und_section_ptr; in sh_elf64_get_relocated_section_contents()
2171 isec = bfd_abs_section_ptr; in sh_elf64_get_relocated_section_contents()
2173 isec = bfd_com_section_ptr; in sh_elf64_get_relocated_section_contents()
2175 isec = bfd_section_from_elf_index (input_bfd, isymp->st_shndx); in sh_elf64_get_relocated_section_contents()
2177 *secpp = isec; in sh_elf64_get_relocated_section_contents()
2263 asection *isec; in sh_elf64_copy_private_data_internal() local
2274 for (isec = ibfd->sections; isec; isec = isec->next) in sh_elf64_copy_private_data_internal()
2276 if (strcmp (osec->name, isec->name) == 0) in sh_elf64_copy_private_data_internal()
2279 if ((elf_section_data (isec)->this_hdr.sh_flags in sh_elf64_copy_private_data_internal()
Delf.c5834 unsigned int isec; in rewrite_elf_program_header() local
5961 isec = 0; in rewrite_elf_program_header()
5988 && isec == 0 in rewrite_elf_program_header()
6016 map->sections[isec++] = output_section; in rewrite_elf_program_header()
6033 if (isec == section_count) in rewrite_elf_program_header()
6112 isec = 0; in rewrite_elf_program_header()
6173 ++isec; in rewrite_elf_program_header()
6190 if (isec < section_count) in rewrite_elf_program_header()
6217 while (isec < section_count); in rewrite_elf_program_header()
6366 unsigned int isec = 0; in copy_elf_program_header() local
[all …]
Delf32-h8300.c1665 asection *isec; in elf32_h8_get_relocated_section_contents() local
1668 isec = bfd_und_section_ptr; in elf32_h8_get_relocated_section_contents()
1670 isec = bfd_abs_section_ptr; in elf32_h8_get_relocated_section_contents()
1672 isec = bfd_com_section_ptr; in elf32_h8_get_relocated_section_contents()
1674 isec = bfd_section_from_elf_index (input_bfd, isym->st_shndx); in elf32_h8_get_relocated_section_contents()
1676 *secpp = isec; in elf32_h8_get_relocated_section_contents()
Delflink.c9261 asection *isec; in elf_link_input_bfd() local
9279 isec = bfd_und_section_ptr; in elf_link_input_bfd()
9281 isec = bfd_abs_section_ptr; in elf_link_input_bfd()
9283 isec = bfd_com_section_ptr; in elf_link_input_bfd()
9286 isec = bfd_section_from_elf_index (input_bfd, isym->st_shndx); in elf_link_input_bfd()
9287 if (isec == NULL) in elf_link_input_bfd()
9294 else if (isec->sec_info_type == SEC_INFO_TYPE_MERGE in elf_link_input_bfd()
9297 _bfd_merged_section_offset (output_bfd, &isec, in elf_link_input_bfd()
9298 elf_section_data (isec)->sec_info, in elf_link_input_bfd()
9302 *ppsection = isec; in elf_link_input_bfd()
[all …]
Delf32-cr16.c1577 asection *isec; in elf32_cr16_get_relocated_section_contents() local
1580 isec = bfd_und_section_ptr; in elf32_cr16_get_relocated_section_contents()
1582 isec = bfd_abs_section_ptr; in elf32_cr16_get_relocated_section_contents()
1584 isec = bfd_com_section_ptr; in elf32_cr16_get_relocated_section_contents()
1586 isec = bfd_section_from_elf_index (input_bfd, isym->st_shndx); in elf32_cr16_get_relocated_section_contents()
1588 *secpp = isec; in elf32_cr16_get_relocated_section_contents()
Delf32-metag.c3797 elf_metag_next_input_section (struct bfd_link_info *info, asection *isec) in elf_metag_next_input_section() argument
3801 if (isec->output_section->index <= htab->top_index) in elf_metag_next_input_section()
3803 asection **list = htab->input_list + isec->output_section->index; in elf_metag_next_input_section()
3810 PREV_SEC (isec) = *list; in elf_metag_next_input_section()
3811 *list = isec; in elf_metag_next_input_section()
Daout-target.h214 asection *isec ATTRIBUTE_UNUSED, in MY_bfd_copy_private_section_data()
Delf-m10300.c4495 asection *isec; in mn10300_elf_get_relocated_section_contents() local
4498 isec = bfd_und_section_ptr; in mn10300_elf_get_relocated_section_contents()
4500 isec = bfd_abs_section_ptr; in mn10300_elf_get_relocated_section_contents()
4502 isec = bfd_com_section_ptr; in mn10300_elf_get_relocated_section_contents()
4504 isec = bfd_section_from_elf_index (input_bfd, isym->st_shndx); in mn10300_elf_get_relocated_section_contents()
4506 *secpp = isec; in mn10300_elf_get_relocated_section_contents()
Delf32-hppa.c2570 elf32_hppa_next_input_section (struct bfd_link_info *info, asection *isec) in elf32_hppa_next_input_section() argument
2577 if (isec->output_section->index <= htab->top_index) in elf32_hppa_next_input_section()
2579 asection **list = htab->input_list + isec->output_section->index; in elf32_hppa_next_input_section()
2586 PREV_SEC (isec) = *list; in elf32_hppa_next_input_section()
2587 *list = isec; in elf32_hppa_next_input_section()
Dlibbfd.c1109 asection *isec ATTRIBUTE_UNUSED, in _bfd_generic_init_private_section_data()
Delf32-nios2.c1450 nios2_elf32_next_input_section (struct bfd_link_info *info, asection *isec) in nios2_elf32_next_input_section() argument
1454 if (isec->output_section->index <= htab->top_index) in nios2_elf32_next_input_section()
1456 asection **list = htab->input_list + isec->output_section->index; in nios2_elf32_next_input_section()
1462 htab->stub_group[isec->id].last_sec = *list; in nios2_elf32_next_input_section()
1463 *list = isec; in nios2_elf32_next_input_section()
Delf32-nds32.c14497 asection *isec; in nds32_elf_ex9_replace_instruction() local
14616 isec = elf_elfsections (abfd)[shndx]->bfd_section; in nds32_elf_ex9_replace_instruction()
14617 if (ex9_insn->sec == isec in nds32_elf_ex9_replace_instruction()
14655 isec = elf_elfsections (abfd)[shndx]->bfd_section; in nds32_elf_ex9_replace_instruction()
14656 if (ex9_insn->sec == isec in nds32_elf_ex9_replace_instruction()
14933 asection isec; in nds32_elf_ex9_reloc_insn() local
14934 asection *isec_ptr = &isec; in nds32_elf_ex9_reloc_insn()
15304 asection *isec; in nds32_elf_ex9_build_hash_table() local
15367 isec = NULL; in nds32_elf_ex9_build_hash_table()
15405 isec = elf_elfsections (abfd)[shndx]->bfd_section; in nds32_elf_ex9_build_hash_table()
[all …]
DpeXXigen.c2962 asection *isec, in _bfd_XX_bfd_copy_private_section_data() argument
2970 if (coff_section_data (ibfd, isec) != NULL in _bfd_XX_bfd_copy_private_section_data()
2971 && pei_section_data (ibfd, isec) != NULL) in _bfd_XX_bfd_copy_private_section_data()
2990 pei_section_data (ibfd, isec)->virt_size; in _bfd_XX_bfd_copy_private_section_data()
2992 pei_section_data (ibfd, isec)->pe_flags; in _bfd_XX_bfd_copy_private_section_data()
Delf32-sh.c5583 asection *isec; in sh_elf_get_relocated_section_contents() local
5586 isec = bfd_und_section_ptr; in sh_elf_get_relocated_section_contents()
5588 isec = bfd_abs_section_ptr; in sh_elf_get_relocated_section_contents()
5590 isec = bfd_com_section_ptr; in sh_elf_get_relocated_section_contents()
5592 isec = bfd_section_from_elf_index (input_bfd, isym->st_shndx); in sh_elf_get_relocated_section_contents()
5594 *secpp = isec; in sh_elf_get_relocated_section_contents()
Daout-tic30.c617 asection *isec ATTRIBUTE_UNUSED, in MY_bfd_copy_private_section_data()
Delfnn-aarch64.c2678 elfNN_aarch64_next_input_section (struct bfd_link_info *info, asection *isec) in elfNN_aarch64_next_input_section() argument
2683 if (isec->output_section->index <= htab->top_index) in elfNN_aarch64_next_input_section()
2685 asection **list = htab->input_list + isec->output_section->index; in elfNN_aarch64_next_input_section()
2692 PREV_SEC (isec) = *list; in elfNN_aarch64_next_input_section()
2693 *list = isec; in elfNN_aarch64_next_input_section()

12