Home
last modified time | relevance | path

Searched refs:input_section (Results 1 – 25 of 59) sorted by relevance

123

/NextBSD/contrib/binutils/bfd/
HDreloc16.c44 bfd_coff_reloc16_get_value (reloc, link_info, input_section) in bfd_coff_reloc16_get_value() argument
47 asection *input_section;
65 h = bfd_wrapped_link_hash_lookup (input_section->owner, link_info,
81 input_section->owner, input_section, reloc->address,
101 bfd_perform_slip (abfd, slip, input_section, value) in bfd_perform_slip() argument
104 asection *input_section;
117 if (p->section == input_section)
140 bfd_coff_reloc16_relax_section (abfd, input_section, link_info, again) in bfd_coff_reloc16_relax_section() argument
142 asection *input_section;
147 bfd *input_bfd = input_section->owner;
[all …]
HDreloc.c579 asection *input_section, in bfd_perform_relocation() argument
595 reloc_entry->address += input_section->output_offset; in bfd_perform_relocation()
614 input_section, output_bfd, in bfd_perform_relocation()
621 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) in bfd_perform_relocation()
681 input_section->output_section->vma + input_section->output_offset; in bfd_perform_relocation()
695 reloc_entry->address += input_section->output_offset; in bfd_perform_relocation()
706 reloc_entry->address += input_section->output_offset; in bfd_perform_relocation()
970 asection *input_section, in bfd_install_relocation() argument
985 reloc_entry->address += input_section->output_offset; in bfd_install_relocation()
1002 input_section, abfd, error_message); in bfd_install_relocation()
[all …]
HDcoff-mips.c62 bfd *input_bfd, asection *input_section, bfd_byte *contents,
416 input_section, in mips_generic_reloc() argument
423 asection *input_section;
431 reloc_entry->address += input_section->output_offset;
463 input_section, in mips_refhi_reloc() argument
470 asection *input_section;
484 reloc_entry->address += input_section->output_offset;
502 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
515 reloc_entry->address += input_section->output_offset;
529 input_section, in mips_reflo_reloc() argument
[all …]
HDcoff-alpha.c782 asection *input_section = link_order->u.indirect.section; local
783 long reloc_size = bfd_get_reloc_upper_bound (input_bfd, input_section);
799 sz = input_section->rawsize ? input_section->rawsize : input_section->size;
800 if (! bfd_get_section_contents (input_bfd, input_section, data, 0, sz))
803 reloc_count = bfd_canonicalize_reloc (input_bfd, input_section,
865 rel->address += input_section->output_offset;
878 rel->address += input_section->output_offset;
881 r = bfd_perform_relocation (input_bfd, rel, data, input_section,
893 r = bfd_perform_relocation (input_bfd, rel, data, input_section,
929 r = bfd_perform_relocation (input_bfd, rel, data, input_section,
[all …]
HDbout.c492 asection *input_section) in get_value() argument
509 h = bfd_wrapped_link_hash_lookup (input_section->owner, link_info, in get_value()
523 input_section->owner, input_section, reloc->address, in get_value()
546 asection *input_section) in calljx_callback() argument
553 value = get_value (reloc_entry, link_info, input_section); in calljx_callback()
585 asection *input_section, in callj_callback() argument
593 value = get_value (reloc_entry, link_info, input_section); in callj_callback()
613 - output_addr (input_section)) in callj_callback()
623 BFD_ASSERT (symbol->symbol.section == input_section); in callj_callback()
630 - output_addr (input_section)) in callj_callback()
[all …]
HDcoff-arm.c98 asection *input_section ATTRIBUTE_UNUSED, in coff_arm_reloc()
577 asection *input_section ATTRIBUTE_UNUSED, in aoutarm_fix_pcrel_26_done()
592 asection *input_section, in aoutarm_fix_pcrel_26() argument
608 if (symbol->section->name != input_section->name in aoutarm_fix_pcrel_26()
618 relocation -= input_section->output_section->vma; in aoutarm_fix_pcrel_26()
619 relocation -= input_section->output_offset; in aoutarm_fix_pcrel_26()
650 asection *input_section, in coff_thumb_pcrel_common() argument
696 if (symbol->section->name != input_section->name in coff_thumb_pcrel_common()
723 relocation -= input_section->output_section->vma; in coff_thumb_pcrel_common()
724 relocation -= input_section->output_offset; in coff_thumb_pcrel_common()
[all …]
HDelf32-cr16.c483 asection *input_section, in cr16_elf_final_link_relocate() argument
537 Rvalue -= (input_section->output_section->vma in cr16_elf_final_link_relocate()
538 + input_section->output_offset); in cr16_elf_final_link_relocate()
797 bfd *input_bfd, asection *input_section, in elf32_cr16_relocate_section() argument
813 relend = relocs + input_section->reloc_count; in elf32_cr16_relocate_section()
842 RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel, in elf32_cr16_relocate_section()
849 input_section, in elf32_cr16_relocate_section()
874 (bfd_vma) 0, input_bfd, input_section, in elf32_cr16_relocate_section()
881 (info, name, input_bfd, input_section, in elf32_cr16_relocate_section()
904 (info, msg, name, input_bfd, input_section, in elf32_cr16_relocate_section()
[all …]
HDelf32-mep.c85 asection * input_section ATTRIBUTE_UNUSED, in mep_reloc()
233 asection * input_section, in mep_final_link_relocate() argument
256 pc = (input_section->output_section->vma in mep_final_link_relocate()
257 + input_section->output_offset in mep_final_link_relocate()
483 asection * input_section, in mep_elf_relocate_section() argument
496 relend = relocs + input_section->reloc_count; in mep_elf_relocate_section()
520 input_bfd, input_section, contents, in mep_elf_relocate_section()
582 input_section, rel->r_offset, in mep_elf_relocate_section()
616 r = mep_final_link_relocate (howto, input_bfd, input_section, in mep_elf_relocate_section()
630 input_bfd, input_section, rel->r_offset); in mep_elf_relocate_section()
[all …]
HDelf32-score.c223 asection *input_section ATTRIBUTE_UNUSED, in score_elf_hi16_reloc()
236 asection *input_section, in score_elf_lo16_reloc() argument
249 if (reloc_entry->address > input_section->size) in score_elf_lo16_reloc()
356 asection *input_section, in score_elf_gprel15_with_gp() argument
371 if (reloc_entry->address > input_section->size) in score_elf_gprel15_with_gp()
382 reloc_entry->address += input_section->output_offset; in score_elf_gprel15_with_gp()
389 asection *input_section, bfd_boolean relocatable, in gprel32_with_gp() argument
403 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) in gprel32_with_gp()
425 reloc_entry->address += input_section->output_offset; in gprel32_with_gp()
435 asection *input_section, in score_elf_gprel15_reloc() argument
[all …]
HDcoff-ppc.c988 coff_ppc_relocate_section (output_bfd, info, input_bfd, input_section, in coff_ppc_relocate_section() argument
993 asection *input_section;
1017 relend = rel + input_section->reloc_count;
1033 loc = contents + rel->r_vaddr - input_section->vma;
1094 (info, h->root.root.root.string, input_bfd, input_section,
1095 rel->r_vaddr - input_section->vma, TRUE)))
1307 input_bfd, input_section, howto->name,
1334 if (CONST_STRNEQ (input_section->name, ".idata$2") && first_thunk_address == 0)
1428 val -= (input_section->output_section->vma
1429 + input_section->output_offset);
[all …]
HDpe-mips.c53 asection *input_section ATTRIBUTE_UNUSED, in coff_mips_reloc()
588 asection *input_section, in coff_pe_mips_relocate_section() argument
618 rel_end = rel + input_section->reloc_count; in coff_pe_mips_relocate_section()
653 howto = bfd_coff_rtype_to_howto (input_bfd, input_section, rel, h, in coff_pe_mips_relocate_section()
707 (info, h->root.root.string, input_bfd, input_section, in coff_pe_mips_relocate_section()
708 rel->r_vaddr - input_section->vma, TRUE))) in coff_pe_mips_relocate_section()
713 src = rel->r_vaddr + input_section->output_section->vma in coff_pe_mips_relocate_section()
714 + input_section->output_offset; in coff_pe_mips_relocate_section()
817 - pe_data (input_section->output_section->owner)->pe_opthdr.ImageBase; in coff_pe_mips_relocate_section()
HDelf64-s390.c413 s390_tls_reloc (abfd, reloc_entry, symbol, data, input_section, in s390_tls_reloc() argument
419 asection *input_section;
424 reloc_entry->address += input_section->output_offset;
430 s390_elf_ldisp_reloc (abfd, reloc_entry, symbol, data, input_section, in s390_elf_ldisp_reloc() argument
436 asection *input_section;
449 reloc_entry->address += input_section->output_offset;
455 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
464 relocation -= (input_section->output_section->vma
465 + input_section->output_offset);
2203 invalid_tls_insn (input_bfd, input_section, rel) in invalid_tls_insn() argument
[all …]
HDelfn32-mips.c1764 asection *input_section, bfd *output_bfd, in mips_elf_gprel16_reloc() argument
1785 input_section, relocatable, in mips_elf_gprel16_reloc()
1793 void *data, asection *input_section, bfd *output_bfd, in mips_elf_literal_reloc() argument
1825 input_section, relocatable, in mips_elf_literal_reloc()
1834 void *data, asection *input_section, bfd *output_bfd, in mips_elf_gprel32_reloc() argument
1867 return gprel32_with_gp (abfd, symbol, reloc_entry, input_section, in mips_elf_gprel32_reloc()
1873 asection *input_section, bfd_boolean relocatable, in gprel32_with_gp() argument
1887 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) in gprel32_with_gp()
1908 reloc_entry->address += input_section->output_offset; in gprel32_with_gp()
1918 void *data, asection *input_section, bfd *output_bfd, in mips_elf_shift6_reloc() argument
[all …]
HDelf32-s390.c389 s390_tls_reloc (abfd, reloc_entry, symbol, data, input_section, in s390_tls_reloc() argument
395 asection *input_section;
400 reloc_entry->address += input_section->output_offset;
406 s390_elf_ldisp_reloc (abfd, reloc_entry, symbol, data, input_section, in s390_elf_ldisp_reloc() argument
412 asection *input_section;
425 reloc_entry->address += input_section->output_offset;
432 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
441 relocation -= (input_section->output_section->vma
442 + input_section->output_offset);
2229 invalid_tls_insn (input_bfd, input_section, rel) in invalid_tls_insn() argument
[all …]
HDelf32-arm.c4040 asection * input_section, in elf32_thumb_to_arm_stub() argument
4124 - (input_section->output_section->vma + input_section->output_offset in elf32_thumb_to_arm_stub()
4132 - input_section->vma); in elf32_thumb_to_arm_stub()
4136 hit_data - input_section->vma); in elf32_thumb_to_arm_stub()
4241 asection * input_section, in elf32_arm_to_thumb_stub() argument
4280 - (input_section->output_offset in elf32_arm_to_thumb_stub()
4281 + input_section->output_section->vma in elf32_arm_to_thumb_stub()
4287 bfd_put_32 (output_bfd, (bfd_vma) tmp, hit_data - input_section->vma); in elf32_arm_to_thumb_stub()
4504 asection * input_section, in elf32_arm_final_link_relocate() argument
4618 return _bfd_final_link_relocate (howto, input_bfd, input_section, in elf32_arm_final_link_relocate()
[all …]
HDelf32-mips.c973 asection *input_section, bfd *output_bfd, in _bfd_mips_elf32_gprel16_reloc() argument
1005 input_section, relocatable, in _bfd_mips_elf32_gprel16_reloc()
1014 void *data, asection *input_section, bfd *output_bfd, in mips_elf_gprel32_reloc() argument
1044 return gprel32_with_gp (abfd, symbol, reloc_entry, input_section, in mips_elf_gprel32_reloc()
1050 asection *input_section, bfd_boolean relocatable, in gprel32_with_gp() argument
1064 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) in gprel32_with_gp()
1086 reloc_entry->address += input_section->output_offset; in gprel32_with_gp()
1098 void *data, asection *input_section, in mips32_64bit_reloc() argument
1111 r = bfd_perform_relocation (abfd, &reloc32, data, input_section, in mips32_64bit_reloc()
1132 void *data, asection *input_section, bfd *output_bfd, in mips16_gprel_reloc() argument
[all …]
HDmipsbsd.c197 mips_fix_jmp_addr (abfd, reloc_entry, symbol, data, input_section, output_bfd, in mips_fix_jmp_addr() argument
203 asection *input_section;
229 pc = input_section->output_section->vma + input_section->output_offset +
248 mips_fix_hi16_s (abfd, reloc_entry, symbol, data, input_section, in mips_fix_hi16_s() argument
254 asection *input_section ATTRIBUTE_UNUSED;
HDelf32-i386.c2203 asection *input_section, in elf_i386_relocate_section() argument
2224 relend = relocs + input_section->reloc_count; in elf_i386_relocate_section()
2253 input_bfd, input_section, r_type); in elf_i386_relocate_section()
2346 RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel, in elf_i386_relocate_section()
2522 if ((input_section->flags & SEC_ALLOC) == 0) in elf_i386_relocate_section()
2554 _bfd_elf_section_offset (output_bfd, info, input_section, in elf_i386_relocate_section()
2560 outrel.r_offset += (input_section->output_section->vma in elf_i386_relocate_section()
2561 + input_section->output_offset); in elf_i386_relocate_section()
2579 sreloc = elf_section_data (input_section)->sreloc; in elf_i386_relocate_section()
2604 + input_section->output_section->vma in elf_i386_relocate_section()
[all …]
HDcoff-rs6000.c2767 xcoff_reloc_type_noop (input_bfd, input_section, output_bfd, rel, sym, howto, in xcoff_reloc_type_noop() argument
2770 asection *input_section ATTRIBUTE_UNUSED;
2784 xcoff_reloc_type_fail (input_bfd, input_section, output_bfd, rel, sym, howto, in xcoff_reloc_type_fail() argument
2787 asection *input_section ATTRIBUTE_UNUSED;
2805 xcoff_reloc_type_pos (input_bfd, input_section, output_bfd, rel, sym, howto, in xcoff_reloc_type_pos() argument
2808 asection *input_section ATTRIBUTE_UNUSED;
2823 xcoff_reloc_type_neg (input_bfd, input_section, output_bfd, rel, sym, howto, in xcoff_reloc_type_neg() argument
2826 asection *input_section ATTRIBUTE_UNUSED;
2841 xcoff_reloc_type_rel (input_bfd, input_section, output_bfd, rel, sym, howto, in xcoff_reloc_type_rel() argument
2844 asection *input_section;
[all …]
HDelfxx-sparc.c51 PTR data, asection *input_section, bfd *output_bfd, in init_insn_reloc() argument
62 reloc_entry->address += input_section->output_offset; in init_insn_reloc()
70 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) in init_insn_reloc()
79 relocation -= (input_section->output_section->vma in init_insn_reloc()
80 + input_section->output_offset); in init_insn_reloc()
96 asection *input_section ATTRIBUTE_UNUSED, in sparc_elf_notsup_reloc()
107 PTR data, asection *input_section, bfd *output_bfd, in sparc_elf_wdisp16_reloc() argument
115 input_section, output_bfd, &relocation, &insn); in sparc_elf_wdisp16_reloc()
134 PTR data, asection *input_section, bfd *output_bfd, in sparc_elf_hix22_reloc() argument
142 input_section, output_bfd, &relocation, &insn); in sparc_elf_hix22_reloc()
[all …]
HDelfxx-mips.c1315 arelent *reloc_entry, asection *input_section, in _bfd_mips_elf_gprel16_with_gp() argument
1330 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) in _bfd_mips_elf_gprel16_with_gp()
1357 reloc_entry->address += input_section->output_offset; in _bfd_mips_elf_gprel16_with_gp()
1371 asection *input_section; member
1391 asection *input_section, bfd *output_bfd, in _bfd_mips_elf_hi16_reloc() argument
1396 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) in _bfd_mips_elf_hi16_reloc()
1405 n->input_section = input_section; in _bfd_mips_elf_hi16_reloc()
1410 reloc_entry->address += input_section->output_offset; in _bfd_mips_elf_hi16_reloc()
1421 void *data, asection *input_section, in _bfd_mips_elf_got16_reloc() argument
1429 input_section, output_bfd, in _bfd_mips_elf_got16_reloc()
[all …]
HDcoff-i386.c65 coff_i386_reloc (abfd, reloc_entry, symbol, data, input_section, output_bfd, in coff_i386_reloc() argument
71 asection *input_section ATTRIBUTE_UNUSED;
416 input_section, contents, relocs, syms, in coff_pe_i386_relocate_section() argument
421 asection *input_section;
431 input_section, contents,
HDelf64-x86-64.c2045 bfd *input_bfd, asection *input_section, in elf64_x86_64_relocate_section() argument
2065 relend = relocs + input_section->reloc_count; in elf64_x86_64_relocate_section()
2108 RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel, in elf64_x86_64_relocate_section()
2341 && (input_section->flags & SEC_ALLOC) != 0 in elf64_x86_64_relocate_section()
2342 && (input_section->flags & SEC_READONLY) != 0 in elf64_x86_64_relocate_section()
2375 if ((input_section->flags & SEC_ALLOC) == 0) in elf64_x86_64_relocate_section()
2409 _bfd_elf_section_offset (output_bfd, info, input_section, in elf64_x86_64_relocate_section()
2416 outrel.r_offset += (input_section->output_section->vma in elf64_x86_64_relocate_section()
2417 + input_section->output_offset); in elf64_x86_64_relocate_section()
2481 sreloc = elf_section_data (input_section)->sreloc; in elf64_x86_64_relocate_section()
[all …]
HDlinker.c2052 asection *input_section; in _bfd_generic_final_link() local
2059 input_section = p->u.indirect.section; in _bfd_generic_final_link()
2060 input_bfd = input_section->owner; in _bfd_generic_final_link()
2062 input_section); in _bfd_generic_final_link()
2070 input_section, in _bfd_generic_final_link()
2077 == input_section->reloc_count); in _bfd_generic_final_link()
2715 asection *input_section; in default_indirect_link_order() local
2724 input_section = link_order->u.indirect.section; in default_indirect_link_order()
2725 input_bfd = input_section->owner; in default_indirect_link_order()
2726 if (input_section->size == 0) in default_indirect_link_order()
[all …]
/NextBSD/contrib/binutils/ld/emultempl/
HDppc64elf.em139 asection *input_section;
180 if (l->input_section.section == info->input_section)
217 ppc_add_stub_section (const char *stub_sec_name, asection *input_section)
235 output_section = input_section->output_section;
239 info.input_section = input_section;
284 asection *i = statement->input_section.section;
299 asection *i = statement->input_section.section;

123