Home | History | Annotate | Download | only in bfd

Lines Matching full:relocation

73   /* The index of the symbol, as stored in the relocation r_info, if
80 /* If abfd != NULL && symndx != -1, the addend of the relocation
185 /* The size of an external REL relocation. */
195 /* This will be used when we sort the dynamic relocation records. */
349 dangerous relocation. */
430 (char *) _("GP relative relocation when _gp not defined");
447 bfd_vma relocation;
451 relocation = 0;
453 relocation = symbol->value;
455 relocation += symbol->section->output_section->vma;
456 relocation += symbol->section->output_offset;
478 bfd_vma relocation;
482 relocation = 0;
484 relocation = symbol->value;
486 relocation += symbol->section->output_section->vma;
487 relocation += symbol->section->output_offset;
503 val += relocation - gp;
551 /* Do a R_SCORE_GPREL32 relocation. This is a 32 bit value which must
569 _("32bits gp relative relocation occurs for an external symbol");
591 like any other 16-bit relocation when applied to global symbols, but is
601 /* The relocation is against a global symbol. */
645 /* No relocation. */
915 /* 32 bit symbol relative relocation. */
1171 /* Returns the first relocation of type r_type found, beginning with
1172 RELOCATION. RELEND is one-past-the-end of the relocation table. */
1175 const Elf_Internal_Rela *relocation,
1178 while (relocation < relend)
1180 if (ELF32_R_TYPE (relocation->r_info) == r_type)
1181 return relocation;
1183 ++relocation;
1191 /* This function is called via qsort() to sort the dynamic relocation
1205 /* Return whether a relocation is against a local symbol. */
1208 const Elf_Internal_Rela *relocation,
1217 r_symndx = ELF32_R_SYM (relocation->r_info);
1242 /* Returns the dynamic relocation section for DYNOBJ. */
1284 /* Create a rel.dyn relocation for the dynamic linker to resolve. REL
1285 is the original relocation, which is now being transformed into a
1286 dynamic relocation. The ADDENDP is adjusted if necessary; the
1318 /* The relocation field has been deleted. */
1323 /* The relocation field has been converted into a relative value of
1331 in the relocation. */
1340 relocation field. It therefore treats relocs against
1351 /* If the relocation was previously an absolute relocation and
1352 this symbol will not be referred to by the relocation, we must
1358 relocation is always an REL32 relocation because we don't
1363 generate a R_SCORE_64 relocation record by itself before the
1365 a 64-bit value (REL32 is a 32-bit relocation, after all).
1372 additional relocation record with R_SCORE_64 by itself for a
1373 NULL symbol before this relocation record. */
1377 /* Adjust the output offset of the relocation to reference the
1386 /* Put the relocation back out. We have to use the special
1387 relocation outputter in the 64-bit case since the 64-bit
1388 relocation format is non-standard. */
1393 /* We've now added another relocation. */
1543 calculated with a `addiu' of a LO16 relocation, just as with a
1960 /* Perform a relocation as part of a final link. */
1986 /* The offset into the global offset table at which the address of the relocation entry
1989 /* TRUE if the symbol referred to by this relocation is a local symbol. */
2025 /* Parse the relocation. */
2129 /* If we're creating a shared library, or this relocation is against a symbol
2131 So, we create a relocation record in the output, and leave the job up
2325 full address in the GOT since no R_SCORE_GOT_LO16 relocation follows. */
2444 bfd_vma relocation = 0;
2462 relocation = (sec->output_section->vma
2486 addend -= relocation;
2507 addend -= relocation;
2528 addend -= relocation;
2553 addend = _bfd_elf_rel_local_sym (output_bfd, sym, &msec, addend) - relocation;
2575 addend = _bfd_elf_rel_local_sym (output_bfd, sym, &msec, addend) - relocation;
2594 addend = _bfd_elf_rel_local_sym (output_bfd, sym, &msec, addend) - relocation;
2643 relocation = (h->root.root.u.def.value
2648 relocation = h->root.root.u.def.value;
2655 relocation = 0;
2658 relocation = 0;
2666 relocation = 0;
2676 relocation = 0;
2706 relocation, info, name,
2738 msg = _("internal error: unsupported relocation error");
2962 /* This relocation describes the C++ object vtable hierarchy.
2969 /* This relocation describes which C++ vtable entries are actually
3313 /* If this relocation section applies to a read only
3315 If the relocation section is .rel.dyn, we always
3317 there exists a relocation to a read only section or
3699 /* We need to sort the entries of the dynamic relocation section. */
3797 indirect symbol. Process additional relocation information. */
3884 relocation. */