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 | 081d10c7392038050d3db11a7d628c371750b20c (patch) | |
tree | 24d7f96936770d3e3ee904982008bfcf174acc7e /target/linux/generic/patches-3.7/531-debloat_lzma.patch | |
parent | baf6422f7bf114647183d0458b73a73697b45ed2 (diff) | |
download | upstream-081d10c7392038050d3db11a7d628c371750b20c.tar.gz upstream-081d10c7392038050d3db11a7d628c371750b20c.tar.bz2 upstream-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/generic/patches-3.7/531-debloat_lzma.patch')
-rw-r--r-- | target/linux/generic/patches-3.7/531-debloat_lzma.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/patches-3.7/531-debloat_lzma.patch b/target/linux/generic/patches-3.7/531-debloat_lzma.patch index 1e41661ebb..18e4a51ee3 100644 --- a/target/linux/generic/patches-3.7/531-debloat_lzma.patch +++ b/target/linux/generic/patches-3.7/531-debloat_lzma.patch @@ -124,7 +124,7 @@ /* LzmaDecode --- a/lib/lzma/LzmaDec.c +++ b/lib/lzma/LzmaDec.c -@@ -682,7 +682,7 @@ static void LzmaDec_InitRc(CLzmaDec *p, +@@ -682,7 +682,7 @@ static void LzmaDec_InitRc(CLzmaDec *p, p->needFlush = 0; } @@ -194,7 +194,7 @@ { CLzmaProps propNew; RINOK(LzmaProps_Decode(&propNew, props, propsSize)); -@@ -944,7 +944,7 @@ SRes LzmaDec_AllocateProbs(CLzmaDec *p, +@@ -944,7 +944,7 @@ SRes LzmaDec_AllocateProbs(CLzmaDec *p, return SZ_OK; } @@ -375,7 +375,7 @@ void MatchFinder_Construct(CMatchFinder *p); /* Conditions: -@@ -70,12 +65,6 @@ int MatchFinder_Create(CMatchFinder *p, +@@ -70,12 +65,6 @@ int MatchFinder_Create(CMatchFinder *p, UInt32 keepAddBufferBefore, UInt32 matchMaxLen, UInt32 keepAddBufferAfter, ISzAlloc *alloc); void MatchFinder_Free(CMatchFinder *p, ISzAlloc *alloc); |