Lines Matching refs:p
151 unsigned char *p = (unsigned char *) block; in arcExtMap_add() local
156 while (p && p < (block + length)) in arcExtMap_add()
173 if (p[0] == 0) in arcExtMap_add()
176 switch (p[1]) in arcExtMap_add()
180 char opcode = p[2]; in arcExtMap_add()
181 char minor = p[3]; in arcExtMap_add()
182 char * insn_name = (char *) xmalloc(( (int)*p-5) * sizeof(char)); in arcExtMap_add()
190 insn -> flags = (char) *(p+4); in arcExtMap_add()
191 strcpy (insn_name, (char *) (p+5)); in arcExtMap_add()
199 char * core_name = (char *) xmalloc(((int)*p-3) * sizeof(char)); in arcExtMap_add()
201 strcpy(core_name, (char *) (p+3)); in arcExtMap_add()
202 arc_extension_map.coreRegisters[p[2]-32] = core_name; in arcExtMap_add()
208 char * cc_name = (char *) xmalloc( ((int)*p-3) * sizeof(char)); in arcExtMap_add()
209 strcpy(cc_name, (char *) (p+3)); in arcExtMap_add()
210 arc_extension_map.condCodes[p[2]-16] = cc_name; in arcExtMap_add()
219 char * aux_name = (char *) xmalloc ( ((int)*p-6) * sizeof(char)); in arcExtMap_add()
221 strcpy (aux_name, (char *) (p+6)); in arcExtMap_add()
223 newAuxRegister->address = p[2]<<24 | p[3]<<16 | p[4]<<8 | p[5]; in arcExtMap_add()
233 p += p[0]; /* move to next record */ in arcExtMap_add()
247 asection *p; local
249 for (p = text_bfd->sections; p != NULL; p = p->next)
250 if (!strcmp (p->name, ".arcextmap"))
252 count = bfd_get_section_size (p);
254 if (bfd_get_section_contents (text_bfd, p, (PTR) arcExtMap, 0, count))