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

Liew Tsi Chung-R5AAHP Tsi-chung.Liew at freescale.com
Tue Sep 22 20:31:33 CEST 2009


Philippe,

The error that you encountered only happen when using linux cross
compiler; however, if choosing uclinux cross compiler this will not be
an issue.

Anyway, is an acked for me so that both compiler can be used without
causing the problem.

Best Regards,
TsiChung


-----Original Message-----
From: u-boot-bounces at lists.denx.de [mailto:u-boot-bounces at lists.denx.de]
On Behalf Of Philippe De Muyter
Sent: Monday, September 21, 2009 2:49 PM
To: u-boot at lists.denx.de
Subject: [U-Boot] [PATCH MAKEALL coldfire] : Fix start.S:Error:
Conversionof PC relative displacement to absolute

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:
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot



More information about the U-Boot mailing list