/toolchain/binutils/binutils-2.25/ld/ |
D | ldwrite.c | 45 asection *output_section; in build_link_order() local 50 output_section = statement->data_statement.output_section; in build_link_order() 51 ASSERT (output_section->owner == link_info.output_bfd); in build_link_order() 53 if (!((output_section->flags & SEC_HAS_CONTENTS) != 0 in build_link_order() 54 || ((output_section->flags & SEC_LOAD) != 0 in build_link_order() 55 && (output_section->flags & SEC_THREAD_LOCAL)))) in build_link_order() 58 link_order = bfd_new_link_order (link_info.output_bfd, output_section); in build_link_order() 139 ASSERT (output_section->owner == link_info.output_bfd); in build_link_order() 191 asection *output_section; in build_link_order() local 196 output_section = rs->output_section; in build_link_order() [all …]
|
/toolchain/binutils/binutils-2.25/bfd/ |
D | i386lynx.c | 121 asection *output_section = sym->section->output_section; in NAME() local 142 if (bfd_is_com_section (output_section) in NAME() 143 || bfd_is_abs_section (output_section) in NAME() 144 || bfd_is_und_section (output_section)) in NAME() 164 r_index = output_section->target_index; in NAME() 210 asection *output_section = sym->section->output_section; in NAME() local 216 r_addend = g->addend + (*(g->sym_ptr_ptr))->section->output_section->vma; in NAME() 227 if (bfd_is_com_section (output_section) in NAME() 228 || bfd_is_abs_section (output_section) in NAME() 229 || bfd_is_und_section (output_section)) in NAME() [all …]
|
D | elf32-frv.c | 1353 && sec->output_section in _frvfdpic_emit_got_relocs_plt_entries() 1354 && ! bfd_is_abs_section (sec->output_section) in _frvfdpic_emit_got_relocs_plt_entries() 1355 && ! bfd_is_und_section (sec->output_section)) in _frvfdpic_emit_got_relocs_plt_entries() 1356 dynindx = elf_section_data (sec->output_section)->dynindx; in _frvfdpic_emit_got_relocs_plt_entries() 1378 if (sec->output_section && elf_section_data (sec->output_section)) in _frvfdpic_emit_got_relocs_plt_entries() 1379 idx = elf_section_data (sec->output_section)->dynindx; in _frvfdpic_emit_got_relocs_plt_entries() 1392 ad += sec->output_section->vma; in _frvfdpic_emit_got_relocs_plt_entries() 1397 frvfdpic_got_section (info)->output_section in _frvfdpic_emit_got_relocs_plt_entries() 1411 ->output_section->vma in _frvfdpic_emit_got_relocs_plt_entries() 1446 ->output_section)->dynindx; in _frvfdpic_emit_got_relocs_plt_entries() [all …]
|
D | elf32-dlx.c | 88 relocation += symbol->section->output_section->vma; in _bfd_dlx_elf_hi16_reloc() 139 if (strcmp (input_section->name, symbol->section->output_section->name) != 0) in elf32_dlx_relocate16() 142 symbol->section->output_section->name); in elf32_dlx_relocate16() 147 allignment = 1 << (input_section->output_section->alignment_power - 1); in elf32_dlx_relocate16() 154 vallo += (((unsigned long)(input_section->output_section->vma + in elf32_dlx_relocate16() 160 symbol->section->output_section->vma + in elf32_dlx_relocate16() 201 if (strcmp (input_section->name, symbol->section->output_section->name) != 0) in elf32_dlx_relocate26() 204 symbol->section->output_section->name); in elf32_dlx_relocate26() 209 allignment = 1 << (input_section->output_section->alignment_power - 1); in elf32_dlx_relocate26() 216 vallo += (((unsigned long) (input_section->output_section->vma + in elf32_dlx_relocate26() [all …]
|
D | elf32-bfin.c | 59 asection *output_section; in bfin_pcrel24_reloc() local 75 output_section = symbol->section->output_section; in bfin_pcrel24_reloc() 80 output_base = output_section->vma; in bfin_pcrel24_reloc() 88 relocation -= input_section->output_section->vma + input_section->output_offset; in bfin_pcrel24_reloc() 156 asection *output_section; in bfin_imm16_reloc() local 168 output_section = symbol->section->output_section; in bfin_imm16_reloc() 175 output_base = output_section->vma; in bfin_imm16_reloc() 227 asection *output_section; in bfin_byte4_reloc() local 239 output_section = symbol->section->output_section; in bfin_byte4_reloc() 245 output_base = output_section->vma; in bfin_byte4_reloc() [all …]
|
D | elf64-hppa.c | 942 && eh->root.u.def.section->output_section != NULL in elf64_hppa_mark_exported_functions() 1002 && eh->root.u.def.section->output_section != NULL)) in allocate_global_data_plt() 1035 && eh->root.u.def.section->output_section != NULL)) in allocate_global_data_stub() 1059 || hh->eh.root.u.def.section->output_section == NULL)) in allocate_global_data_opd() 1608 && bfd_is_abs_section (hdh_p->sec->output_section)) in elf64_hppa_size_dynamic_sections() 1619 if ((hdh_p->sec->output_section->flags & SEC_READONLY) != 0) in elf64_hppa_size_dynamic_sections() 1790 sec->output_section); in elf64_hppa_size_dynamic_sections() 1981 + sopd->output_section->vma); in elf64_hppa_finish_dynamic_symbol() 1983 sopd->output_section); in elf64_hppa_finish_dynamic_symbol() 2017 value = _bfd_get_gp_value (splt->output_section->owner); in elf64_hppa_finish_dynamic_symbol() [all …]
|
D | elf64-s390.c | 422 + symbol->section->output_section->vma in s390_elf_ldisp_reloc() 427 relocation -= (input_section->output_section->vma in s390_elf_ldisp_reloc() 1671 s = p->sec->output_section; in elf_s390_adjust_dynamic_symbol() 1954 asection *s = p->sec->output_section; in readonly_dynrelocs() 2025 && bfd_is_abs_section (p->sec->output_section)) in elf_s390_size_dynamic_sections() 2036 if ((p->sec->output_section->flags & SEC_READONLY) != 0) in elf_s390_size_dynamic_sections() 2332 relocation = (htab->elf.iplt->output_section->vma in elf_s390_relocate_section() 2341 relocation -= htab->elf.sgot->output_section->vma; in elf_s390_relocate_section() 2364 relocation += htab->elf.sgot->output_section->vma; in elf_s390_relocate_section() 2424 relocation += htab->elf.igotplt->output_section->vma; in elf_s390_relocate_section() [all …]
|
D | elf32-s390.c | 397 + symbol->section->output_section->vma in s390_elf_ldisp_reloc() 402 relocation -= (input_section->output_section->vma in s390_elf_ldisp_reloc() 1728 s = p->sec->output_section; in elf_s390_adjust_dynamic_symbol() 2007 asection *s = p->sec->output_section; in readonly_dynrelocs() 2075 && bfd_is_abs_section (p->sec->output_section)) in elf_s390_size_dynamic_sections() 2086 if ((p->sec->output_section->flags & SEC_READONLY) != 0) in elf_s390_size_dynamic_sections() 2376 relocation = (htab->elf.iplt->output_section->vma in elf_s390_relocate_section() 2384 relocation -= htab->elf.sgot->output_section->vma; in elf_s390_relocate_section() 2405 relocation += htab->elf.sgot->output_section->vma; in elf_s390_relocate_section() 2464 relocation += htab->elf.igotplt->output_section->vma; in elf_s390_relocate_section() [all …]
|
D | elf32-i386.c | 2134 s = p->sec->output_section; in elf_i386_adjust_dynamic_symbol() 2384 if (strcmp (p->sec->output_section->name, ".tls_vars") == 0) in elf_i386_allocate_dynrelocs() 2490 asection *s = p->sec->output_section; in elf_i386_readonly_dynrelocs() 2536 || bfd_is_abs_section (sec->output_section)) in elf_i386_convert_mov_to_lea() 2718 && bfd_is_abs_section (p->sec->output_section)) in elf_i386_size_dynamic_sections() 2726 && strcmp (p->sec->output_section->name, in elf_i386_size_dynamic_sections() 2736 if ((p->sec->output_section->flags & SEC_READONLY) != 0 in elf_i386_size_dynamic_sections() 2860 && !bfd_is_abs_section (htab->elf.splt->output_section) in elf_i386_size_dynamic_sections() 3171 && !strcmp (input_section->output_section->name, in elf_i386_relocate_section() 3224 relocation = (sec->output_section->vma in elf_i386_relocate_section() [all …]
|
D | stabs.c | 179 if (bfd_is_abs_section (stabsec->output_section) in _bfd_link_section_stabs() 180 || bfd_is_abs_section (stabstrsec->output_section)) in _bfd_link_section_stabs() 533 if ((stabsec->output_section != NULL in _bfd_discard_section_stabs() 534 && bfd_is_abs_section (stabsec->output_section))) in _bfd_discard_section_stabs() 673 return bfd_set_section_contents (output_bfd, stabsec->output_section, in _bfd_write_section_stabs() 712 stabsec->output_section->size / STABSIZE - 1, in _bfd_write_section_stabs() 722 return bfd_set_section_contents (output_bfd, stabsec->output_section, in _bfd_write_section_stabs() 732 if (bfd_is_abs_section (sinfo->stabstr->output_section)) in _bfd_write_stab_strings() 738 <= sinfo->stabstr->output_section->size); in _bfd_write_stab_strings() 741 (file_ptr) (sinfo->stabstr->output_section->filepos in _bfd_write_stab_strings()
|
D | elf32-sh.c | 213 x += ((symbol_section->output_section->vma + symbol_section->output_offset) in sh_elf_reloc_loop() 214 - (input_section->output_section->vma in sh_elf_reloc_loop() 262 symbol_in->section->output_section->vma + in sh_elf_reloc() 275 sym_value -= (input_section->output_section->vma in sh_elf_reloc() 645 + sec->output_section->vma in sh_elf_relax_section() 666 + h->root.u.def.section->output_section->vma in sh_elf_relax_section() 678 + sec->output_section->vma in sh_elf_relax_section() 2881 s = p->sec->output_section; in sh_elf_adjust_dynamic_symbol() 3200 if (strcmp (p->sec->output_section->name, ".tls_vars") == 0) in allocate_dynrelocs() 3283 asection *s = p->sec->output_section; in readonly_dynrelocs() [all …]
|
D | sunos.c | 1770 && h->root.root.u.def.section->output_section == NULL) in sunos_scan_dynamic_symbol() 2115 r_address = (splt->output_section->vma in sunos_write_dynamic_symbol() 2135 val = (h->root.root.u.def.section->output_section->vma in sunos_write_dynamic_symbol() 2245 asection *output_section; in sunos_write_dynamic_symbol() local 2248 output_section = sec->output_section; in sunos_write_dynamic_symbol() 2249 BFD_ASSERT (bfd_is_abs_section (output_section) in sunos_write_dynamic_symbol() 2250 || output_section->owner == output_bfd); in sunos_write_dynamic_symbol() 2259 if (output_section == obj_textsec (output_bfd)) in sunos_write_dynamic_symbol() 2263 else if (output_section == obj_datasec (output_bfd)) in sunos_write_dynamic_symbol() 2267 else if (output_section == obj_bsssec (output_bfd)) in sunos_write_dynamic_symbol() [all …]
|
D | elf32-metag.c | 1247 input_section->output_section->vma); in metag_final_link_relocate() 1258 relocation -= elf_gp (input_section->output_section->owner); in metag_final_link_relocate() 1290 + hsh->stub_sec->output_section->vma); in metag_final_link_relocate() 1424 rel_hdr = _bfd_elf_single_rel_hdr (input_section->output_section); \ 1604 outrel.r_offset += (input_section->output_section->vma in elf_metag_relocate_section() 1671 relocation = (htab->splt->output_section->vma in elf_metag_relocate_section() 1679 relocation = (htab->sgot->output_section->vma + in elf_metag_relocate_section() 1682 relocation -= (input_section->output_section->vma in elf_metag_relocate_section() 1691 relocation -= (htab->sgot->output_section->vma + in elf_metag_relocate_section() 1759 + htab->sgot->output_section->vma); in elf_metag_relocate_section() [all …]
|
D | elf32-nios2.c | 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() 1505 bfd_vma start = tail->output_section->vma + tail->output_offset; in group_sections() 1531 || tail->output_section != prev->output_section in group_sections() 1532 || (CALL26_SEGMENT (prev->output_section->vma in group_sections() 1574 location = (input_sec->output_section->vma in nios2_type_of_stub() 1590 start = s->output_section->vma + s->output_offset; in nios2_type_of_stub() 1592 start = s0->output_section->vma + s0->output_offset; in nios2_type_of_stub() 1597 end = s->output_section->vma + s->output_offset + s->size - 8; in nios2_type_of_stub() 1599 end = s1->output_section->vma + s1->output_offset + s1->size; in nios2_type_of_stub() [all …]
|
D | elf32-lm32.c | 691 *pgp = symbol->section->output_section->vma + 0x4000; in lm32_elf_final_gp() 744 + symbol->section->output_section->vma + symbol->section->output_offset; in lm32_elf_gprel_reloc() 976 sgot->output_section->vma in lm32_elf_relocate_section() 1013 sgot->output_section->vma in lm32_elf_relocate_section() 1029 outrel.r_offset = (sgot->output_section->vma in lm32_elf_relocate_section() 1064 relocation -= sgot->output_section->vma; in lm32_elf_relocate_section() 1084 if ((bfd_get_section_flags (output_bfd, input_section->output_section) in lm32_elf_relocate_section() 1091 ->output_section)) in lm32_elf_relocate_section() 1102 input_section->output_section->vma in lm32_elf_relocate_section() 1453 s = htab->sgot->output_section; in lm32_elf_finish_dynamic_sections() [all …]
|
D | aout-ns32k.c | 295 asection *output_section = sym->section->output_section; in MY_swap_std_reloc_out() local 305 if (bfd_is_com_section (output_section) in MY_swap_std_reloc_out() 306 || bfd_is_abs_section (output_section) in MY_swap_std_reloc_out() 307 || bfd_is_und_section (output_section)) in MY_swap_std_reloc_out() 330 r_index = output_section->target_index; in MY_swap_std_reloc_out()
|
D | elf32-m32r.c | 106 relocation -= (input_section->output_section->vma in m32r_elf_do_10_pcrel_reloc() 156 + symbol->section->output_section->vma in m32r_elf_10_pcrel_reloc() 212 relocation += symbol->section->output_section->vma; in m32r_elf_generic_reloc() 350 relocation += symbol->section->output_section->vma; in m32r_elf_hi16_reloc() 1340 m32r_elf_scom_section.output_section = &m32r_elf_scom_section; in _bfd_m32r_elf_symbol_processing() 1446 + h->u.def.section->output_section->vma in m32r_elf_final_sda_base() 1877 s = p->sec->output_section; in m32r_elf_adjust_dynamic_symbol() 2128 asection *s = p->sec->output_section; in readonly_dynrelocs() 2201 && bfd_is_abs_section (p->sec->output_section)) in m32r_elf_size_dynamic_sections() 2212 if ((p->sec->output_section->flags & SEC_READONLY) != 0) in m32r_elf_size_dynamic_sections() [all …]
|
D | elf64-x86-64.c | 2355 s = p->sec->output_section; in elf_x86_64_adjust_dynamic_symbol() 2724 asection *s = p->sec->output_section; in elf_x86_64_readonly_dynrelocs() 2770 || bfd_is_abs_section (sec->output_section)) in elf_x86_64_convert_mov_to_lea() 2957 && bfd_is_abs_section (p->sec->output_section)) in elf_x86_64_size_dynamic_sections() 2968 if ((p->sec->output_section->flags & SEC_READONLY) != 0 in elf_x86_64_size_dynamic_sections() 3111 && !bfd_is_abs_section (htab->elf.splt->output_section) in elf_x86_64_size_dynamic_sections() 3542 relocation = (resolved_plt->output_section->vma in elf_x86_64_relocate_section() 3604 outrel.r_offset += (input_section->output_section->vma in elf_x86_64_relocate_section() 3614 + h->root.u.def.section->output_section->vma in elf_x86_64_relocate_section() 3694 relocation = (base_got->output_section->vma in elf_x86_64_relocate_section() [all …]
|
D | cofflink.c | 1346 if (a->output_section == bfd_abs_section_ptr) in mark_relocs() 1355 …? (flaginfo->section_info[ a->output_section->target_index ].relocs + a->output_section->reloc_cou… in mark_relocs() 1542 && ((*secpp)->output_section == bfd_abs_section_ptr in _bfd_coff_link_input_bfd() 1544 (*secpp)->output_section))) in _bfd_coff_link_input_bfd() 1811 isym.n_scnum = (*secpp)->output_section->target_index; in _bfd_coff_link_input_bfd() 1828 isym.n_scnum = (*secpp)->output_section->target_index; in _bfd_coff_link_input_bfd() 1833 isym.n_value += (*secpp)->output_section->vma; in _bfd_coff_link_input_bfd() 2179 || (o->output_section->flags & SEC_HAS_CONTENTS) == 0) in _bfd_coff_link_input_bfd() 2187 offset = o->output_section->vma + o->output_offset - o->vma; in _bfd_coff_link_input_bfd() 2248 (o->output_section->line_filepos in _bfd_coff_link_input_bfd() [all …]
|
D | elfnn-aarch64.c | 2161 place = (input_section->output_section->vma + input_section->output_offset in aarch64_relocate() 2208 + input_sec->output_section->vma + rel->r_offset); in aarch64_type_of_stub() 2454 + stub_entry->target_section->output_section->vma); in aarch64_build_one_stub() 2458 bfd_vma place = (stub_entry->stub_offset + stub_sec->output_section->vma in aarch64_build_one_stub() 2528 veneered_insn_loc = stub_entry->target_section->output_section->vma in aarch64_build_one_stub() 2531 veneer_entry_loc = stub_entry->stub_sec->output_section->vma in aarch64_build_one_stub() 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() 3070 || (section->output_section == bfd_abs_section_ptr)) in _bfd_aarch64_erratum_835769_scan() 3345 || (section->output_section == bfd_abs_section_ptr)) in _bfd_aarch64_erratum_843419_scan() [all …]
|
D | aout-cris.c | 155 asection *output_section = sym->section->output_section; in MY() local 163 r_addend += (*(g->sym_ptr_ptr))->section->output_section->vma; in MY() 191 r_index = output_section->target_index; in MY()
|
D | aout-arm.c | 262 relocation += symbol->section->output_section->vma; in MY() 265 relocation -= input_section->output_section->vma; in MY() 375 asection *output_section = sym->section->output_section; in MY_swap_std_reloc_out() local 410 if (bfd_is_com_section (output_section) in MY_swap_std_reloc_out() 411 || bfd_is_abs_section (output_section) in MY_swap_std_reloc_out() 412 || bfd_is_und_section (output_section)) in MY_swap_std_reloc_out() 432 r_index = output_section->target_index; in MY_swap_std_reloc_out()
|
/toolchain/binutils/binutils-2.25/gold/ |
D | i386.cc | 376 Output_section* output_section, 390 Output_section* output_section, 410 Output_section* output_section, 426 Output_section* output_section, 438 Output_section* output_section, 561 Output_section* output_section, 570 Output_section* output_section, 579 Output_section* output_section, 589 Output_section* output_section, 632 Output_section* output_section); [all …]
|
D | target-reloc.h | 53 Output_section* output_section, in scan_relocs() argument 68 && !output_section->is_input_address_mapped(object, data_shndx, in scan_relocs() 102 output_section, reloc, r_type, lsym, is_discarded); in scan_relocs() 112 output_section, reloc, r_type, gsym); in scan_relocs() 265 Output_section* output_section, in relocate_section() argument 291 offset = output_section->output_offset(relinfo->object, in relocate_section() 403 if (!relocate.relocate(relinfo, target, output_section, i, reloc, in relocate_section() 545 Output_section* output_section, in scan_relocatable_relocs() argument 563 && !output_section->is_input_address_mapped(object, data_shndx, in scan_relocatable_relocs() 599 object->output_section(shndx)->set_needs_symtab_index(); in scan_relocatable_relocs() [all …]
|
D | copy-relocs.h | 70 unsigned int shndx, Output_section* output_section, 102 Output_section* output_section, in Copy_reloc_entry() 105 shndx_(shndx), output_section_(output_section), in Copy_reloc_entry()
|