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

login
register
mail settings
Submitter Philippe De Muyter
Date Sept. 21, 2009, 7:49 p.m.
Message ID <20090921194908.GA31132@frolo.macqel>
Download mbox | patch
Permalink /patch/71676/
State Changes Requested
Delegated to: Jason Jin
Headers show

Comments

Philippe De Muyter - Sept. 21, 2009, 7:49 p.m.
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@macqel.be>

Patch

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: