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
- R10:f6f0b849fb26: Reuse the amd64 loader relocation code on arm64
Diff Detail
Diff Detail
- Repository
- R10 FreeBSD src repository
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; 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.