Cleanup for ELF trampoline code.

Oleksandr Tymoshenko gonzo at freebsd.org
Wed Dec 15 20:42:29 UTC 2010


On 12/15/2010 7:28 AM, Jayachandran C. wrote:
> I've attached a patch which cleans up sys/conf/Makefile.mips a bit,
> the changes are:
> - don't use -shared flag for the trampoline binary, now we generate a
> shared obj, elf executable would be a better choice.
> - don't generate tmphack.S,  move the code to sys/mips/mips/inckern.S
> - don't generate opt_kernname.h, pass KERNNAME with -D
>
> Please let me know your comments. I'm not sure which other platforms
> use the elf trampoline code, let me know if this will break any
> platform.
     Looks OK to me.


More information about the freebsd-mips mailing list