Raymond Toy pushed to branch sparc64-dev at cmucl / cmucl

Commits:

1 changed file:

Changes:

  • src/lisp/sparc-arch.c
    ... ... @@ -531,10 +531,10 @@ sigill_handler(HANDLER_ARGS)
    531 531
                   string = (unsigned char *) &pc[3];
    
    532 532
                   /*
    
    533 533
                    * The offset is in 32-bit words, so subtract one for
    
    534
    -               * the instruction in the branch delay slot and scale up
    
    535
    -               * the offet to be in bytes.
    
    534
    +               * the instruction itself and one for the branch delay
    
    535
    +               * slot and scale up the offet to be in bytes.
    
    536 536
                    */
    
    537
    -              length = 4 * ((pc[1] & 0x7FFFF) - 1);
    
    537
    +              length = 4 * ((pc[1] & 0x7FFFF) - 2);
    
    538 538
     
    
    539 539
                   while (string[length - 1] == '\0') {
    
    540 540
                       --length;