Home | History | Annotate | Download | only in bfd

Lines Matching full:relocation

36 /* The relocation "howto" table.  */
344 (*_bfd_error_handler) (_("%B: invalid relocation type %d"),
352 /* A relocation function which doesn't do anything. */
378 bfd_vma relocation;
396 relocation = (symbol->value
399 relocation += reloc_entry->addend;
402 relocation -= (input_section->output_section->vma
404 relocation -= reloc_entry->address;
408 insn |= (relocation & 0xfff) << 16 | (relocation & 0xff000) >> 4;
411 if ((bfd_signed_vma) relocation < - 0x80000
412 || (bfd_signed_vma) relocation > 0x7ffff)
436 section, and instead use a dynamic relocation to point into the
1107 to resolve the relocation. So it is in fact also
1403 /* This relocation describes the C++ object vtable hierarchy.
1410 /* This relocation
1428 relocation. */
1853 we can save the dynamic TLS relocation. */
1892 /* R_390_TLS_IE32 needs one dynamic relocation,
2259 when resolving @dtpoff relocation.
2271 /* Return the relocation value for @tpoff relocation
2285 /* Complain if TLS instruction relocation is against an invalid
2297 (_("%B(%A+0x%lx): invalid instruction for TLS relocation %s"),
2342 bfd_vma relocation;
2376 relocation = (htab->elf.iplt->output_section->vma
2384 relocation -= htab->elf.sgot->output_section->vma;
2398 bfd_put_32 (output_bfd, relocation,
2401 relocation = (local_got_offsets[r_symndx] +
2405 relocation += htab->elf.sgot->output_section->vma;
2413 relocation. */
2418 relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel);
2427 h, sec, relocation,
2445 /* There are three cases for a GOTPLT relocation. 1) The
2446 relocation is against the jump slot entry of a plt that
2447 will get emitted to the output file. 2) The relocation
2450 as replacement. 3) The relocation is against a local symbol.
2451 Cases 2) and 3) are the same as the GOT relocation code
2461 relocation = (plt_index * GOT_ENTRY_SIZE +
2464 relocation += htab->elf.igotplt->output_section->vma;
2475 relocation = (plt_index + 3) * GOT_ENTRY_SIZE;
2477 relocation += htab->elf.sgot->output_section->vma;
2489 /* Relocation is to the entry for this symbol in the global
2535 relocation entry to initialize the value. This
2541 bfd_put_32 (output_bfd, relocation,
2570 relocation = h->root.u.def.value
2593 bfd_put_32 (output_bfd, relocation,
2610 outrel.r_addend = relocation;
2623 relocation = base_got->output_offset + off;
2625 /* For @GOTENT the relocation is against the offset between
2631 relocation += base_got->output_section->vma;
2637 /* Relocation is relative to the start of the global offset
2645 relocation -= htab->elf.sgot->output_section->vma;
2651 relocation = htab->elf.sgot->output_section->vma;
2660 /* Relocation is to the entry for this symbol in the
2678 relocation = (htab->elf.iplt->output_section->vma
2682 relocation = (htab->elf.splt->output_section->vma
2690 /* Relocation is to the entry for this symbol in the
2699 relocation -= htab->elf.sgot->output_section->vma;
2704 relocation = (htab->elf.iplt->output_section->vma
2709 relocation = (htab->elf.splt->output_section->vma
2733 relocation = (htab->elf.iplt->output_section->vma
2740 /* For shared objects a runtime relocation is needed. */
2745 /* Need a dynamic relocation to get the real function
2852 outrel.r_addend = relocation + rel->r_addend;
2882 /* We are turning this relocation into one
2948 /* This relocation gets optimized away by the local exec
2951 bfd_put_32 (output_bfd, -tpoff (info, relocation),
2991 outrel.r_addend = relocation - dtpoff_base (info);
3006 relocation - dtpoff_base (info),
3030 relocation = htab->elf.sgot->output_offset + off;
3032 relocation += htab->elf.sgot->output_section->vma;
3066 bfd_put_32 (output_bfd, -tpoff (info, relocation),
3068 relocation = htab->elf.sgot->output_offset + off;
3070 relocation += htab->elf.sgot->output_section->vma;
3076 /* The literal pool entry this relocation refers to gets ignored
3108 relocation = htab->elf.sgot->output_offset + off;
3116 a R_390_TLS_TPOFF relocation. */
3131 outrel.r_addend = relocation - dtpoff_base (info);
3144 bfd_put_32 (output_bfd, -tpoff (info, relocation),
3151 relocation -= dtpoff_base (info);
3154 relocation = -tpoff (info, relocation);
3308 (_("%B(%A+0x%lx): unresolvable %s relocation against symbol `%s'"),
3329 relocation += rel->r_addend;
3330 relocation = (relocation&0xfff) << 8 | (relocation&0xff000) >> 12;
3333 relocation, 0);
3338 relocation, rel->r_addend);
3973 /* Return address for Ith PLT stub in section PLT, for relocation REL