summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.9/220-gc_sections.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-03-17 19:46:32 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-03-17 19:46:32 +0000
commita5551d366a6df9fd21c9fddecd4912350d89a57c (patch)
treec89757a0ba7ceee4ca2c0743fe205d6f77eebab6 /target/linux/generic/patches-3.9/220-gc_sections.patch
parent472bb8d51a1279d22d50002d3d930be53c3d15c5 (diff)
downloadmtk-20170518-a5551d366a6df9fd21c9fddecd4912350d89a57c.zip
mtk-20170518-a5551d366a6df9fd21c9fddecd4912350d89a57c.tar.gz
mtk-20170518-a5551d366a6df9fd21c9fddecd4912350d89a57c.tar.bz2
kernel: refresh 3.9 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36074
Diffstat (limited to 'target/linux/generic/patches-3.9/220-gc_sections.patch')
-rw-r--r--target/linux/generic/patches-3.9/220-gc_sections.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-3.9/220-gc_sections.patch b/target/linux/generic/patches-3.9/220-gc_sections.patch
index 28a8351..5b0cfa9 100644
--- a/target/linux/generic/patches-3.9/220-gc_sections.patch
+++ b/target/linux/generic/patches-3.9/220-gc_sections.patch
@@ -479,5 +479,5 @@
endif
+KBUILD_CFLAGS_KERNEL := $(patsubst -f%-sections,,$(KBUILD_CFLAGS_KERNEL))
- ccflags-y := -fpic -fno-builtin -I$(obj)
+ ccflags-y := -fpic -mno-single-pic-base -fno-builtin -I$(obj)
asflags-y := -Wa,-march=all -DZIMAGE