]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand/reloc_elf: Handle relative relocations for arm{,64} and riscv
authorscottph <scottph@FreeBSD.org>
Mon, 21 Sep 2020 22:24:46 +0000 (22:24 +0000)
committerscottph <scottph@FreeBSD.org>
Mon, 21 Sep 2020 22:24:46 +0000 (22:24 +0000)
commit1634c861bedd1916cce853fd2ec5bfc69fdaf435
tree1694131ed36d07d1f050c12e8411ff1e50f8c9f8
parent977a449bfd49e4d08d78f8af5ad178eb1b168fe4
stand/reloc_elf: Handle relative relocations for arm{,64} and riscv

Extend the powerpc relative relocation handling from r240782 to a
handful of other architectures.  This is needed to properly read
dependency information from kernel modules.

Reviewed by: jhb
Approved by: scottl (implicit)
MFC after: 1 week
Sponsored by: Ampere Computing, Inc.
Differential Revision: https://reviews.freebsd.org/D26365
stand/common/reloc_elf.c