Lines Matching full:relocation
56 bfd_vma relocation;
72 relocation = 0;
74 relocation = symbol->value;
84 relocation += output_base + symbol->section->output_offset;
87 relocation += reloc_entry->addend;
89 relocation -= input_section->output_section->vma + input_section->output_offset;
90 relocation -= reloc_entry->address;
99 relocation);
105 if (howto->rightshift && (relocation & 0x01))
107 (*_bfd_error_handler) (_("relocation should be even number"));
111 relocation >>= (bfd_vma) howto->rightshift;
114 relocation <<= (bfd_vma) howto->bitpos;
130 relocation by 1 (effectively 2) and used the addr -2 instead of addr. */
132 relocation += 1;
134 x = (x & 0xff00) | ((relocation >> 16) & 0xff);
138 x = relocation & 0xFFFF;
153 bfd_vma relocation, x;
160 /* Is the address of the relocation really within the section? */
170 relocation = symbol->value;
179 relocation += output_base + symbol->section->output_offset;
182 relocation += reloc_entry->addend;
201 relocation);
206 /* Here the variable relocation holds the final address of the
209 relocation >>= (bfd_vma) howto->rightshift;
210 x = relocation;
225 bfd_vma relocation, x;
231 /* Is the address of the relocation really within the section? */
241 relocation = symbol->value;
253 relocation += output_base + symbol->section->output_offset;
256 relocation += reloc_entry->addend;
269 /* Here the variable relocation holds the final address of the
271 x = relocation & 0xFFFF0000;
275 x = relocation & 0x0000FFFF;
291 bfd_vma relocation;
298 /* Is the address of the relocation really within the section? */
309 relocation = 0;
311 relocation = symbol->value;
322 relocation += output_base + symbol->section->output_offset;
327 relocation += reloc_entry->addend;
330 /* Here the variable relocation holds the final address of the
335 relocation -= input_section->output_section->vma + input_section->output_offset;
338 relocation -= reloc_entry->address;
355 relocation);
361 if (howto->rightshift && (relocation & 0x01))
363 (*_bfd_error_handler) (_("relocation should be even number"));
367 relocation >>= (bfd_vma) howto->rightshift;
371 relocation <<= (bfd_vma) howto->bitpos;
374 x = ( (x & ~howto->dst_mask) | (relocation & howto->dst_mask))
408 b. A relocation can be an expression. An expression takes on
413 the relocation stack. . */
1109 /* Given a bfin relocation type, return the howto. */
1201 /* This relocation describes the C++ object vtable hierarchy.
1208 /* This relocation describes which C++ vtable entries
1267 /* Allocate relocation space. */
1350 relocation by 1 (effectively 2) and used the addr -2 instead of addr. */
1412 bfd_vma relocation = 0;
1445 relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel);
1453 h, sec, relocation,
1474 /* Relocation is to the address of the entry for this symbol
1480 /* Relocation is the offset of the entry for this symbol in
1525 relocation entry to initialize the value. This
1531 bfd_put_32 (output_bfd, relocation,
1552 bfd_put_32 (output_bfd, relocation, sgot->contents + off);
1567 outrel.r_addend = relocation;
1578 relocation = sgot->output_offset + off;
1580 /* bfin : preg = [preg + 17bitdiv4offset] relocation is div by 4. */
1581 relocation /= 4;
1589 relocation, rel->r_addend);
1603 (_("%B(%A+0x%lx): unresolvable relocation against symbol `%s'"),
1865 /* The index of the symbol, as stored in the relocation r_info, if
1878 /* The addend of the relocation that references the symbol. */
1885 ever referenced with a GOT relocation. The 17M4 suffix indicates a
1886 GOT17M4 relocation; hilo is used for GOTLO/GOTHI pairs. */
1889 /* Whether a FUNCDESC relocation references symbol+addend. */
1891 /* Whether a FUNCDESC_GOT relocation references symbol+addend. */
1894 /* Whether a FUNCDESC_GOTOFF relocation references symbol+addend. */
1902 /* Whether symbol+addend is referenced by a LABEL24 relocation. */
1905 relocation. */
2074 /* Add a dynamic relocation to the SRELOC section. */
2094 /* If the entry's index is zero, this relocation was probably to a
2096 relocation, but it was for another entry than the one we got at
2097 the time of emitting the relocation. Unfortunately there's no
2098 simple way for us to catch this situation, since the relocation
2100 we no longer know what the relocation used to point to. */
2195 /* Generate relocation for GOT entry pointing to the symbol. */
2218 omit the dynamic relocation as long as the symbol is local to
2254 /* Generate relocation for GOT entry pointing to a canonical
2267 library, emit a FUNCDESC relocation such that the dynamic
2271 dynamic relocation decayed to section+offset. */
2306 dynamic relocation. However, if we're linking an
2346 /* Generate relocation to fill in a private function descriptor in
2372 omit the dynamic relocation as long as the symbol is local to
2420 /* If we've omitted the dynamic relocation, just emit the fixed
2631 bfd_vma relocation;
2661 relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel);
2674 h, sec, relocation,
2692 relocation = 0;
2736 (_("%B: relocation at `%A+0x%x' references symbol `%s' with nonzero addend"),
2752 (info, _("relocation references symbol not defined in the module"),
2768 relocation = bfinfdpic_plt_section (info)->output_section->vma
2789 relocation = picrel->got_entry;
2796 relocation = picrel->fdgot_entry;
2803 relocation -= bfinfdpic_got_section (info)->output_section->vma
2815 relocation = picrel->fd_entry;
2829 shared library, emit a FUNCDESC relocation such that
2833 protected, emit a dynamic relocation decayed to
2869 the dynamic relocation. However, if we're linking an
2942 relocations are REL. Setting relocation to it should
2944 relocation = addend - rel->r_addend;
2994 can omit the dynamic relocation as long as the symbol
3067 relocations are REL. Setting relocation to it
3069 relocation = addend - rel->r_addend;
3074 /* If we've omitted the dynamic relocation, just emit
3137 : _("warning: relocation references a different segment"),
3149 relocation += rel->r_addend;
3154 relocation >>= 16;
3161 relocation &= 0xffff;
3195 relocation -= rel->r_addend;
3204 relocation, rel->r_addend);
3228 msg = _("internal error: unsupported relocation error");
3232 msg = _("internal error: dangerous relocation");
3252 /* Update the relocation information for the relocations of the section
3825 will cause a relocation overflow later on, so we don't have to
4335 subtract it from the relocation or fixup count. */
4357 /* Now examine each relocation. */
4659 this point, such that we can share them in this case. A relocation
4665 handled as if a FUNCDESC relocation was applied to the GOT entry in
4670 FUNCDESC relocation then decays to a 32 relocation that points at
4672 relocation is propagated to the linker output, such that the
4693 A function descriptor always requires a FUNCDESC_VALUE relocation.
4713 small as possible, while not introducing relocation overflows in
4886 /* This relocation describes the C++ object vtable hierarchy.
4893 /* This relocation describes which C++ vtable entries are actually
4911 (_("%B: unsupported relocation type %i"),
5158 (*_bfd_error_handler) (_("*** check this relocation %s"),
5505 relocation information into the .emreloc section which can be