pike.git / src / code / ppc64.c

version» Context lines:

pike.git/src/code/ppc64.c:776:    while (rel--) {    PIKE_OPCODE_T *o = prog+p->relocations[rel];    INT32 disp = *o - (INT32)(void*)o;    if(disp < -33554432 || disp > 33554431)    Pike_fatal("Relocation %d out of range!\n", disp);    *o = 0x48000000 | (disp & 0x03ffffff);    }   }   #endif    - #ifdef PIKE_DEBUG -  +    void ppc64_disassemble_code(void *addr, size_t bytes)   {    /*    Short forms of multicharacter opcode forms:       F = XFX    G = XFL    L = XL    O = XO    Z = XS
pike.git/src/code/ppc64.c:1243: Inside #if defined(PIKE_DEBUG)
   fprintf(stderr, "%s%s r%d,r%d,r%d,%d\n",    instr_name, ((instr&1)? ".":""), (instr>>16)&31, (instr>>21)&31,    (instr>>11)&31, ((instr>>6)&31)|(instr&32));    break;    default:    fprintf(stderr, ".long 0x%x\n", instr);    break;    }    }   } -  - #endif +