Home | History | Annotate | Download | only in bfd

Lines Matching defs:relocation

157   bfd_vma relocation;
180 /* Is the address of the relocation really within the section? */
184 /* Work out which section the relocation is targeted at and the
185 initial relocation command value. */
189 relocation = 0;
191 relocation = symbol->value;
201 relocation += output_base + symbol->section->output_offset;
204 relocation += reloc_entry->addend;
206 /* Here the variable relocation holds the final address of the
211 /* This is a PC relative relocation. We want to set RELOCATION
213 location. RELOCATION is already the address of the symbol.
228 relocation is done. If pcrel_offset is FALSE we want to wind
238 relocation -=
242 relocation -= reloc_entry->address;
249 /* This is a partial relocation, and we want to apply the relocation
252 reloc_entry->addend = relocation;
258 /* This is a partial relocation, but inplace, so modify the
270 relocation with -r. Removing the line below this comment
343 relocation -= reloc_entry->addend;
348 reloc_entry->addend = relocation;
368 /* Get the value that will be used for the relocation, but
371 check = relocation >> (howto->rightshift - howto->bitpos);
373 check = relocation << (howto->bitpos - howto->rightshift);
385 && (bfd_signed_vma) relocation < 0)
421 && (bfd_signed_vma) relocation < 0)
441 the relocation to the reloc entry (probably because there isn't
467 relocation >>= (bfd_vma) howto->rightshift;
470 relocation <<= (bfd_vma) howto->bitpos;
477 r relocation offset to apply
505 relocation = -relocation;
508 x = ( (x & ~howto->dst_mask) | (((x & howto->src_mask) + relocation) & howto->dst_mask))
525 if (relocation)
533 if (relocation)
543 if (relocation)
567 bfd_vma relocation,
577 relocation = -relocation;
611 check = relocation;
612 signed_check = (bfd_signed_vma) relocation;
617 check = relocation >> howto->rightshift;
621 if ((bfd_signed_vma) relocation >= 0)
709 /* Put RELOCATION in the right bits. */
710 relocation >>= (bfd_vma) howto->rightshift;
711 relocation <<= (bfd_vma) howto->bitpos;
713 /* Add RELOCATION to the right bits of X. */
715 | (((x & howto->src_mask) + relocation) & howto->dst_mask));
774 bfd_vma relocation;
780 /* This function assumes that we are dealing with a basic relocation
784 relocation = value + addend;
786 /* If the relocation is PC relative, we want to set RELOCATION to
787 the distance between the symbol (currently in RELOCATION) and the
793 relocation -= (input_section->output_section->vma
796 relocation -= address;
799 return _bfd_ns32k_relocate_contents (howto, input_bfd, relocation,