u-boot-brain/arch
Gabor Juhos 14fdd1a8bf MIPS: start{, 64}.S: fill branch delay slots with NOP instructions
The romReserved and romExcHandle handlers are
accessed by a branch instruction however the
delay slots of those instructions are not filled.

Because the start.S uses the 'noreorder' directive,
the assembler will not fill the delay slots either,
and leads to the following assembly code:

  0000056c <romReserved>:
   56c:   1000ffff        b       56c <romReserved>

  00000570 <romExcHandle>:
   570:   1000ffff        b       570 <romExcHandle>

In the resulting code, the second branch instruction
is placed into the delay slot of the first branch
instruction, which is not allowed on the MIPS
architecture.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
2013-01-22 21:09:34 +01:00
..
arm pxa: Save lr register in relocate_code function 2013-01-14 16:22:00 -07:00
avr32 common: Discard the __u_boot_cmd section 2012-10-22 08:29:42 -07:00
blackfin common: Discard the __u_boot_cmd section 2012-10-22 08:29:42 -07:00
m68k m68k/lib: fix serial driver relocation 2013-01-11 14:41:14 -07:00
microblaze env: Use getenv_yesno() more generally 2012-12-13 11:46:55 -07:00
mips MIPS: start{, 64}.S: fill branch delay slots with NOP instructions 2013-01-22 21:09:34 +01:00
nds32 common: Discard the __u_boot_cmd section 2012-10-22 08:29:42 -07:00
nios2 nios2: remove asm/status_led.h 2012-11-10 19:45:58 +08:00
openrisc openrisc: Change bi_baudrate and global data baudrate to int 2012-10-19 15:25:45 -07:00
powerpc env: Use getenv_yesno() more generally 2012-12-13 11:46:55 -07:00
sandbox common: Discard the __u_boot_cmd section 2012-10-22 08:29:42 -07:00
sh sh: add support for sh7752evb board 2012-12-20 13:20:17 +09:00
sparc env: Use getenv_yesno() more generally 2012-12-13 11:46:55 -07:00
x86 x86: Build vga video code only if CONFIG_VIDEO_VGA is defined 2012-12-06 14:30:44 -08:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00