/toolchain/binutils/binutils-2.25/gold/ |
D | merge.cc | 103 section_offset_type output_offset) in add_mapping() argument 114 section_size_type output_offset_u = output_offset; in add_mapping() 126 && (output_offset == -1 in add_mapping() 127 ? entry.output_offset == -1 in add_mapping() 128 : entry.output_offset + entry.length == output_offset_u)) in add_mapping() 138 entry.output_offset = output_offset; in add_mapping() 148 section_offset_type* output_offset) in get_output_offset() argument 176 *output_offset = p->output_offset; in get_output_offset() 177 if (*output_offset != -1) in get_output_offset() 178 *output_offset += (input_offset - p->input_offset); in get_output_offset() [all …]
|
D | ehframe.cc | 337 Fde::write(unsigned char* oview, section_offset_type output_offset, in write() argument 393 eh_frame_hdr->record_fde(output_offset + offset, fde_encoding); in write() 413 Cie::set_output_offset(section_offset_type output_offset, in set_output_offset() argument 426 length, output_offset); in set_output_offset() 435 (*p)->add_mapping(output_offset + length, merge_map); in set_output_offset() 442 return output_offset + length; in set_output_offset() 454 Cie::write(unsigned char* oview, section_offset_type output_offset, in write() argument 494 offset = (*p)->write<size, big_endian>(oview, output_offset, offset, in write() 1102 section_offset_type output_offset = output_start; in set_final_data_size() local 1108 output_offset = (*p)->set_output_offset(output_offset, in set_final_data_size() [all …]
|
D | reloc.cc | 739 Address output_offset = out_offsets[i]; in write_sections() local 809 if (output_offset != invalid_address) in write_sections() 811 view_start = output_section_offset + output_offset; in write_sections() 829 gold_assert(output_offset == invalid_address in write_sections() 830 || output_offset + view_size <= output_section_size); in write_sections() 837 if (output_offset != invalid_address && !must_decompress) in write_sections() 848 if (output_offset == invalid_address) in write_sections() 876 if (output_offset != invalid_address) in write_sections() 877 pvs->address += output_offset; in write_sections() 880 pvs->is_input_output_view = output_offset == invalid_address; in write_sections() [all …]
|
D | merge.h | 61 section_size_type length, section_offset_type output_offset); 73 section_offset_type* output_offset); 101 section_offset_type output_offset; member 191 section_offset_type output_offset); 203 section_offset_type* output_offset) const; 298 section_size_type length, section_offset_type output_offset) in add_mapping() argument 300 this->merge_map_.add_mapping(object, shndx, offset, length, output_offset); in add_mapping()
|
/toolchain/binutils/binutils-2.25/bfd/ |
D | coff-alpha.c | 800 + h->u.def.section->output_offset); in alpha_ecoff_get_relocated_section_contents() 817 rel->address += input_section->output_offset; in alpha_ecoff_get_relocated_section_contents() 830 rel->address += input_section->output_offset; in alpha_ecoff_get_relocated_section_contents() 895 rel->address += input_section->output_offset; in alpha_ecoff_get_relocated_section_contents() 936 + input_section->output_offset in alpha_ecoff_get_relocated_section_contents() 950 rel->address += input_section->output_offset; in alpha_ecoff_get_relocated_section_contents() 962 rel->address += input_section->output_offset; in alpha_ecoff_get_relocated_section_contents() 977 relocation += symbol->section->output_offset; in alpha_ecoff_get_relocated_section_contents() 995 rel->address += input_section->output_offset; in alpha_ecoff_get_relocated_section_contents() 1022 rel->address += input_section->output_offset; in alpha_ecoff_get_relocated_section_contents() [all …]
|
D | elf32-nios2.c | 1505 bfd_vma start = tail->output_section->vma + tail->output_offset; in group_sections() 1533 + prev->output_offset) in group_sections() 1575 + input_sec->output_offset + rel->r_offset); 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() 1657 + hsh->target_section->output_offset in nios2_build_one_stub() 1878 + sym_sec->output_offset in nios2_elf32_size_stubs() 1904 + sym_sec->output_offset in nios2_elf32_size_stubs() [all …]
|
D | elf32-i860.c | 48 reloc_entry->address += input_section->output_offset; in i860_howto_pc26_reloc() 63 relocation += symbol->section->output_offset; in i860_howto_pc26_reloc() 71 + input_section->output_offset in i860_howto_pc26_reloc() 111 reloc_entry->address += input_section->output_offset; in i860_howto_pc16_reloc() 126 relocation += symbol->section->output_offset; in i860_howto_pc16_reloc() 134 + input_section->output_offset in i860_howto_pc16_reloc() 175 reloc_entry->address += input_section->output_offset; in i860_howto_highadj_reloc() 190 relocation += symbol->section->output_offset; in i860_howto_highadj_reloc() 228 reloc_entry->address += input_section->output_offset; in i860_howto_splitn_reloc() 243 relocation += symbol->section->output_offset; in i860_howto_splitn_reloc() [all …]
|
D | reloc.c | 591 reloc_entry->address += input_section->output_offset; in bfd_perform_relocation() 638 relocation += output_base + symbol->section->output_offset; in bfd_perform_relocation() 677 input_section->output_section->vma + input_section->output_offset; in bfd_perform_relocation() 691 reloc_entry->address += input_section->output_offset; in bfd_perform_relocation() 702 reloc_entry->address += input_section->output_offset; in bfd_perform_relocation() 977 reloc_entry->address += input_section->output_offset; in bfd_install_relocation() 1020 relocation += output_base + symbol->section->output_offset; in bfd_install_relocation() 1059 input_section->output_section->vma + input_section->output_offset; in bfd_install_relocation() 1071 reloc_entry->address += input_section->output_offset; in bfd_install_relocation() 1081 reloc_entry->address += input_section->output_offset; in bfd_install_relocation() [all …]
|
D | elf64-s390.c | 389 reloc_entry->address += input_section->output_offset; in s390_tls_reloc() 412 reloc_entry->address += input_section->output_offset; in s390_elf_ldisp_reloc() 423 + symbol->section->output_offset); in s390_elf_ldisp_reloc() 428 + input_section->output_offset); in s390_elf_ldisp_reloc() 2333 + htab->elf.iplt->output_offset in elf_s390_relocate_section() 2361 htab->elf.sgot->output_offset); in elf_s390_relocate_section() 2422 htab->elf.igotplt->output_offset); in elf_s390_relocate_section() 2533 + h->root.u.def.section->output_offset; in elf_s390_relocate_section() 2568 + htab->elf.sgot->output_offset in elf_s390_relocate_section() 2584 relocation = base_got->output_offset + off; in elf_s390_relocate_section() [all …]
|
D | elf32-d30v.c | 54 reloc_entry->address += input_section->output_offset; in bfd_elf_d30v_reloc() 86 relocation += output_base + symbol->section->output_offset; in bfd_elf_d30v_reloc() 96 + input_section->output_offset in bfd_elf_d30v_reloc() 162 reloc_entry->address += input_section->output_offset; in bfd_elf_d30v_reloc_21() 194 relocation += output_base + symbol->section->output_offset; in bfd_elf_d30v_reloc_21() 205 + input_section->output_offset); in bfd_elf_d30v_reloc_21()
|
D | coff-mips.c | 400 reloc_entry->address += input_section->output_offset; in mips_generic_reloc() 446 reloc_entry->address += input_section->output_offset; in mips_refhi_reloc() 461 relocation += symbol->section->output_offset; in mips_refhi_reloc() 477 reloc_entry->address += input_section->output_offset; in mips_refhi_reloc() 570 reloc_entry->address += input_section->output_offset; in mips_gprel_reloc() 646 relocation += symbol->section->output_offset; in mips_gprel_reloc() 669 reloc_entry->address += input_section->output_offset; in mips_gprel_reloc() 1060 + s->output_offset); in mips_relocate_section() 1093 + s->output_offset in mips_relocate_section() 1105 + input_section->output_offset in mips_relocate_section() [all …]
|
D | elf32-s390.c | 363 reloc_entry->address += input_section->output_offset; in s390_tls_reloc() 386 reloc_entry->address += input_section->output_offset; in s390_elf_ldisp_reloc() 398 + symbol->section->output_offset); in s390_elf_ldisp_reloc() 403 + input_section->output_offset); in s390_elf_ldisp_reloc() 2377 + htab->elf.iplt->output_offset in elf_s390_relocate_section() 2402 htab->elf.sgot->output_offset); in elf_s390_relocate_section() 2462 htab->elf.igotplt->output_offset); in elf_s390_relocate_section() 2572 + h->root.u.def.section->output_offset; in elf_s390_relocate_section() 2607 + htab->elf.sgot->output_offset in elf_s390_relocate_section() 2623 relocation = base_got->output_offset + off; in elf_s390_relocate_section() [all …]
|
D | elf32-dlx.c | 77 reloc_entry->address += input_section->output_offset; in _bfd_dlx_elf_hi16_reloc() 89 relocation += symbol->section->output_offset; in _bfd_dlx_elf_hi16_reloc() 155 input_section->output_offset) + in elf32_dlx_relocate16() 159 val = (symbol->section->output_offset + in elf32_dlx_relocate16() 217 input_section->output_offset) + in elf32_dlx_relocate26() 221 val = (symbol->section->output_offset + in elf32_dlx_relocate26()
|
D | elf32-i386.c | 3225 + sec->output_offset in elf_i386_relocate_section() 3232 && sec->output_offset != 0))) in elf_i386_relocate_section() 3268 addend += sec->output_offset; in elf_i386_relocate_section() 3275 addend += msec->output_section->vma + msec->output_offset; in elf_i386_relocate_section() 3358 + plt->output_offset + h->plt.offset); in elf_i386_relocate_section() 3396 + input_section->output_offset in elf_i386_relocate_section() 3408 + h->root.u.def.section->output_offset), in elf_i386_relocate_section() 3482 relocation += gotplt->output_offset; in elf_i386_relocate_section() 3487 + base_got->output_offset + off in elf_i386_relocate_section() 3489 - gotplt->output_offset); in elf_i386_relocate_section() [all …]
|
D | coff-h8300.c | 210 reloc_entry->address += input_section->output_offset; in special() 387 + input_section->output_offset in h8300_symbol_address_p() 434 + input_section->output_offset + address); in h8300_reloc16_estimate() 523 input_section->output_offset + address; in h8300_reloc16_estimate() 642 dot = (input_section->output_offset in h8300_reloc16_extra_cases() 674 dot = (input_section->output_offset in h8300_reloc16_extra_cases() 788 dot = (input_section->output_offset in h8300_reloc16_extra_cases() 835 dot = (input_section->output_offset in h8300_reloc16_extra_cases() 896 dot = (input_section->output_offset in h8300_reloc16_extra_cases() 1035 dot = (input_section->output_offset in h8300_reloc16_extra_cases() [all …]
|
D | elf32-m32r.c | 107 + input_section->output_offset); in m32r_elf_do_10_pcrel_reloc() 143 reloc_entry->address += input_section->output_offset; in m32r_elf_10_pcrel_reloc() 157 + symbol->section->output_offset), in m32r_elf_10_pcrel_reloc() 184 reloc_entry->address += input_section->output_offset; in m32r_elf_generic_reloc() 213 relocation += symbol->section->output_offset; in m32r_elf_generic_reloc() 245 reloc_entry->address += input_section->output_offset; in m32r_elf_generic_reloc() 271 reloc_entry->address += input_section->output_offset; in m32r_elf_sda16_reloc() 332 reloc_entry->address += input_section->output_offset; in m32r_elf_hi16_reloc() 351 relocation += symbol->section->output_offset; in m32r_elf_hi16_reloc() 364 reloc_entry->address += input_section->output_offset; in m32r_elf_hi16_reloc() [all …]
|
D | elf32-bfin.c | 83 relocation += output_base + symbol->section->output_offset; in bfin_pcrel24_reloc() 88 relocation -= input_section->output_section->vma + input_section->output_offset; in bfin_pcrel24_reloc() 117 reloc_entry->address += input_section->output_offset; in bfin_pcrel24_reloc() 118 reloc_entry->addend += symbol->section->output_offset; in bfin_pcrel24_reloc() 178 relocation += output_base + symbol->section->output_offset; in bfin_imm16_reloc() 185 reloc_entry->address += input_section->output_offset; in bfin_imm16_reloc() 186 reloc_entry->addend += symbol->section->output_offset; in bfin_imm16_reloc() 252 relocation += output_base + symbol->section->output_offset; in bfin_byte4_reloc() 260 reloc_entry->address += input_section->output_offset; in bfin_byte4_reloc() 261 reloc_entry->addend += symbol->section->output_offset; in bfin_byte4_reloc() [all …]
|
D | cpu-ns32k.c | 164 reloc_entry->address += input_section->output_offset; in do_ns32k_reloc() 197 relocation += output_base + symbol->section->output_offset; in do_ns32k_reloc() 235 input_section->output_section->vma + input_section->output_offset; in do_ns32k_reloc() 249 reloc_entry->address += input_section->output_offset; in do_ns32k_reloc() 260 reloc_entry->address += input_section->output_offset; in do_ns32k_reloc() 802 + input_section->output_offset); in _bfd_ns32k_final_link_relocate()
|
D | elf32-metag.c | 1246 input_section->output_offset + in metag_final_link_relocate() 1289 + hsh->stub_sec->output_offset in metag_final_link_relocate() 1605 + input_section->output_offset); in elf_metag_relocate_section() 1672 + htab->splt->output_offset in elf_metag_relocate_section() 1680 htab->sgot->output_offset); in elf_metag_relocate_section() 1683 + input_section->output_offset in elf_metag_relocate_section() 1692 htab->sgot->output_offset); in elf_metag_relocate_section() 1758 + htab->sgot->output_offset in elf_metag_relocate_section() 1847 + htab->sgot->output_offset); in elf_metag_relocate_section() 1887 + htab->sgot->output_offset); in elf_metag_relocate_section() [all …]
|
D | elf64-hppa.c | 1980 + sopd->output_offset in elf64_hppa_finish_dynamic_symbol() 2026 rel.r_offset = (hh->plt_offset + splt->output_offset in elf64_hppa_finish_dynamic_symbol() 2142 + eh->root.u.def.section->output_offset); in elf64_hppa_finalize_opd() 2173 rel.r_offset = (hh->opd_offset + sopd->output_offset in elf64_hppa_finalize_opd() 2267 + hppa_info->opd_sec->output_offset in elf64_hppa_finalize_dlt() 2274 value = eh->root.u.def.value + eh->root.u.def.section->output_offset; in elf64_hppa_finalize_dlt() 2311 rel.r_offset = (hh->dlt_offset + sdlt->output_offset in elf64_hppa_finalize_dlt() 2377 rel.r_offset = (rent->offset + rent->sec->output_offset in elf64_hppa_finalize_dynreloc() 2406 + hppa_info->opd_sec->output_offset); in elf64_hppa_finalize_dynreloc() 2411 + rent->sec->output_offset); in elf64_hppa_finalize_dynreloc() [all …]
|
D | elf32-sh.c | 213 x += ((symbol_section->output_section->vma + symbol_section->output_offset) in sh_elf_reloc_loop() 215 + input_section->output_offset)); in sh_elf_reloc_loop() 245 reloc_entry->address += input_section->output_offset; in sh_elf_reloc() 263 symbol_in->section->output_offset); in sh_elf_reloc() 276 + input_section->output_offset in sh_elf_reloc() 306 reloc_entry->address += input_section->output_offset; in sh_elf_ignore_reloc() 646 + sec->output_offset); in sh_elf_relax_section() 667 + h->root.u.def.section->output_offset); in sh_elf_relax_section() 679 + sec->output_offset in sh_elf_relax_section() 3670 return (htab->sgot->output_offset - htab->sgotplt->output_offset in sh_elf_got_offset() [all …]
|
D | elf32-fr30.c | 252 reloc_entry->address += input_section->output_offset; in fr30_elf_i20_reloc() 263 + symbol->section->output_offset in fr30_elf_i20_reloc() 295 reloc_entry->address += input_section->output_offset; in fr30_elf_i32_reloc() 306 + symbol->section->output_offset in fr30_elf_i32_reloc() 424 input_section->output_offset); in fr30_final_link_relocate() 441 input_section->output_offset); in fr30_final_link_relocate()
|
D | sunos.c | 2116 + splt->output_offset in sunos_write_dynamic_symbol() 2136 + h->root.root.u.def.section->output_offset in sunos_write_dynamic_symbol() 2278 + sec->output_offset); in sunos_write_dynamic_symbol() 2354 + splt->output_offset in sunos_check_dynamic_reloc() 2490 + sgot->output_offset), in sunos_check_dynamic_reloc() 2529 + sgot->output_offset), in sunos_check_dynamic_reloc() 2622 + input_section->output_offset), in sunos_check_dynamic_reloc() 2647 + input_section->output_offset), in sunos_check_dynamic_reloc() 2667 + input_section->output_offset in sunos_check_dynamic_reloc() 2710 filepos = s->output_section->filepos + s->output_offset; in sunos_finish_dynamic_link() [all …]
|
D | coff-m88k.c | 69 reloc_entry->address += input_section->output_offset; in m88k_special_reloc() 96 relocation += output_base + symbol->section->output_offset; in m88k_special_reloc() 128 reloc_entry->address += input_section->output_offset; in m88k_special_reloc()
|
/toolchain/binutils/binutils-2.25/ld/ |
D | ldwrite.c | 63 link_order->offset = statement->data_statement.output_offset; in build_link_order() 208 link_order->offset = rs->output_offset; in build_link_order() 225 link_order->u.reloc.p->addend += rs->section->output_offset; in build_link_order() 274 link_order->offset = i->output_offset; in build_link_order() 298 link_order->offset = statement->padding_statement.output_offset; in build_link_order() 392 n->output_offset = s->output_offset; in clone_section() 543 p->u.indirect.section->output_offset = p->offset; in split_sections()
|