This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: hot/cold section support
On Fri, Sep 4, 2009 at 11:10 AM, H.J. Lu<hjl.tools@gmail.com> wrote:
>> P.S. There is an issue that gcc -ffunction-sections and
>> __attribute__((hot/cold)) don't play nice together. ?Having gcc emit
>> hot/cold to .text.{hot,unlikely}.<label> would fix that (along with
>> these linker changes).
>>
>
> That is
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24201
Righto. There is avoiding the collision too, in addition to wanting
hot and cold functions in their own section when -ffunction-sections.