This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: hot/cold section support


On Fri, Sep 04, 2009 at 10:59:18AM -0700, Doug Evans wrote:
> OOC, how about a similar thing for hot sections?

I didn't know gcc generated such sections.

> I'm also curious who generates .text.*_unlikely.

gcc -freorder-blocks-and-partition -ffunction-sections

$ grep unlikely tst-llrintl.s 
	.section	.text.my_llrintl_unlikely,"ax",@progbits
	.section	.text.my_llrintl_unlikely
	.section	.text.main_unlikely,"ax",@progbits
	.section	.text.main_unlikely

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]