[U-Boot] RFC: Aligning arch initialisation sequences

Albert ARIBAUD albert.aribaud at free.fr
Sun Nov 14 21:10:41 CET 2010


Le 14/11/2010 20:55, Wolfgang Denk a écrit :

 > Actually situation might be differenton ARM. I just did  quick and
 > ditry test for the TX25 board:
 >
 > [...]
 >
 > The global pointer method saves a total of 152 bytes here
 > (156 in .text saved, but 4 in .data needed).
 >
 > 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.

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?

 > Best regards,
 >
 > Wolfgang Denk

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list