Home | History | Annotate | Download | only in bfd

Lines Matching full:relocation

70   /* The index of the symbol, as stored in the relocation r_info, if
77 /* If abfd != NULL && symndx != -1, the addend of the relocation
182 /* The size of an external REL relocation. */
192 /* This will be used when we sort the dynamic relocation records. */
248 dangerous relocation. */
330 (char *) _("GP relative relocation when _gp not defined");
347 bfd_vma relocation;
351 relocation = 0;
353 relocation = symbol->value;
355 relocation += symbol->section->output_section->vma;
356 relocation += symbol->section->output_offset;
378 bfd_vma relocation;
382 relocation = 0;
384 relocation = symbol->value;
386 relocation += symbol->section->output_section->vma;
387 relocation += symbol->section->output_offset;
403 val += relocation - gp;
451 /* Do a R_SCORE_GPREL32 relocation. This is a 32 bit value which must
469 _("32bits gp relative relocation occurs for an external symbol");
491 like any other 16-bit relocation when applied to global symbols, but is
502 /* The relocation is against a global symbol. */
546 /* No relocation. */
815 /* 32 bit symbol relative relocation. */
1026 /* Returns the first relocation of type r_type found, beginning with
1027 RELOCATION. RELEND is one-past-the-end of the relocation table. */
1031 const Elf_Internal_Rela *relocation,
1034 while (relocation < relend)
1036 if (ELF32_R_TYPE (relocation->r_info) == r_type)
1037 return relocation;
1039 ++relocation;
1047 /* This function is called via qsort() to sort the dynamic relocation
1061 /* Return whether a relocation is against a local symbol. */
1064 const Elf_Internal_Rela *relocation,
1073 r_symndx = ELF32_R_SYM (relocation->r_info);
1098 /* Returns the dynamic relocation section for DYNOBJ. */
1141 /* Create a rel.dyn relocation for the dynamic linker to resolve. REL
1142 is the original relocation, which is now being transformed into a
1143 dynamic relocation. The ADDENDP is adjusted if necessary; the
1176 /* The relocation field has been deleted. */
1181 /* The relocation field has been converted into a relative value of
1189 in the relocation. */
1198 relocation field. It therefore treats relocs against
1209 /* If the relocation was previously an absolute relocation and
1210 this symbol will not be referred to by the relocation, we must
1216 /* The relocation is always an REL32 relocation because we don't
1221 generate a R_SCORE_64 relocation record by itself before the
1223 a 64-bit value (REL32 is a 32-bit relocation, after all).
1230 additional relocation record with R_SCORE_64 by itself for a
1231 NULL symbol before this relocation record. */
1235 /* Adjust the output offset of the relocation to reference the
1244 /* Put the relocation back out. We have to use the special
1245 relocation outputter in the 64-bit case since the 64-bit
1246 relocation format is non-standard. */
1251 /* We've now added another relocation. */
1404 calculated with a `addiu' of a LO16 relocation, just as with a
1801 /* Perform a relocation as part of a final link. */
1831 /* The offset into the global offset table at which the address of the relocation entry
1834 /* TRUE if the symbol referred to by this relocation is a local symbol. */
1874 /* Parse the relocation. */
2028 /* If we're creating a shared library, or this relocation is against a symbol
2030 So, we create a relocation record in the output, and leave the job up
2161 full address in the GOT since no R_SCORE_GOT_LO16 relocation follows. */
2282 bfd_vma relocation = 0;
2300 relocation = sec->output_section->vma + sec->output_offset;
2308 relocation += sym->st_value;
2329 addend -= relocation;
2345 addend = _bfd_elf_rel_local_sym (output_bfd, sym, &msec, addend) - relocation;
2365 addend = _bfd_elf_rel_local_sym (output_bfd, sym, &msec, addend) - relocation;
2415 relocation = (h->root.root.u.def.value
2420 relocation = h->root.root.u.def.value;
2427 relocation = 0;
2430 relocation = 0;
2438 relocation = 0;
2448 relocation = 0;
2515 relocation, info, name,
2547 msg = _("internal error: unsupported relocation error");
2767 /* This relocation describes the C++ object vtable hierarchy.
2774 /* This relocation describes which C++ vtable entries are actually
3121 /* If this relocation section applies to a read only
3123 If the relocation section is .rel.dyn, we always
3125 there exists a relocation to a read only section or
3509 /* We need to sort the entries of the dynamic relocation section. */
3609 indirect symbol. Process additional relocation information. */
3700 relocation. */