Lines Matching refs:rel
505 int rel;
508 rel = (int)v - gp_addr;
513 rel = (int)(short)((int)v + gp_offs +
517 if( (rel > 32768) || (rel < -32768) ) {
520 rel);
524 *location = (*location & 0xffff0000) | (rel & 0xffff);
532 int rel;
533 rel = (((unsigned int)v - (unsigned int)location));
534 rel >>= 2; // because the offset is in _instructions_ not bytes.
535 rel -= 1; // and one instruction less due to the branch delay slot.
537 if( (rel > 32768) || (rel < -32768) ) {
539 "apply_r_mips_pc16: relative address out of range 0x%x\n", rel);
543 *location = (*location & 0xffff0000) | (rel & 0xffff);
708 Elf32_Rel *rel = (void *) sechdrs[relsec].sh_addr;
715 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) {
716 Elf32_Word r_info = rel[i].r_info;
720 + rel[i].r_offset;
738 rel[i].r_offset, r ? r : "UNKNOWN",
747 void save_gp_address(unsigned int secbase, unsigned int rel)
749 gp_addr = secbase + rel;