Lines Matching full:location

529 	unsigned long *location;  in apply_relocate_add()  local
547 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
554 location, (long)ELF64_R_TYPE(rela[i].r_info), in apply_relocate_add()
564 *(u32 *)location = value; in apply_relocate_add()
569 *(unsigned long *)location = value; in apply_relocate_add()
573 *(unsigned long *)location = my_r2(sechdrs, me); in apply_relocate_add()
584 *((uint16_t *) location) in apply_relocate_add()
585 = (*((uint16_t *) location) & ~0xffff) in apply_relocate_add()
592 *((uint16_t *) location) in apply_relocate_add()
593 = (*((uint16_t *) location) & ~0xffff) in apply_relocate_add()
605 *((uint16_t *) location) in apply_relocate_add()
606 = (*((uint16_t *) location) & ~0xfffc) in apply_relocate_add()
618 *((uint16_t *) location) in apply_relocate_add()
619 = (*((uint16_t *) location) & ~0xfffc) in apply_relocate_add()
627 *((uint16_t *) location) in apply_relocate_add()
628 = (*((uint16_t *) location) & ~0xffff) in apply_relocate_add()
642 (u32 *)location + 1, me)) in apply_relocate_add()
648 value -= (unsigned long)location; in apply_relocate_add()
656 value = (*(uint32_t *)location & ~PPC_LI_MASK) | PPC_LI(value); in apply_relocate_add()
658 if (patch_instruction((u32 *)location, ppc_inst(value))) in apply_relocate_add()
665 *location = value - (unsigned long)location; in apply_relocate_add()
671 value -= (unsigned long)location; in apply_relocate_add()
677 *(u32 *)location = value; in apply_relocate_add()
691 * the TOC is within 2GB range of current location. in apply_relocate_add()
693 value = my_r2(sechdrs, me) - (unsigned long)location; in apply_relocate_add()
701 if ((((uint32_t *)location)[0] & ~0xfffc) != PPC_RAW_LD(_R2, _R12, 0)) in apply_relocate_add()
703 if (((uint32_t *)location)[1] != PPC_RAW_ADD(_R2, _R2, _R12)) in apply_relocate_add()
710 ((uint32_t *)location)[0] = PPC_RAW_ADDIS(_R2, _R12, PPC_HA(value)); in apply_relocate_add()
711 ((uint32_t *)location)[1] = PPC_RAW_ADDI(_R2, _R2, PPC_LO(value)); in apply_relocate_add()
715 /* Subtract location pointer */ in apply_relocate_add()
716 value -= (unsigned long)location; in apply_relocate_add()
718 *((uint16_t *) location) in apply_relocate_add()
719 = (*((uint16_t *) location) & ~0xffff) in apply_relocate_add()
724 /* Subtract location pointer */ in apply_relocate_add()
725 value -= (unsigned long)location; in apply_relocate_add()
726 *((uint16_t *) location) in apply_relocate_add()
727 = (*((uint16_t *) location) & ~0xffff) in apply_relocate_add()