[U-Boot-Users] necessary fix for ARM u-boot 1.1.1 and GCC3.4.0.
wd at denx.de
Thu Jul 1 22:29:11 CEST 2004
In message <71555548814716479478431542AA5F8ADF8BAC at dlee2k04.ent.ti.com> you wrote:
> I just found that lib_arm/board.c:start_armboot()'s GCC3.4.0 generated
> code sequence breaks ARM u-boot's. I am using the GCC3.4.0 which
> CodeSourcery put out.
> I have found what appears to be a fix. A compiler optimization barrier
> needs to be inserted after gd (AKA R8) is initialized. See the below
> With out this barrier gd is calculated into a temporary register, and
> when the gd->bd is actually attempted an unitilized R8 is used causing a
> fatal abort.
Looks like a compiler bug to me. Anyway. Added. Thanks.
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
The high cost of living hasn't affected its popularity.
More information about the U-Boot