aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.9/220-gc_sections.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-07-23 13:40:40 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2017-07-28 22:46:17 +0200
commit88f3c635726525f4da1ac24780ee0d506f18c4b6 (patch)
tree6d6ab7c2af680838615dc02fe915a916ef2c8b3d /target/linux/generic/patches-4.9/220-gc_sections.patch
parenteb43a817f7ce2dfe62da2b8c13f85e115d32cdc3 (diff)
downloadupstream-88f3c635726525f4da1ac24780ee0d506f18c4b6.tar.gz
upstream-88f3c635726525f4da1ac24780ee0d506f18c4b6.tar.bz2
upstream-88f3c635726525f4da1ac24780ee0d506f18c4b6.zip
kernel: update kernel 4.9 to version 4.9.40
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/generic/patches-4.9/220-gc_sections.patch')
-rw-r--r--target/linux/generic/patches-4.9/220-gc_sections.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/patches-4.9/220-gc_sections.patch b/target/linux/generic/patches-4.9/220-gc_sections.patch
index e8a834fbeb..96622f5ef4 100644
--- a/target/linux/generic/patches-4.9/220-gc_sections.patch
+++ b/target/linux/generic/patches-4.9/220-gc_sections.patch
@@ -398,9 +398,9 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
# Read KERNELRELEASE from include/config/kernel.release (if it exists)
KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
KERNELVERSION = $(VERSION)$(if $(PATCHLEVEL),.$(PATCHLEVEL)$(if $(SUBLEVEL),.$(SUBLEVEL)))$(EXTRAVERSION)
-@@ -630,11 +635,6 @@ include arch/$(SRCARCH)/Makefile
- KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks,)
- KBUILD_CFLAGS += $(call cc-disable-warning,frame-address,)
+@@ -633,11 +638,6 @@ KBUILD_CFLAGS += $(call cc-disable-warni
+ KBUILD_CFLAGS += $(call cc-disable-warning, format-overflow)
+ KBUILD_CFLAGS += $(call cc-disable-warning, int-in-bool-context)
-ifdef CONFIG_LD_DEAD_CODE_DATA_ELIMINATION
-KBUILD_CFLAGS += $(call cc-option,-ffunction-sections,)