From 42948106cd44ac93fec746397d847940c87f8cda Mon Sep 17 00:00:00 2001 From: theraven Date: Mon, 23 Dec 2013 14:03:12 +0000 Subject: [PATCH] Fix the mask for the top part of the dtable on MIPS. --- objc_msgSend.mips.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objc_msgSend.mips.S b/objc_msgSend.mips.S index c33baaa..4fb8607 100644 --- a/objc_msgSend.mips.S +++ b/objc_msgSend.mips.S @@ -72,7 +72,7 @@ lw $zero, ($zero) daddi $v0, $t6, -8 beq $0, $v0, 2f - lui $t6, 0xff0000 # The mask for a big dtable won't fit in an and immediate + lui $t6, 0x00ff # The mask for a big dtable won't fit in an and immediate and $t6, $t6, $t5 # mask the selector #ifdef _ABI64 dsrl $t6, $t6, 13 # Right shift 16, but then left shift by pointer size