MIPS: create .text sub-sections for assembler functions
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sat, 19 Dec 2015 19:20:46 +0000 (20:20 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sat, 16 Jan 2016 20:06:45 +0000 (21:06 +0100)
commit5b6f357fe73a3fab11870cceeac5f2fecd6d7e02
treeacdbe7f430128e4ed2318e1fda671292544e2ce9
parent113492988b0f471f9fe4f8f987a52c58a782d96f
MIPS: create .text sub-sections for assembler functions

Put all functions coded in assembly in sub-sections of
section .text. This allows the linker to garbage collect
unused assembly functions too.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/include/asm/asm.h