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
This commit is contained in:
Felix Fietkau
2013-01-26 16:26:13 +00:00
parent 7809d73fd2
commit 8933b918cd
52 changed files with 864 additions and 135 deletions

View File

@@ -1,6 +1,6 @@
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -895,25 +895,7 @@ void netlink_detachskb(struct sock *sk,
@@ -895,25 +895,7 @@ void netlink_detachskb(struct sock *sk,
static struct sk_buff *netlink_trim(struct sk_buff *skb, gfp_t allocation)
{