Lines Matching full:relocation
43 /* The relocation "howto" table. */
46 relocation.
50 performing the relocation. Otherwise it must stop and return the
58 bfd_vma relocation;
77 relocation = (symbol->value
80 relocation += reloc_entry->addend;
83 relocation -= (input_section->output_section->vma
85 relocation -= reloc_entry->address;
88 *prelocation = relocation;
114 bfd_vma relocation;
119 input_section, output_bfd, &relocation, &insn);
124 insn |= (((relocation >> 2) & 0xc000) << 6) | ((relocation >> 2) & 0x3fff);
127 if ((bfd_signed_vma) relocation < - 0x40000
128 || (bfd_signed_vma) relocation > 0x3ffff)
141 bfd_vma relocation;
146 input_section, output_bfd, &relocation, &insn);
151 insn |= (((relocation >> 2) & 0x300) << 11)
152 | (((relocation >> 2) & 0xff) << 5);
155 if ((bfd_signed_vma) relocation < - 0x1000
156 || (bfd_signed_vma) relocation > 0xfff)
169 bfd_vma relocation;
174 input_section, output_bfd, &relocation, &insn);
178 relocation ^= MINUS_ONE;
179 insn = (insn &~ (bfd_vma) 0x3fffff) | ((relocation >> 10) & 0x3fffff);
182 if ((relocation & ~ (bfd_vma) 0xffffffff) != 0)
195 bfd_vma relocation;
200 input_section, output_bfd, &relocation, &insn);
204 insn = (insn &~ (bfd_vma) 0x1fff) | 0x1c00 | (relocation & 0x3ff);
317 /* We explicitly handle each relocation type in the switch
639 (*_bfd_error_handler) (_("invalid relocation type %d"),
1431 /* Check relocation against local STT_GNU_IFUNC symbol. */
2366 /* R_SPARC_TLS_IE_{HI22,LO10} needs one dynamic relocation,
2882 when resolving @dtpoff relocation.
2894 /* Return the relocation value for @tpoff relocation
2913 /* Return the relocation value for a %gdop relocation. */
2983 bfd_vma relocation, off;
3009 relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel);
3031 h, sec, relocation,
3036 relocations, set the relocation's address to be the same as
3039 relocation = input_section->output_section->vma;
3041 relocation = 0;
3088 relocation = htab->elf.sgot->output_offset + off - got_base;
3093 relocation = (plt_sec->output_section->vma
3121 outrel.r_addend = relocation + rel->r_addend;
3135 relocation = (plt_sec->output_section->vma
3144 relocation = (plt_sec->output_section->vma
3155 (_("%B: relocation %s against STT_GNU_IFUNC "
3185 relocation = 0x80000000 | (insn & 0x3e07c01f);
3186 bfd_put_32 (output_bfd, relocation, contents + rel->r_offset);
3195 relocation = gdopoff (info, relocation);
3201 /* Relocation is to the entry for this symbol in the global
3228 relocation entry to initialize the value. This
3234 SPARC_ELF_PUT_WORD (htab, output_bfd, relocation,
3272 outrel.r_addend = relocation;
3273 relocation = 0;
3277 SPARC_ELF_PUT_WORD (htab, output_bfd, relocation,
3282 relocation = htab->elf.sgot->output_offset + off - got_base;
3301 /* Relocation is to the entry for this symbol in the
3329 relocation = (htab->elf.splt->output_section->vma
3459 a dynamic relocation. But an .rela.* slot has been
3489 outrel.r_addend = relocation + rel->r_addend;
3495 outrel.r_addend = relocation + rel->r_addend;
3511 /* We are turning this relocation into one
3598 relocation = tpoff (info, relocation);
3604 relocation = tpoff (info, relocation);
3648 outrel.r_addend = relocation - dtpoff_base (info);
3661 relocation - dtpoff_base (info),
3688 relocation = htab->elf.sgot->output_offset + off - got_base;
3708 relocation -= dtpoff_base (info);
3739 outrel.r_addend = relocation - dtpoff_base (info)
3746 relocation = tpoff (info, relocation);
3818 /* If the instruction we moved has a relocation attached to
3849 relocation = insn | (ABI_64_P (output_bfd) ? 0xc0580000 : 0xc0000000);
3851 relocation = (insn & ~0x7c000) | 0x1c000;
3852 bfd_put_32 (output_bfd, relocation, contents + rel->r_offset);
3880 relocation = SPARC_NOP;
3882 relocation = 0x80100000 | (insn & 0x3e00001f);
3883 bfd_put_32 (output_bfd, relocation, contents + rel->r_offset);
3888 /* Totally useless relocation. */
3893 relocation -= dtpoff_base (info);
3909 (_("%B(%A+0x%lx): unresolvable %s relocation against symbol `%s'"),
3924 relocation += rel->r_addend;
3925 relocation = (relocation & 0x3ff) + ELF64_R_TYPE_DATA (rel->r_info);
3928 x = (x & ~(bfd_vma) 0x1fff) | (relocation & 0x1fff);
3934 relocation);
3940 relocation += rel->r_addend;
3941 relocation -= (input_section->output_section->vma
3943 relocation -= rel->r_offset;
3946 x |= ((((relocation >> 2) & 0xc000) << 6)
3947 | ((relocation >> 2) & 0x3fff));
3953 relocation);
3959 relocation += rel->r_addend;
3960 relocation -= (input_section->output_section->vma
3962 relocation -= rel->r_offset;
3965 x |= ((((relocation >> 2) & 0x300) << 11)
3966 | (((relocation >> 2) & 0xff) << 5));
3972 relocation);
3978 relocation = relocation + rel->r_addend;
3981 x = x + relocation;
3990 relocation += rel->r_addend;
3992 relocation ^= MINUS_ONE;
3995 x = (x & ~(bfd_vma) 0x3fffff) | ((relocation >> 10) & 0x3fffff);
4004 relocation += rel->r_addend;
4005 relocation &= 0x3ff;
4007 relocation |= 0x1c00;
4010 x = (x & ~(bfd_vma) 0x1fff) | relocation;
4020 relocation += rel->r_addend;
4022 || (bfd_signed_vma) relocation < 0)
4023 relocation = relocation ^ MINUS_ONE;
4026 x = (x & ~(bfd_vma) 0x3fffff) | ((relocation >> 10) & 0x3fffff);
4032 relocation);
4039 relocation += rel->r_addend;
4041 || (bfd_signed_vma) relocation < 0)
4042 relocation = (relocation & 0x3ff) | 0x1c00;
4044 relocation = (relocation & 0x3ff);
4047 x = (x & ~(bfd_vma) 0x1fff) | relocation;
4087 reloc = relocation + rel->r_addend - rel->r_offset;
4148 relocation, rel->r_addend);
4364 /* On VxWorks, the relocation points to the .got.plt entry,
4687 /* Add an unloaded relocation for the initial entry's "sethi". */
4869 /* Return address for Ith PLT stub in section PLT, for relocation REL