]> 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)
committerDimitry Andric <dim@FreeBSD.org>
Wed, 26 Jul 2023 18:02:37 +0000 (20:02 +0200)
commitf1f27dfa4ad9da53fcdfc6aae644fab83bda4e76
tree3cc856ae7fb921859df004102668610242be767e
parent6d30916e9bc49501e1ae22575fdd0736a1191d9a
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)
sys/conf/kmod.mk