]> 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)
committerAndrew Turner <andrew@FreeBSD.org>
Wed, 20 Jan 2021 17:59:38 +0000 (17:59 +0000)
commitf6f0b849fb2683feebf2416a793964be0bd05cc5
tree9362fda85545df4c46ce98160a13f6a604ce7770
parent0614d7396798a268bd9efb103dffdeb0ad4a066c
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.

Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D28213
stand/common/reloc_elf.c