Page MenuHomeFreeBSD

Reuse the amd64 loader relocation code on arm64
ClosedPublic

Authored by andrew on Jan 17 2021, 6:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 15, 10:44 AM
Unknown Object (File)
Sat, Mar 14, 7:03 PM
Unknown Object (File)
Mon, Mar 9, 7:57 PM
Unknown Object (File)
Sun, Mar 8, 8:51 PM
Unknown Object (File)
Wed, Mar 4, 3:01 AM
Unknown Object (File)
Tue, Mar 3, 2:01 PM
Unknown Object (File)
Feb 10 2026, 5:53 PM
Unknown Object (File)
Feb 8 2026, 8:09 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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.

This revision was not accepted when it landed; it landed in state Needs Review.Jan 20 2021, 6:33 PM
This revision was automatically updated to reflect the committed changes.