Home | History | Annotate | Download | only in bfd

Lines Matching defs:relocation

153   bfd_vma relocation;
176 /* Is the address of the relocation really within the section? */
180 /* Work out which section the relocation is targeted at and the
181 initial relocation command value. */
185 relocation = 0;
187 relocation = symbol->value;
197 relocation += output_base + symbol->section->output_offset;
200 relocation += reloc_entry->addend;
202 /* Here the variable relocation holds the final address of the
207 /* This is a PC relative relocation. We want to set RELOCATION
209 location. RELOCATION is already the address of the symbol.
224 relocation is done. If pcrel_offset is FALSE we want to wind
234 relocation -=
238 relocation -= reloc_entry->address;
245 /* This is a partial relocation, and we want to apply the relocation
248 reloc_entry->addend = relocation;
254 /* This is a partial relocation, but inplace, so modify the
266 relocation with -r. Removing the line below this comment
339 relocation -= reloc_entry->addend;
344 reloc_entry->addend = relocation;
364 /* Get the value that will be used for the relocation, but
367 check = relocation >> (howto->rightshift - howto->bitpos);
369 check = relocation << (howto->bitpos - howto->rightshift);
381 && (bfd_signed_vma) relocation < 0)
417 && (bfd_signed_vma) relocation < 0)
437 the relocation to the reloc entry (probably because there isn't
463 relocation >>= (bfd_vma) howto->rightshift;
466 relocation <<= (bfd_vma) howto->bitpos;
473 r relocation offset to apply
501 relocation) & howto->dst_mask))
515 if (relocation)
523 if (relocation)
533 relocation = -relocation;
545 if (relocation)
569 bfd_vma relocation,
578 /* If the size is negative, negate RELOCATION. This isn't very
581 relocation = -relocation;
614 check = relocation;
615 signed_check = (bfd_signed_vma) relocation;
620 check = relocation >> howto->rightshift;
624 if ((bfd_signed_vma) relocation >= 0)
712 /* Put RELOCATION in the right bits. */
713 relocation >>= (bfd_vma) howto->rightshift;
714 relocation <<= (bfd_vma) howto->bitpos;
716 /* Add RELOCATION to the right bits of X. */
718 | (((x & howto->src_mask) + relocation) & howto->dst_mask));
777 bfd_vma relocation;
783 /* This function assumes that we are dealing with a basic relocation
787 relocation = value + addend;
789 /* If the relocation is PC relative, we want to set RELOCATION to
790 the distance between the symbol (currently in RELOCATION) and the
801 relocation -= (input_section->output_section->vma
804 relocation -= address;
807 return _bfd_ns32k_relocate_contents (howto, input_bfd, relocation,