reordering functions to improve locality

Nick Clifton nickc@redhat.com
Fri Nov 3 14:54:00 GMT 2006


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 (partial) call graph should be used to 
> determine the order. Is this possible at all in binutils ld? Has it been 
> done? Did anyone worked on it?

Not to my knowledge no.  This would be an interesting area of research 
however if someone wanted to have a go.

Cheers
   Nick




More information about the Binutils mailing list