There is no need to keep multiple copies of the relocation code. The
amd64 code works on arm64 with a few small changes to relocation types.
Details
Details
- Reviewers
kib - Group Reviewers
arm64 - Commits
- rGf6f0b849fb26: Reuse the amd64 loader relocation code on arm64
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I must admit it is a weird source before the change. IMO we should split this code into per-arch file/function, not merge arches.
But I do not deal with this code, so this is only an opinion.