avr-libc-dev
[Top][All Lists]
Advanced

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

RE: [avr-libc-dev] [bug #19050] gcrt1.S should call main ratherthanjumpi


From: Eric Weddington
Subject: RE: [avr-libc-dev] [bug #19050] gcrt1.S should call main ratherthanjumping to it
Date: Tue, 13 Feb 2007 14:36:54 -0700

 

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of Björn Haase
> Sent: Tuesday, February 13, 2007 3:27 PM
> To: address@hidden
> Subject: Re: [avr-libc-dev] [bug #19050] gcrt1.S should call 
> main ratherthanjumping to it
> 
> > For similar reasons, I'd suggest to consider dropping 
> -mcall-prologues
> > which saved a little code size at the cost of speed, and 
> made a lot of
> > sense a few years ago, when flash sizes were much smaller 
> than today.
> > And, it probably wouldn't work with the new 3-byte PC 
> devices anyway.
> > (The option probably should still be accepted as a no-op, to avoid
> > breaking existing Makefiles - it was only a hint, and the different
> > prologues were not guaranteed, only used when they saved code size).
> Hello Marek,
> 
> IMO -mcall-prologues is still precious. IMO the only real 
> reason for existence 
> of AVR are the small low-cost devices. And there 
> -mcall-prologues could be 
> *very* helpful.


Bjoern beat me to it. ;-)

I agree completely: -mcall-prologues is still desired if it produces smaller
code.

In fact, this brings up the question as to why it is not the default?

Eric





reply via email to

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