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 mainratherthanjumpin


From: Eric Weddington
Subject: RE: [avr-libc-dev] [bug #19050] gcrt1.S should call mainratherthanjumping to it
Date: Wed, 14 Feb 2007 06:30:52 -0700

 

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of David Brown
> Sent: Wednesday, February 14, 2007 1:23 AM
> To: address@hidden
> 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





reply via email to

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