kernel: when using --gc-sections, add --sort-section=name to get a more stable sortin...
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.14 / 302-mips_no_branch_likely.patch
index 44c6b04fcf4d1f72044666e4f607adf4fbcdb8bf..19adcb800b92e84ff5ab467b7b05756c65842ae1 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 --gc-sections
+ LDFLAGS_vmlinux                       += -G 0 -static -n -nostdlib --gc-sections --sort-section=name
  KBUILD_AFLAGS_MODULE          += -mlong-calls