avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] ../avr/bin/ld: region text is full --- but by how much?


From: Brian Dean
Subject: [avr-gcc-list] ../avr/bin/ld: region text is full --- but by how much?
Date: Sat, 10 Nov 2001 11:25:24 -0500
User-agent: Mutt/1.2.5i

Hi,

When you exceed the code space using avr-gcc/ld, is there a way to
make the linker tell you by how much you've overflowed it?  One can
use avr-size on your own .o's and even on the crt0 for the appropriate
target and sum up the sections.  However, it's difficult to get all
the size information from library routines that you may be using.

Since the linker obviously knows which section has been exceeded, and
it must know by how much, is there any way to make it tell you this
information?  Sometimes its very useful to know if you are just a few
bytes over or waaaay over.  In the former case you may just need to
optimize a little to get your code to fit.  For the latter, you may
need to go back to the drawing board.

Any tips appreciated.

Thanks,
-Brian
-- 
Brian Dean                                      address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]