> -----Original Message-----
> From: 
> [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]
> org] On Behalf Of David Brown
> Sent: Wednesday, February 14, 2007 1:23 AM
> To: [email protected]
> Subject: Re: [avr-libc-dev] [bug #19050] gcrt1.S should call 
> mainratherthanjumping to it
> 
> Marek Michalkiewicz wrote:
> > 
> > It's a tradeoff: smaller, but slower.
> > 
> > Marek
> > 
> 
> Can the default be made dependant on the core?  Certainly 3-byte PC 
> cores will have enough program space, but the for the smaller 
> cores, you 
> normally want to save space.
> 
> Alternatively, can the setting follow the optimisation flags? 
>  -Os gives 
> call prologues, -O2 gives inline prologues?

I like the latter scheme: -Os = -mcall-prologues, -O2 = -mno-call-prologues

Eric



_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to