reordering functions to improve locality

Thiemo Seufer ths@networkno.de
Fri Nov 3 15:51:00 GMT 2006


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



More information about the Binutils mailing list