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
F110708324: D28213.diff
Sat, Feb 22, 3:54 AM
Unknown Object (File)
Fri, Feb 14, 2:40 PM
Unknown Object (File)
Fri, Feb 14, 1:24 PM
Unknown Object (File)
Wed, Feb 12, 4:04 AM
Unknown Object (File)
Jan 15 2025, 2:22 AM
Unknown Object (File)
Dec 10 2024, 11:19 PM
Unknown Object (File)
Dec 4 2024, 6:08 PM
Unknown Object (File)
Nov 26 2024, 1:32 PM
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.