commit | 7c2c3ea3fd9e108a1c174a5db021ac1d33b1a22d | [log] [tgz] |
---|---|---|
author | Eric Johnson <ericj@mips.com> | Fri Nov 09 19:40:51 2012 -0800 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Sun Nov 11 16:05:25 2012 +0100 |
tree | fe62ce2084806f7a26cd1ca15abd977520f52f1c | |
parent | 0af10c86ed6656da0c9b680ec9d1c65768dd99b2 [diff] |
target-mips: Fix seg fault for LUI when MIPS_DEBUG_DISAS==1. The call to gen_logic_imm for OPC_LUI passes -1 for rs. This causes the MIPS_DEBUG statement to seg fault due to the deference of regnames[rs]. This patch fixes that. Signed-off-by: Eric Johnson <ericj@mips.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> (aurel32: replaced static string formating by a static string)