[U-Boot] [PATCH 14/26 v2][NEXT] ARM: implement relocation for ARM V7 (OMAP)

Wolfgang Denk wd at denx.de
Sun Sep 19 08:58:38 CEST 2010


Dear John Rigby,

In message <AANLkTi=b9dUZvLBj-5+BejGcgnqe=3XeME_9jQJSeNf4 at mail.gmail.com> you wrote:
> 
> I worded this poorly.  I write to memory using mw at the u-boot
> command line.  I write to the region where u-boot was running prior to
> relocation:
> 
> OMAP3 beagleboard.org # mw.b 80000000 ff 1000000

Ah, now I understand.

So it seems that in your case parts of the code appear to access to
old addresses that were used before relocation.

> >> after relocation. I believe the culprit is ____aeabi_uidiv_veneer.
> >
> > Where is this coming from? I cannot see this symbol anywhere in U-Boot
> > code...
> >
> > Which tool chain are you using?
> 
> I'm using a prerelease Ubuntu/Linaro gcc 4.4.4.

So it seems these *_veneer symbos are introduced by GCC-4.4.* or so -
with ELDK's GCC-4.2.2 based tool chain and with the U-Boot internal
gcc helper funtions no such problem happens.

Can you please ask the people for help who are wroking on that Linaro
tool chain? They probably know better what these symbols mean and why
they are not properly relocated / relocatable.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Extreme feminine beauty is always disturbing.
	-- Spock, "The Cloud Minders", stardate 5818.4


More information about the U-Boot mailing list