• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/bfd/

Lines Matching refs:relocation

505 /* Return TRUE if this relocation should
597 bfd_vma relocation;
607 /* If the sections are different, and we are doing a partial relocation,
613 relocation = (target & 0x00ffffff) << 2;
614 relocation = (relocation ^ 0x02000000) - 0x02000000; /* Sign extend. */
615 relocation += symbol->value;
616 relocation += symbol->section->output_section->vma;
617 relocation += symbol->section->output_offset;
618 relocation += reloc_entry->addend;
619 relocation -= input_section->output_section->vma;
620 relocation -= input_section->output_offset;
621 relocation -= addr;
623 if (relocation & 3)
627 if (relocation & 0x02000000)
629 if ((relocation & ~ (bfd_vma) 0x03ffffff) != ~ (bfd_vma) 0x03ffffff)
632 else if (relocation & ~(bfd_vma) 0x03ffffff)
636 target |= (relocation >> 2) & 0x00ffffff;
640 Strictly this is only necessary if we are doing a partial relocation. */
656 bfd_vma relocation = 0;
695 /* If the sections are different, and we are doing a partial relocation,
705 relocation = ((target & dstmsk) << 1);
710 relocation = ((target & 0x7ff) << 1) | ((target & 0x07ff0000) >> 4);
712 relocation = ((target & 0x7ff) << 12) | ((target & 0x07ff0000) >> 15);
719 relocation = (relocation ^ signbit) - signbit; /* Sign extend. */
720 relocation += symbol->value;
721 relocation += symbol->section->output_section->vma;
722 relocation += symbol->section->output_offset;
723 relocation += reloc_entry->addend;
724 relocation -= input_section->output_section->vma;
725 relocation -= input_section->output_offset;
726 relocation -= addr;
728 if (relocation & 1)
732 if (relocation & signbit)
734 if ((relocation & ~offmsk) != ~offmsk)
737 else if (relocation & ~offmsk)
745 target |= (relocation >> 1);
750 target |= (((relocation & 0xfff) >> 1)
751 | ((relocation << 4) & 0x07ff0000));
753 target |= (((relocation & 0xffe) << 15)
754 | ((relocation >> 12) & 0x7ff));
764 Strictly this is only necessary if we are doing a partial relocation. */
1152 Thumb BRANCH23 relocation. The alternative would be to split the
1154 bit simpler simply providing our own relocation driver. */
1283 within the same section, the relocation should have already
1550 /* If the relocation type and destination symbol does not
1594 routines do to perform a relocation, with special
1606 bfd_vma relocation = val + addend;
1622 relocation -= (input_section->output_section->vma
1626 relocation -= address;
1628 /* No need to negate the relocation with BRANCH23. */
1633 check = relocation >> howto->rightshift;
1637 if ((bfd_signed_vma) relocation >= 0)
1667 relocation += signed_add;
1676 /* Put the relocation into the correct bits.
1677 For a BLX instruction, make sure that the relocation is rounded up
1683 if ((x & 0x1800) == 0x0800 && (relocation & 0x02))
1684 relocation += 2;
1685 relocation = (((relocation & 0xffe) >> 1) | ((relocation << 4) & 0x07ff0000));
1689 if ((x & 0x18000000) == 0x08000000 && (relocation & 0x02))
1690 relocation += 2;
1691 relocation = (((relocation & 0xffe) << 15) | ((relocation >> 12) & 0x7ff));
1694 /* Add the relocation to the correct bits of X. */
1695 x = ((x & ~howto->dst_mask) | relocation);
2070 /* If the relocation is not against a symbol it cannot concern us. */
2084 /* If the relocation is against a static symbol it must be within
2085 the current section and so cannot be a cross ARM/Thumb relocation. */