ld should consider sorting relocations more stabley
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