Fixed an exception handling bug
authorstefan <none@none>
Mon, 26 May 2003 10:28:26 +0000 (10:28 +0000)
committerstefan <none@none>
Mon, 26 May 2003 10:28:26 +0000 (10:28 +0000)
alpha/asmpart.S

index 1ce86bae5754ecd1985043c34e35a0959e810773..b62ef2ae055a148ccb5e1323909b941e1abb0722 100644 (file)
@@ -736,7 +736,7 @@ ex_flt2:
        srl     t0,16,t0              /* isolate instruction code                 */
        lda     t0,-0x177b(t0)        /* test for LDAH                            */
        bne     t0,ex_stack_loop       
        srl     t0,16,t0              /* isolate instruction code                 */
        lda     t0,-0x177b(t0)        /* test for LDAH                            */
        bne     t0,ex_stack_loop       
-       ldl     t0,0(ra)              /* load instruction LDA PV,xxx(RA)          */
+       ldl     t0,4(ra)              /* load instruction LDAH PV,xxx(RA)         */
        sll     t0,16,t0              /* compute high offset                      */
        addl    t0,0,t0               /* sign extend high offset                  */
        addq    t0,pv,pv              /* compute update address                   */
        sll     t0,16,t0              /* compute high offset                      */
        addl    t0,0,t0               /* sign extend high offset                  */
        addq    t0,pv,pv              /* compute update address                   */