FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[Relocator] Restore parallelism in scanRelocations by quic-areg · Pull Request #2074 · qualcomm/eld · GitHub

/ eld Public

[Relocator] Restore parallelism in scanRelocations - #2074

Open
quic-areg wants to merge 1 commit into
qualcomm:mainfrom
quic-areg:parallel-relocation-scan
Open

quic-areg wants to merge 1 commit into
qualcomm:mainfrom
quic-areg:parallel-relocation-scan

Conversation

Copy link
Copy Markdown
Contributor

Restores parallel scanRelocations phase in a two-phase approach similar to lld:

Phase 1 (scanRelocationParallel) may run concurrently over input files. It only performs the checks that are common to every backend and records which relocations need further processing. It creates no GOT/PLT slots and no dynamic relocations.

Phase 2 (replayScanRelocations) is serial and visits the recorded relocations in input order. Slot allocation happens here and retains determinism.

Fixes #1938

quic-areg added core zephyr-check Run Zephyr build/check workflow on this PR kernel-check labels Oct 5, 2026
Restores parallel scanRelocations phase in a two-phase approach similar
to lld:

Phase 1 (scanRelocationParallel) may run concurrently over input files.
It only performs the checks that are common to every backend and records
which relocations need further processing. It creates no GOT/PLT slots
and no dynamic relocations.

Phase 2 (replayScanRelocations) is serial and visits the recorded
relocations in input order. Slot allocation happens here and retains
determinism.

Fixes qualcomm#1938

Signed-off-by: quic-areg <aregmi@qti.qualcomm.com>

This branch has not been deployed

No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core kernel-check zephyr-check Run Zephyr build/check workflow on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restore parallelism in relocation scanning

1 participant


Back | FazBrowse Home | New Git URL