Home | History | Annotate | Download | only in bfd

Lines Matching full:relocation

215   /* FIXME: This relocation is used (internally only) to represent branches
412 /* Do a REFHI relocation. This has to be done in combination with a
415 relocation when we see the REFLO. MIPS ECOFF requires that the
442 bfd_vma relocation;
461 relocation = 0;
463 relocation = symbol->value;
465 relocation += symbol->section->output_section->vma;
466 relocation += symbol->section->output_offset;
467 relocation += reloc_entry->addend;
472 /* Save the information, and let REFLO do the actual relocation. */
477 n->addend = relocation;
487 /* Do a REFLO relocation. This is a straightforward 16 bit inplace
488 relocation; this function exists in order to do the REFHI
489 relocation described above. */
512 /* Do the REFHI relocation. Note that we actually don't
549 /* Do a GPREL relocation. This is a 16 bit value which must become
563 bfd_vma relocation;
639 (char *) _("GP relative relocation when _gp not defined");
646 relocation = 0;
648 relocation = symbol->value;
650 relocation += symbol->section->output_section->vma;
651 relocation += symbol->section->output_offset;
668 val += relocation - gp;
743 relocations. The REFHI relocation must be followed by a REFLO
744 relocation, and the addend used is formed from the addends of both
753 bfd_vma relocation)
772 val += relocation;
874 bfd_vma relocation;
950 (info, _("GP relative relocation used when GP not defined"),
961 /* This is a relocation against a section. The current
965 final definition (which will end up in RELOCATION)
973 /* This is a relocation against a defined symbol. The
976 are going to change this into a relocation against a
979 symbol (which will end up in RELOCATION) and the GP
985 /* This is a relocation against an undefined or common
1064 relocation = (h->root.u.def.value
1068 /* For a PC relative relocation, the object file
1072 relocation -= int_rel.r_vaddr - input_section->vma;
1091 relocation = 0;
1096 /* This is a relocation against a section. Adjust the
1098 relocation = (s->output_section->vma
1103 relocation += addend;
1106 /* Adjust a PC relative relocation by removing the reference
1110 relocation -= (input_section->output_section->vma
1115 if (relocation == 0)
1120 r = _bfd_relocate_contents (howto, input_bfd, relocation,
1129 relocation);
1154 relocation = (h->root.u.def.value
1165 relocation = 0;
1171 relocation = (s->output_section->vma
1176 file. Make it look like a pcrel_offset relocation by
1179 relocation += int_rel.r_vaddr;
1189 relocation,
1196 relocation);
1207 && (((relocation