aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-26 16:26:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-01-26 16:26:13 +0000
commit081d10c7392038050d3db11a7d628c371750b20c (patch)
tree24d7f96936770d3e3ee904982008bfcf174acc7e /target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch
parentbaf6422f7bf114647183d0458b73a73697b45ed2 (diff)
downloadmaster-187ad058-081d10c7392038050d3db11a7d628c371750b20c.tar.gz
master-187ad058-081d10c7392038050d3db11a7d628c371750b20c.tar.bz2
master-187ad058-081d10c7392038050d3db11a7d628c371750b20c.zip
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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35320 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch4
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 e7e1712b7e..fc05676b83 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);