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: reordering functions to improve locality


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



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