Lines Matching refs:location
28 decode_calln_opcode (unsigned char *location) in decode_calln_opcode() argument
31 return (location[0] & 0xf0) == 0x50; in decode_calln_opcode()
34 return (location[0] & 0xf) == 0x5; in decode_calln_opcode()
39 decode_l32r_opcode (unsigned char *location) in decode_l32r_opcode() argument
42 return (location[0] & 0xf0) == 0x10; in decode_l32r_opcode()
45 return (location[0] & 0xf) == 0x1; in decode_l32r_opcode()
58 unsigned char *location; in apply_relocate_add() local
66 location = (char *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
82 *(uint32_t *)location += value; in apply_relocate_add()
86 if (decode_calln_opcode(location)) { in apply_relocate_add()
87 value -= ((unsigned long)location & -4) + 4; in apply_relocate_add()
99 location[0] = ((location[0] & ~0x3) | in apply_relocate_add()
101 location[1] = (value >> 8) & 0xff; in apply_relocate_add()
102 location[2] = value & 0xff; in apply_relocate_add()
105 location[0] = ((location[0] & ~0xc0) | in apply_relocate_add()
107 location[1] = (value >> 2) & 0xff; in apply_relocate_add()
108 location[2] = (value >> 10) & 0xff; in apply_relocate_add()
110 } else if (decode_l32r_opcode(location)) { in apply_relocate_add()
111 value -= (((unsigned long)location + 3) & -4); in apply_relocate_add()
124 location[1] = (value >> 8) & 0xff; in apply_relocate_add()
125 location[2] = value & 0xff; in apply_relocate_add()
128 location[1] = value & 0xff; in apply_relocate_add()
129 location[2] = (value >> 8) & 0xff; in apply_relocate_add()