diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-12-28 19:17:19 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-12-28 19:17:19 +0000 |
commit | 41a039f46450ffae9483d6216422098669da2900 (patch) | |
tree | a5a1e6dd1828f1a8eb5adf672d49098dc71a88f7 /target/linux/generic/patches-3.6/305-mips_module_reloc.patch | |
parent | e7719bb4aa7830d5422281421a0f5f6e0d3675d8 (diff) | |
download | mtk-20170518-41a039f46450ffae9483d6216422098669da2900.zip mtk-20170518-41a039f46450ffae9483d6216422098669da2900.tar.gz mtk-20170518-41a039f46450ffae9483d6216422098669da2900.tar.bz2 |
mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
SVN-Revision: 34909
Diffstat (limited to 'target/linux/generic/patches-3.6/305-mips_module_reloc.patch')
-rw-r--r-- | target/linux/generic/patches-3.6/305-mips_module_reloc.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-3.6/305-mips_module_reloc.patch b/target/linux/generic/patches-3.6/305-mips_module_reloc.patch index fea4a00..a2738dc 100644 --- a/target/linux/generic/patches-3.6/305-mips_module_reloc.patch +++ b/target/linux/generic/patches-3.6/305-mips_module_reloc.patch @@ -1,7 +1,7 @@ --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -90,8 +90,8 @@ all-$(CONFIG_SYS_SUPPORTS_ZBOOT)+= vmlin - cflags-y += -G 0 -mno-abicalls -fno-pic -pipe + cflags-y += -G 0 -mno-abicalls -fno-pic -pipe -mno-branch-likely cflags-y += -msoft-float LDFLAGS_vmlinux += -G 0 -static -n -nostdlib -KBUILD_AFLAGS_MODULE += -mlong-calls |