[U-Boot] [PATCH MAKEALL coldfire] : Fix start.S:Error: Conversion of PC relative displacement to absolute

Philippe De Muyter phdm at macqel.be
Mon Sep 21 21:49:08 CEST 2009


Hi all,

This fixes the following errors when running MAKEALL for coldfire :
    start.S: Assembler messages:
    start.S:320: Error: Conversion of PC relative displacement to absolute

Signed-off-by: Philippe De Muyter <phdm at macqel.be>

diff -ru a/cpu/mcf523x/start.S b/cpu/mcf523x/start.S
--- a/cpu/mcf523x/start.S	2009-09-17 23:28:31.000000000 +0200
+++ b/cpu/mcf523x/start.S	2009-09-21 19:58:34.000000000 +0200
@@ -246,7 +246,7 @@
 /* exception code */
 	.globl _fault
 _fault:
-	jmp _fault
+	bra _fault
 	.globl	_exc_handler
 
 _exc_handler:
diff -ru a/cpu/mcf52x2/start.S b/cpu/mcf52x2/start.S
--- a/cpu/mcf52x2/start.S	2009-09-17 23:28:31.000000000 +0200
+++ b/cpu/mcf52x2/start.S	2009-09-21 19:47:40.000000000 +0200
@@ -317,7 +317,7 @@
 /* exception code */
 	.globl _fault
 _fault:
-	jmp _fault
+	bra _fault
 
 	.globl	_exc_handler
 _exc_handler:
diff -ru a/cpu/mcf532x/start.S b/cpu/mcf532x/start.S
--- a/cpu/mcf532x/start.S	2009-09-17 23:28:31.000000000 +0200
+++ b/cpu/mcf532x/start.S	2009-09-21 19:50:36.000000000 +0200
@@ -256,7 +256,7 @@
 /* exception code */
 	.globl _fault
 _fault:
-	jmp _fault
+	bra _fault
 	.globl	_exc_handler
 
 _exc_handler:


More information about the U-Boot mailing list