[U-Boot-Users] Size and format of standalone apps

Robin Gilks robin.gilks at tait.co.nz
Tue Sep 7 06:09:17 CEST 2004


Greetings

I'm seeking illumination in the area of standalone applications.

For example, on powerpc, the hello_world binary is 90% nulls with just a 
few words on the end.

How can I truncate this to make the code more space efficient or change 
the link order to not have this vast embedded block of wasted space?

It appears to be associated with libgcc so perhaps there is a way of 
forcing these functions to be inlined? Is there a way of avoiding them 
altogether or perhaps since U-Boot has already included them, maybe more 
vectors to gain access to them?

Many thanks.

-- 
Robin Gilks
Senior Design Engineer          Phone: (+64)(3) 357 1569
Tait Electronics                Fax  :  (+64)(3) 359 4632
PO Box 1645 Christchurch        Email : robin.gilks at tait.co.nz
New Zealand

=======================================================================
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
 altered or corrupted during transmission.
=======================================================================





More information about the U-Boot mailing list