From 8933b918cd6bce2db5a6a5a51513b62672f13069 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 26 Jan 2013 16:26:13 +0000 Subject: kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips in combination with kernel symbol export stripping this significantly reduces the kernel image size SVN-Revision: 35320 --- target/linux/generic/patches-3.7/340-module_alloc_size_check.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/generic/patches-3.7/340-module_alloc_size_check.patch') diff --git a/target/linux/generic/patches-3.7/340-module_alloc_size_check.patch b/target/linux/generic/patches-3.7/340-module_alloc_size_check.patch index 2459b6183d..e48c0d2c10 100644 --- a/target/linux/generic/patches-3.7/340-module_alloc_size_check.patch +++ b/target/linux/generic/patches-3.7/340-module_alloc_size_check.patch @@ -1,6 +1,6 @@ --- a/kernel/module.c +++ b/kernel/module.c -@@ -2378,12 +2378,15 @@ static void dynamic_debug_remove(struct +@@ -2378,12 +2378,15 @@ static void dynamic_debug_remove(struct void * __weak module_alloc(unsigned long size) { -- cgit v1.2.3