diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-26 16:26:13 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-26 16:26:13 +0000 |
commit | 8933b918cd6bce2db5a6a5a51513b62672f13069 (patch) | |
tree | 6bd79c5e27a84096f2b209d0e108c9a89f88581d /target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch | |
parent | 7809d73fd2b78c65aad0a1e18b06c3a4c0c15a8d (diff) | |
download | mtk-20170518-8933b918cd6bce2db5a6a5a51513b62672f13069.zip mtk-20170518-8933b918cd6bce2db5a6a5a51513b62672f13069.tar.gz mtk-20170518-8933b918cd6bce2db5a6a5a51513b62672f13069.tar.bz2 |
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
Diffstat (limited to 'target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch b/target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch index e7e1712..fc05676 100644 --- a/target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch +++ b/target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch @@ -288,7 +288,7 @@ #include <asm/uaccess.h> #include <linux/proc_fs.h> -@@ -851,10 +852,10 @@ static void tcp_v6_send_response(struct +@@ -851,10 +852,10 @@ static void tcp_v6_send_response(struct topt = (__be32 *)(t1 + 1); if (ts) { @@ -415,7 +415,7 @@ if (t->parms.flags & IP6_TNL_F_USE_ORIG_FWMARK) fl6.flowi6_mark = skb->mark; -@@ -1256,7 +1256,7 @@ static int ip6gre_header(struct sk_buff +@@ -1256,7 +1256,7 @@ static int ip6gre_header(struct sk_buff struct ipv6hdr *ipv6h = (struct ipv6hdr *)skb_push(skb, t->hlen); __be16 *p = (__be16 *)(ipv6h+1); |