MIPS: start.S: fix boundary check in relocate_code
authorGabor Juhos <juhosg@openwrt.org>
Thu, 24 Jan 2013 06:27:51 +0000 (06:27 +0000)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sun, 27 Jan 2013 15:39:43 +0000 (16:39 +0100)
commit5b7dd8163d517c8f52971bc16fe92f831553d2bb
tree2f0e010789470130e582a5548d1641bc694b9d6d
parent14fdd1a8bfd97de46042cda6086347b0d66461d4
MIPS: start.S: fix boundary check in relocate_code

The loop code copies more data with one than
necessary due to the 'ble' instuction. Use the
'blt' instruction instead to fix that.

Due to the lack of suitable hardware the Xburst
specific code is compile tested only. However the
change is quite obvious.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
arch/mips/cpu/mips32/start.S
arch/mips/cpu/mips64/start.S
arch/mips/cpu/xburst/start.S