]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand/reloc_elf: Handle relative relocations for arm{,64} and riscv
authorD Scott Phillips <scottph@FreeBSD.org>
Mon, 21 Sep 2020 22:24:46 +0000 (22:24 +0000)
committerD Scott Phillips <scottph@FreeBSD.org>
Mon, 21 Sep 2020 22:24:46 +0000 (22:24 +0000)
commit987eabdc2ae1c0beba77e4d3b538155e81c7a7d5
tree1694131ed36d07d1f050c12e8411ff1e50f8c9f8
parentde031846985c46cf6bbc709bbfa5dfa81541d2b6
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