summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.9/220-gc_sections.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-03-17 19:46:32 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-03-17 19:46:32 +0000
commitfb70273fd619dce233f41a2d1522d98d71b958e3 (patch)
treedf41253958a8b2f4377bbbac99b262124986bb26 /target/linux/generic/patches-3.9/220-gc_sections.patch
parent5f2e453359016b4c7e9d33be82968ccd36045151 (diff)
kernel: refresh 3.9 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36074 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 28a835100..5b0cfa96b 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