Actions
Bug #14123
openld should consider sorting relocations more stabley
Status:
New
Priority:
Normal
Assignee:
-
Category:
tools - gate/build tools
Start date:
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:
Description
At the moment, the link-editor sorts relocation sections by (in a majority of cases), the address of the symbol descriptor in the link editor, such that symbols are grouped together in a manner convenient for caching in the runtime linker.
This isn't as stable as it could be between invocations, and it'd be good to investigate alternatives.
An obvious but cheap solution is a sequence number in the symbol descriptor, which is at least more stable than allocation decisions.
A combination of the symbol shndx and entry in the symbol table might also work.
No data to display
Actions