kernel: when using --gc-sections, add --sort-section=name to get a more stable sorting order

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41951
This commit is contained in:
Felix Fietkau
2014-08-02 18:50:55 +00:00
parent 428539a3a2
commit fe295cd178
15 changed files with 23 additions and 23 deletions

View 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