Home | History | Annotate | Download | only in bfd

Lines Matching defs:srel

407   bfd_signed_vma srel;
431 srel = (bfd_signed_vma) relocation;
432 srel += rel->r_addend;
433 srel -= rel->r_offset;
434 srel -= 2; /* Branch instructions add 2 to the PC... */
435 srel -= (input_section->output_section->vma +
438 if (srel & 1)
440 if (srel > ((1 << 8) - 1) || (srel < - (1 << 8)))
443 bfd_put_8 (input_bfd, srel >> 1, contents);
448 srel = (bfd_signed_vma) relocation;
449 srel += rel->r_addend;
450 srel -= rel->r_offset;
451 srel -= 2; /* Branch instructions add 2 to the PC... */
452 srel -= (input_section->output_section->vma +
455 if (srel & 1)
457 if (srel > ((1 << 11) - 1) || (srel < - (1 << 11)))
461 x = (x & 0xf800) | ((srel >> 1) & 0x7ff);