]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
m68k: Fix wrong assembler instruction in start.S
authorMarek Vasut <marex@denx.de>
Wed, 3 Oct 2012 13:28:43 +0000 (13:28 +0000)
committerjason <jason@jason-ThinkPad-T61.(none)>
Fri, 19 Oct 2012 15:47:41 +0000 (23:47 +0800)
The jmp _fault generated the following error message, thus change it
to bra _fault:

start.S: Assembler messages:
start.S:310: Error: Conversion of PC relative displacement to absolute

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: "Jin Zhengxiong-R64188" <R64188@freescale.com>
Cc: Jason Jin <jason.jin@freescale.com>
arch/m68k/cpu/mcf5227x/start.S
arch/m68k/cpu/mcf523x/start.S
arch/m68k/cpu/mcf52x2/start.S
arch/m68k/cpu/mcf532x/start.S

index c5096a80c204dcb4aeeef864389140ca8ee46f87..a6837781277d94f62f53f304a68c1a7a8e3e6597 100644 (file)
@@ -485,7 +485,7 @@ clear_bss:
 /* exception code */
        .globl _fault
 _fault:
-       jmp _fault
+       bra _fault
        .globl  _exc_handler
 
 _exc_handler:
index e6a69ab470cb0c71661acb7a90ceb4cf4e69fa7f..05f17231b293c4b60da86e5ad905495622da7d84 100644 (file)
@@ -247,7 +247,7 @@ clear_bss:
 /* exception code */
        .globl _fault
 _fault:
-       jmp _fault
+       bra _fault
        .globl  _exc_handler
 
 _exc_handler:
index ee17792cb391ca3a485a8e27834b180fb81965d7..f5e55dd9657c9209ca72dd3346165a02ee38a12f 100644 (file)
@@ -307,7 +307,7 @@ clear_bss:
 /* exception code */
        .globl _fault
 _fault:
-       jmp _fault
+       bra _fault
 
        .globl  _exc_handler
 _exc_handler:
index fe98d76474af37aefb37c3a7bcab499e7db0faf4..583ed1d41ac1c50037878bc7805fb6edf1ce0671 100644 (file)
@@ -261,7 +261,7 @@ clear_bss:
 /* exception code */
        .globl _fault
 _fault:
-       jmp _fault
+       bra _fault
        .globl  _exc_handler
 
 _exc_handler: