
9 Sep
2004
9 Sep
'04
12:03 a.m.
Wolfgang Denk wrote:
[snip]
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?
Use a linker script which optimizes the size of the segments.
I was afraid you'd say that!!
Any examples that might get me started - what little I have played with gcc linker scripts has involved too much black magic, prod and pray and outrright guesswork to start a script from scratch :-))
--
Robin Gilks
Senior Design Engineer Phone: (+64)(3) 357 1569
Tait Electronics Fax : (+64)(3) 359 4632
PO Box 1645 Christchurch Email : robin.gilks@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.
=======================================================================