Home | History | Annotate | Download | only in bfd

Lines Matching full:relocation

96   bfd_signed_vma relocation;
104 relocation = symbol_value + addend;
106 relocation -= (input_section->output_section->vma
110 relocation -= (offset & -(bfd_vma) 4);
112 if (relocation < -0x200 || relocation > 0x1ff)
118 relocation >>= howto->rightshift;
119 relocation <<= howto->bitpos;
120 x = (x & ~howto->dst_mask) | (((x & howto->src_mask) + relocation) & howto->dst_mask);
161 /* Do generic partial_inplace relocation.
174 bfd_vma relocation;
205 relocation = 0;
207 relocation = symbol->value;
212 relocation += symbol->section->output_section->vma;
213 relocation += symbol->section->output_offset;
216 relocation += reloc_entry->addend;
221 (((x & reloc_entry->howto->src_mask) + relocation) & \
295 the information we need; we do the actual relocation when we see the LO16.
323 bfd_vma relocation;
347 relocation = 0;
349 relocation = symbol->value;
351 relocation += symbol->section->output_section->vma;
352 relocation += symbol->section->output_offset;
353 relocation += reloc_entry->addend;
355 /* Save the information, and let LO16 do the actual relocation. */
360 n->addend = relocation;
403 /* Do an R_M32R_LO16 relocation. This is a straightforward 16 bit
404 inplace relocation; this function exists in order to do the
405 R_M32R_HI16_[SU]LO relocation described above. */
439 /* Do the HI16 relocation. Note that we actually don't need
491 /* A 16 bit absolute relocation. */
506 /* A 32 bit absolute relocation. */
536 /* An PC Relative 10-bit relocation, shifted by 2.
558 /* A relative 18 bit relocation, right shifted by 2. */
573 /* A relative 26 bit relocation, right shifted by 2. */
703 /* A 16 bit absolute relocation. */
718 /* A 32 bit absolute relocation. */
762 /* A relative 18 bit relocation, right shifted by 2. */
777 /* A relative 26 bit relocation, right shifted by 2. */
882 /* A 32 bit PC relative relocation. */
1013 /* An PC Relative 24-bit relocation used when setting PIC offset
1077 /* An PC Relative relocation used when setting PIC offset table register.
1094 /* An PC Relative relocation used when setting PIC offset table register.
1111 /* An PC Relative relocation used when setting PIC offset table register.
1456 (const char *) _("SDA relocation when _SDA_BASE_ not defined");
2436 bfd_vma relocation;
2448 (*_bfd_error_handler) (_("%B: unknown relocation type %d"),
2482 relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel);
2487 relocation = (sec->output_section->vma
2495 relocation = 0;
2554 /* In these cases, we don't need the relocation
2559 relocation = (h->root.u.def.value
2569 (_("%B(%A+0x%lx): unresolvable %s relocation against symbol `%s'"),
2665 /* Relocation is relative to the start of the global offset
2673 relocation = -(relocation - sgot->output_section->vma);
2682 relocation -= sgot->output_section->vma;
2685 && ((relocation + rel->r_addend) & 0x8000))
2690 /* .got(_GLOBAL_OFFSET_TABLE_) - pc relocation
2693 relocation = sgot->output_section->vma;
2700 /* .got(_GLOBAL_OFFSET_TABLE_) - pc relocation
2709 relocation = sgot->output_section->vma;
2710 relocation -= (input_section->output_section->vma
2714 && ((relocation + rel->r_addend) & 0x8000))
2724 /* Relocation is to the entry for this symbol in the global
2754 relocation entry to initialize the value. This
2760 bfd_put_32 (output_bfd, relocation,
2766 relocation = sgot->output_offset + off;
2785 bfd_put_32 (output_bfd, relocation, sgot->contents + off);
2802 outrel.r_addend = relocation;
2812 relocation = sgot->output_offset + off;
2815 && ((relocation + rel->r_addend) & 0x8000))
2821 /* Relocation is to the entry for this symbol in the
2839 relocation = (splt->output_section->vma
2845 if ((relocation + rel->r_addend) & 0x8000)
2920 outrel.r_addend = relocation + rel->r_addend;
2926 outrel.r_addend = relocation + rel->r_addend;
2950 sec, relocation, addend);
2971 contents, relocation + addend);
2977 relocation, addend);
3006 /* At this point `relocation' contains the object's
3008 relocation -= sda_base;
3014 (_("%B: The target (%s) of an %s relocation is in the wrong section (%A)"),
3030 relocation, addend);
3036 relocation, rel->r_addend);
3081 errmsg = _("internal error: unsupported relocation error");
3379 other relocation sections, we don't have to worry
3964 /* This relocation describes the C++ object vtable hierarchy.
3972 /* This relocation describes which C++ vtable entries are actually