Updating arch/arm64/Makefile to have:
ifeq ($(CONFIG_ARM64_ERRATUM_843419), y) KBUILD_CFLAGS_MODULE += -mcmodel=large KBUILD_CFLAGS_MODULE += $(call cc-option, -mpc-relative-literal-loads) endif
does the trick.
Is this a good solution for you?
Updating arch/arm64/Makefile to have:
ifeq ($(CONFIG_ ARM64_ERRATUM_ 843419) , y) CFLAGS_ MODULE += -mcmodel=large CFLAGS_ MODULE += $(call cc-option, -mpc-relative- literal- loads)
KBUILD_
KBUILD_
endif
does the trick.
Is this a good solution for you?