2018-09-03 00:09:40 +00:00
|
|
|
From 967dd9cfe3e038b5e38ea402728f985e931d170f Mon Sep 17 00:00:00 2001
|
2016-05-26 12:37:33 +00:00
|
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
Date: Thu, 26 May 2016 06:29:07 -0600
|
2018-09-03 00:09:40 +00:00
|
|
|
Subject: [PATCH 01/16] add extra errata 843419 build flags
|
2016-05-26 12:37:33 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
arch/arm64/Makefile | 1 +
|
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
|
|
|
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
|
2018-09-03 00:09:40 +00:00
|
|
|
index b92f401c3a86..733aedf927c7 100644
|
2016-05-26 12:37:33 +00:00
|
|
|
--- a/arch/arm64/Makefile
|
|
|
|
+++ b/arch/arm64/Makefile
|
|
|
|
@@ -37,6 +37,7 @@ CHECKFLAGS += -D__aarch64__
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_ARM64_ERRATUM_843419), y)
|
|
|
|
KBUILD_CFLAGS_MODULE += -mcmodel=large
|
|
|
|
+KBUILD_CFLAGS_MODULE += $(call cc-option, -mpc-relative-literal-loads)
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Default value
|
|
|
|
--
|
2018-09-03 00:09:40 +00:00
|
|
|
2.18.0
|
2016-05-26 12:37:33 +00:00
|
|
|
|