Home | History | Annotate | Download | only in bfd

Lines Matching full:relocation

716 	 a consistent meaning for the relocation, so we just assume here that
1034 relocation will be against an external symbol, the
1035 final relocation
1888 0, 0, 0, 0, /* 2: replaced with offset into relocation table. */
1903 0, 0, 0, 0, /* 2: replaced with offset into relocation table. */
1921 0, 0, 0, 0 /* 2: replaced with offset into relocation table. */
1937 0, 0, 0, 0 /* 2: replaced with offset into relocation table. */
2023 0, 0, 0, 0, /* 1: replaced with offset into relocation table. */
2037 0, 0, 0, 0, /* 1: replaced with offset into relocation table. */
2051 0, 0, 0, 0, /* 1: replaced with offset into relocation table. */
2065 0, 0, 0, 0, /* 1: replaced with offset into relocation table. */
2142 relocation table. */
2158 0, 0, 0, 0, /* 1: replaced with offset into relocation table. */
2205 0, 0, 0, 0, /* 1: replaced with offset into relocation table. */
2219 0, 0, 0, 0, /* 1: replaced with offset into relocation table. */
3021 for each PLT entry. They go in a separate relocation
3024 /* There is a relocation for the initial PLT entry:
3025 an R_SH_DIR32 relocation for _GLOBAL_OFFSET_TABLE_. */
3030 PLT entry: an R_SH_DIR32 relocation for the GOT entry,
3031 and an R_SH_DIR32 relocation for the PLT entry. */
3080 /* R_SH_TLS_IE_32 needs one dynamic relocation if dynamic,
3165 /* We will need a relocation or two fixups to initialize the
3636 /* Add a dynamic relocation to the SRELOC section. */
3786 install_movi20_field (bfd *output_bfd, unsigned long relocation,
3798 bfd_arch_bits_per_address (input_bfd), relocation);
3804 bfd_put_16 (output_bfd, cur_val | ((relocation & 0xf0000) >> 12), addr);
3805 bfd_put_16 (output_bfd, relocation & 0xffff, addr + 2);
3878 bfd_vma relocation;
3920 the relocation. */
3939 relocation = (sec->output_section->vma
3965 relocation, we need just to update the addend.
3992 relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel);
4003 (_("%B(%A+0x%lx): %s relocation against SEC_MERGE section"),
4013 - relocation;
4023 relocation = 0;
4044 /* In these cases, we don't need the relocation value.
4073 /* The cases above are those in which relocation is
4075 below are those in which we must defer relocation
4103 relocation = ((h->root.u.def.value
4118 (_("%B(%A+0x%lx): unresolvable %s relocation against symbol `%s'"),
4151 relocations connect the relocation site to the location of
4167 relocation, addend);
4182 != relocation)
4184 int disp = (relocation
4199 (_("%B: 0x%lx: fatal: unaligned branch target for relax-support relocation"),
4205 relocation -= 4;
4214 contents, rel, &relocation))
4229 if (relocation & 3)
4232 (_("%B: 0x%lx: fatal: unaligned %s relocation 0x%lx"),
4235 (unsigned long) relocation));
4244 if (relocation & 1)
4247 (_("%B: 0x%lx: fatal: unaligned %s relocation 0x%lx"),
4250 (unsigned long) relocation));
4257 if ((signed int)relocation < -32
4258 || (signed int)relocation > 32)
4261 (_("%B: 0x%lx: fatal: R_SH_PSHA relocation %d not in range -32..32"),
4264 (unsigned long) relocation));
4271 if ((signed int)relocation < -16
4272 || (signed int)relocation > 16)
4275 (_("%B: 0x%lx: fatal: R_SH_PSHL relocation %d not in range -32..32"),
4278 (unsigned long) relocation));
4364 outrel.r_addend = relocation;
4387 outrel.r_addend = relocation;
4454 /* Relocation is to the entry for this symbol in the
4466 /* Relocation is to the entry for this symbol in the global
4471 relocation = (sgotplt->output_offset
4476 relocation -= GOT_BIAS;
4492 /* Relocation is to the entry for this symbol in the global
4532 relocation entry to initialize the value. This
4538 bfd_put_32 (output_bfd, relocation,
4565 relocation = sh_elf_got_offset (htab) + off;
4598 bfd_put_32 (output_bfd, relocation, sgot->contents + off);
4620 outrel.r_addend = relocation;
4626 outrel.r_addend = relocation;
4648 relocation = sh_elf_got_offset (htab) + off;
4652 relocation -= GOT_BIAS;
4657 r = install_movi20_field (output_bfd, relocation + addend,
4680 relocation -= sgotplt->output_section->vma + sgotplt->output_offset
4684 relocation -= GOT_BIAS;
4691 r = install_movi20_field (output_bfd, relocation + addend,
4709 relocation = sgotplt->output_section->vma + sgotplt->output_offset;
4712 relocation += GOT_BIAS;
4726 /* Relocation is to the entry for this symbol in the
4754 relocation = (splt->output_section->vma
4759 relocation++;
4766 /* Relocation is to the canonical function descriptor for this
4787 relocation = 0;
4826 protected), emit a dynamic relocation decayed to
4832 relocation += h->root.u.def.section->output_offset
4839 shared library, emit a FUNCDESC relocation such that
4884 relocation = htab->sfuncdesc->output_offset + (offset & ~1);
4941 reloc_type, dynindx, relocation);
4950 relocation = 0;
4956 relocation += htab->sfuncdesc->output_section->vma;
4960 bfd_put_32 (output_bfd, relocation,
4969 relocation = sh_elf_got_offset (htab) + reloc_offset;
4971 relocation -= GOT_BIAS;
4976 r = install_movi20_field (output_bfd, relocation + addend,
4995 relocation = 0;
5002 (_("%B(%A+0x%lx): %s relocation against external symbol \"%s\""),
5042 relocation = htab->sfuncdesc->output_offset + (offset & ~1);
5045 relocation -= (htab->root.hgot->root.u.def.value
5048 relocation -= GOT_BIAS;
5053 r = install_movi20_field (output_bfd, relocation + addend,
5065 start = (relocation + rel->r_addend
5072 end = (relocation + rel->r_addend
5179 bfd_put_32 (output_bfd, tpoff (info, relocation),
5202 bfd_put_32 (output_bfd, tpoff (info, relocation),
5234 outrel.r_addend = relocation - dtpoff_base (info);
5247 relocation - dtpoff_base (info),
5272 relocation = sh_elf_got_offset (htab) + off;
5406 relocation = sh_elf_got_offset (htab) + off;
5414 relocation = tpoff (info, relocation);
5416 relocation -= dtpoff_base (info);
5431 relocation = tpoff (info, relocation);
5454 outrel.r_addend = relocation - dtpoff_base (info);
5475 (_("%X%C: relocation to \"%s\" references a different segment\n"),
5481 (_("%C: warning: relocation to \"%s\" references a different segment\n"),
5632 when resolving @dtpoff relocation.
5644 /* Return the relocation value for R_SH_TLS_TPOFF32.. */
6141 /* This relocation describes the C++ object vtable hierarchy.
6148 /* This relocation describes which C++ vtable entries are actually
6298 (_("%B: Function descriptor relocation with non-zero addend"),
6521 /* Allocate the fixup regardless of whether we need a relocation.
6522 If we end up generating the relocation, we'll unallocate the
6865 Begin by pointing LOC to the first such relocation. */
6869 /* Create a .rela.plt.unloaded R_SH_DIR32 relocation
6880 /* Create a .rela.plt.unloaded R_SH_DIR32 relocation for
7151 other relocation sections, we don't have to worry
7187 /* Create a .rela.plt.unloaded R_SH_DIR32 relocation for the
7350 /* Return address for Ith PLT stub in section PLT, for relocation REL