From edf06589cc0ad9474b6c17aa84af90a932eaca13 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 26 Jan 2013 16:26:13 +0000 Subject: 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 --- target/linux/generic/patches-3.8/302-mips_no_branch_likely.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/generic/patches-3.8/302-mips_no_branch_likely.patch') diff --git a/target/linux/generic/patches-3.8/302-mips_no_branch_likely.patch b/target/linux/generic/patches-3.8/302-mips_no_branch_likely.patch index 1da954005..44c6b04fc 100644 --- a/target/linux/generic/patches-3.8/302-mips_no_branch_likely.patch +++ b/target/linux/generic/patches-3.8/302-mips_no_branch_likely.patch @@ -7,5 +7,5 @@ -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 + LDFLAGS_vmlinux += -G 0 -static -n -nostdlib --gc-sections KBUILD_AFLAGS_MODULE += -mlong-calls -- cgit v1.2.3