This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: reordering functions to improve locality
- From: Nick Clifton <nickc at redhat dot com>
- To: Jan Hoogerbrugge <hoogerbrugge at hotmail dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 03 Nov 2006 14:54:32 +0000
- Subject: Re: reordering functions to improve locality
- References: <BAY106-F14F2B2180E5C0C064D95CBD7FE0@phx.gbl>
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