This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: reordering functions to improve locality
- From: Thiemo Seufer <ths at networkno dot de>
- To: Dave Korn <dave dot korn at artimi dot com>
- Cc: 'Nick Clifton' <nickc at redhat dot com>, 'Jan Hoogerbrugge' <hoogerbrugge at hotmail dot com>, binutils at sources dot redhat dot com
- Date: Fri, 3 Nov 2006 15:47:41 +0000
- Subject: Re: reordering functions to improve locality
- References: <454B5828.5060102@redhat.com> <01d701c6ff58$894d3060$a501a8c0@CAM.ARTIMI.COM>
Dave Korn wrote:
> On 03 November 2006 14:55, Nick Clifton wrote:
>
> > Hi Jan,
> >
> >> Is there support in the binutils linker to reorder code within a module
> >> to improve locality of reference in order to reduce page misses in a
> >> paging based memory system?
> >
> > No.
>
> The nearest thing is recent gcc versions doing hot-cold section
> partitioning.
Hm, does it work to combine hot-cold partitioning with function sections?
Thiemo