Project

General

Profile

Actions

Bug #14123

open

ld should consider sorting relocations more stabley

Added by Rich Lowe 8 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
tools - gate/build tools
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

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

Also available in: Atom PDF