]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Reuse the amd64 loader relocation code on arm64
authorAndrew Turner <andrew@FreeBSD.org>
Sun, 17 Jan 2021 18:11:11 +0000 (18:11 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Fri, 8 Oct 2021 01:16:00 +0000 (20:16 -0500)
commit72f29c6a1e45d7dab25a8a32c483265e3fb41c15
tree129e18cda35f1619575eae10c6f020a70b197a9e
parent969b06fdff5d54e6b0b130fd974ef683c075b7f3
Reuse the amd64 loader relocation code on arm64

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.

(cherry picked from commit f6f0b849fb2683feebf2416a793964be0bd05cc5)
stand/common/reloc_elf.c