From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robin Gilks Date: Tue, 07 Sep 2004 16:09:17 +1200 Subject: [U-Boot-Users] Size and format of standalone apps Message-ID: <413D346D.2030606@tait.co.nz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. =======================================================================