This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: selecting the right target...


On Wed, 2001-12-19 at 11:40, Phil Blundell wrote:
> >The "flat" binary format we use with uclinux does not have the .init and
> >.fini sections so all these global_[cd]tors support routines can go
> >away. 
> 
> Are you sure you don't want this stuff?  As far as GCC is concerned 
> arm-uclinux is really an ELF target; the fact that you post-process the
> binary into flat form doesn't matter much.  I can't think of any particular
> reason why constructors wouldn't work.

I'm not sure of anything except that I want our binaries to be as small
as possible.

right now the hello world with the old aplio toolchain is less than .5k,
with the arm-elf 2.95 one it's 2.5k with a 30k elf object, and a 80k elf
file with my 3.0.2 I now have lets me fear the worst (can't flatten it
right now as there's some problem with elf2flt I have yet to figure
out).

2 or 3 k size increase on every single binary may just be the few k too
much as we're really tight on memory.

greets from Zürich
-- vbi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]