Lines Matching full:location
26 decode_calln_opcode (unsigned char *location) in decode_calln_opcode() argument
29 return (location[0] & 0xf0) == 0x50; in decode_calln_opcode()
32 return (location[0] & 0xf) == 0x5; in decode_calln_opcode()
37 decode_l32r_opcode (unsigned char *location) in decode_l32r_opcode() argument
40 return (location[0] & 0xf0) == 0x10; in decode_l32r_opcode()
43 return (location[0] & 0xf) == 0x1; in decode_l32r_opcode()
56 unsigned char *location; in apply_relocate_add() local
63 location = (char *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
79 *(uint32_t *)location += value; in apply_relocate_add()
83 if (decode_calln_opcode(location)) { in apply_relocate_add()
84 value -= ((unsigned long)location & -4) + 4; in apply_relocate_add()
96 location[0] = ((location[0] & ~0x3) | in apply_relocate_add()
98 location[1] = (value >> 8) & 0xff; in apply_relocate_add()
99 location[2] = value & 0xff; in apply_relocate_add()
102 location[0] = ((location[0] & ~0xc0) | in apply_relocate_add()
104 location[1] = (value >> 2) & 0xff; in apply_relocate_add()
105 location[2] = (value >> 10) & 0xff; in apply_relocate_add()
107 } else if (decode_l32r_opcode(location)) { in apply_relocate_add()
108 value -= (((unsigned long)location + 3) & -4); in apply_relocate_add()
121 location[1] = (value >> 8) & 0xff; in apply_relocate_add()
122 location[2] = value & 0xff; in apply_relocate_add()
125 location[1] = value & 0xff; in apply_relocate_add()
126 location[2] = (value >> 8) & 0xff; in apply_relocate_add()