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

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

Re: [avr-gcc-list] How to set section order


From: Eric Weddington
Subject: Re: [avr-gcc-list] How to set section order
Date: Wed, 18 Jan 2006 15:22:52 -0700
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

David Bourgeois wrote:
Yes. I noticed that without optimization, the linker keep the order the functions appear in the code but if I turn on optimization (-Os) then the smaller function comes first.

Hmm. That seems contradictory to me, so I must not be understanding you correctly.

Yes, the smaller function comes first in your *source code*? Or, no, it comes after the bootloader.

In my experience, the compiler keeps the order, no matter what the optimization. But this could be something new.


--
Eric Weddington




reply via email to

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