
14 Nov
2010
14 Nov
'10
9:42 p.m.
Dear Albert ARIBAUD,
In message 4CE04241.7070407@free.fr you wrote:
OK, this is not even 0.1% of the size, but anyway...
If the difference in size is marginal, then I prefer the implementation that has the least 'quirks' and most closely complies with EABI/AAPCS.
Yes, I agree. On ARM the global pointermethod has both the advantage of being cleaner and giving slightly smaller code.
BTW your quick'n'dirty test puts GD at a fixed location identical for code running before and after relocation, right? But do we not change the stack location?
Yes, we do. I just wanted to compile it for the code size difference; I did not attempt to make a perfect patch yet :-)
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@denx.de
In an infinite universe all things are possible, including the possi-
bility that the universe does not exist.
- Terry Pratchett, _The Dark Side of the Sun_