[mips] Improve MIPS trampoline code
authoradrian <adrian@FreeBSD.org>
Mon, 16 May 2016 23:56:31 +0000 (23:56 +0000)
committeradrian <adrian@FreeBSD.org>
Mon, 16 May 2016 23:56:31 +0000 (23:56 +0000)
commitaa53a333b4f2abae9d1b2edc130cc99cb5231b2c
tree1f7000cd859c4080ac41e3273a9930ab3a05c0bb
parent35698b98c017847fbbab9b3bd94a41c32b13a54f
[mips] Improve MIPS trampoline code

This patch fix trampoline build. inckern.S increases stack and calls _startC
of elf_trampoline, so inckern.S should be called before elf_trampoline. gcc4.2 puts
text (code) into image according to order of source files in this call, so order has changed.

In addition make will install trampoline kernel. It allows to use kernel for firmware build.

Submitted by: Michael Zhilin <mizhka@gmail.com>
Differential Revision: https://reviews.freebsd.org/D6242
sys/conf/Makefile.mips