Commit Graph

4 Commits (2f757bc989540acb986031b0b69d1274a922ef0f)

Author SHA1 Message Date
Felix Fietkau 684f4a8a18 kernel: when using --gc-sections, add --sort-section=name to get a more stable sorting order
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-02 18:50:55 +00:00
Felix Fietkau 5191a29832 kernel: use -ffunction-sections, -fdata-sections and --gc-sections on ARM to reduce kernel image size, disable those flags when tracing on MIPS to fix compile errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 14:51:42 +00:00
Felix Fietkau 081d10c739 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
2013-01-26 16:26:13 +00:00
Felix Fietkau f9e957c809 kernel: port 203-kallsyms_uncompressed.patch and 305-mips_module_reloc.patch to 3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 18:55:36 +00:00