arch/arm/cpu/arm_cortexa8/omap3/cache.S: make build with older tools
authorWolfgang Denk <wd@denx.de>
Fri, 18 Jun 2010 13:55:15 +0000 (15:55 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 18 Jun 2010 14:01:07 +0000 (16:01 +0200)
commitcd040a4953e55efe89dc3af4acf0302d5923026f
treeecd007a9ed1153e62beda2b0a29ab1e1521edd0d
parent1f241263e088a71b8f33f87b03a37c5418d41e2e
arch/arm/cpu/arm_cortexa8/omap3/cache.S: make build with older tools

The push / pop instructions used in this file are available only with
more recent tool chains:

cache.S: Assembler messages:
cache.S:133: Error: bad instruction `push {r0,r1,r2,lr}'
cache.S:160: Error: bad instruction `pop {r1,r2,r3,pc}'
cache.S:164: Error: bad instruction `push {r0,r1,r2,lr}'
cache.S:191: Error: bad instruction `pop {r1,r2,r3,pc}'

Change push/pop into stmfd/ldmfd instructions to support older
versions of binutils as well.

I verified that the modified source code generates exactly the same
binary code.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Cc: Tom Rix <tom@bumblecow.com>
arch/arm/cpu/arm_cortexa8/omap3/cache.S