* mips-tdep.c (mips32_scan_prologue): Only update the immediate

load adjustment if still within the prologue.
This commit is contained in:
Maciej W. Rozycki
2011-12-07 00:17:23 +00:00
parent c3cd48691a
commit 5436df9582
2 changed files with 7 additions and 1 deletions

View File

@@ -2246,7 +2246,8 @@ restart:
|| high_word == 0x3408 /* ori $t0,$zero,n */
))
{
load_immediate_bytes += MIPS_INSN32_SIZE; /* FIXME! */
if (end_prologue_addr == 0)
load_immediate_bytes += MIPS_INSN32_SIZE; /* FIXME! */
}
else
{