]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Work around VNET and DPCPU related panics on aarch64
authorDimitry Andric <dim@FreeBSD.org>
Sun, 23 Jul 2023 13:48:36 +0000 (15:48 +0200)
committerMark Johnston <markj@FreeBSD.org>
Tue, 1 Aug 2023 19:50:47 +0000 (15:50 -0400)
commite3e6fc3713229e5075473b9e0e9a66699e8a322b
tree80b3f6a82a9f3b18474a0ca7a934bdba5122bf48
parent9b45d8eddfac906d9f78a84a9954f74c222a4ee2
Work around VNET and DPCPU related panics on aarch64

lld >= 14 and recent GNU ld can relax adrp+add and adrp+ldr
instructions, which breaks VNET and DPCPU when used in modules.

Until VNET and DPCPU can be fixed to deal with these relaxed
instructions, disable linker relaxation for now.

PR: 264094
Reviewed by: markj
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D41156

(cherry picked from commit 80e4ac2964a11edef456a15b77e43aadeaf273a2)
(cherry picked from commit f1f27dfa4ad9da53fcdfc6aae644fab83bda4e76)

Approved by: so
Security: FreeBSD-EN-23:08.vnet
sys/conf/kmod.mk