[PATCH] Fix compilation for AT91 etc

Peter Chubb peter.chubb at nicta.com.au
Mon May 30 00:49:05 EDT 2011


Hi Folks,
   When I try to build for the GDB Armulator, I see:
  AS      arch/arm/mm/proc-arm7tdmi.o
/tmp/ccybRx5v.s: Assembler messages:
/tmp/ccybRx5v.s: Error: .size expression for __arm7tdmi_proc_info does ate to a constant

This is because of a typo in the file, which the attached patch fixes.
Signed-off-by: Peter Chubb <peter.chubb at nicta.com.au>

 arch/arm/mm/proc-arm7tdmi.S |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/arch/arm/mm/proc-arm7tdmi.S
===================================================================
--- linux-2.6.orig/arch/arm/mm/proc-arm7tdmi.S	2011-05-30 14:41:15.068813624 +1000
+++ linux-2.6/arch/arm/mm/proc-arm7tdmi.S	2011-05-30 14:41:39.044766533 +1000
@@ -146,7 +146,7 @@
 		.long	0
 		.long	0
 		.long	v4_cache_fns
-		.size	__arm7tdmi_proc_info, . - __arm7dmi_proc_info
+		.size	__arm7tdmi_proc_info, . - __arm7tdmi_proc_info
 
 		.type	__triscenda7_proc_info, #object
 __triscenda7_proc_info:

---
Dr Peter Chubb                                  peter DOT chubb AT nicta.com.au
http://www.ertos.nicta.com.au               ERTOS within National ICT Australia
All things shall perish from under the sky/Music alone shall live, never to die

--
Dr Peter Chubb                                  peter DOT chubb AT nicta.com.au
http://www.ertos.nicta.com.au               ERTOS within National ICT Australia
All things shall perish from under the sky/Music alone shall live, never to die



More information about the linux-arm mailing list