kernel: update kernel 3.18 to version 3.18.23
[openwrt/staging/chunkeey.git] / target / linux / generic / patches-3.18 / 302-mips_no_branch_likely.patch
index 1da9540050510769c1075252a189525550ab7029..44c6b04fcf4d1f72044666e4f607adf4fbcdb8bf 100644 (file)
@@ -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