]> err.no Git - linux-2.6/commit
[ARM] 2892/1: remove gcc workaround for direct access to absolute memory addresses
authorNicolas Pitre <nico@cam.org>
Thu, 8 Sep 2005 22:07:40 +0000 (23:07 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 8 Sep 2005 22:07:40 +0000 (23:07 +0100)
commit61c8c158c828073cfebf11ca8e340727feafa038
tree0cc1d9e29d6c799b91802938e4ec054f9082d08b
parent0dffefbf1a26ee0661d47516420d86b485a08e9c
[ARM] 2892/1: remove gcc workaround for direct access to absolute memory addresses

Patch from Nicolas Pitre

It used to make a difference in the gcc-2.95 era.  However these days
modern gcc apparently got better at not being influenced by such constructs
(which is good in general) and therefore such workaround is of no real
advantage anymore.
The good news is that gcc (from version 4.1.0) is now fixed with
regards to the defficiency this workaround was trying to address.
For those interested the patch can easily be backported to older gcc
versions and can be found here:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arm/arm.c.diff?r1=1.476&r2=1.478
and also here:
http://savannah.gnu.org/cgi-bin/viewcvs/gcc/gcc/gcc/config/arm/arm.c.diff?r1=text&tr1=1.476&r2=text&tr2=1.478&diff_format=u

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-pxa/hardware.h
include/asm-arm/arch-sa1100/hardware.h