Cleanup for ELF trampoline code.

Jayachandran C. c.jayachandran at gmail.com
Wed Dec 15 15:28:09 UTC 2010


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.

Thanks,
JC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tramp-cleanup.patch
Type: text/x-patch
Size: 2777 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mips/attachments/20101215/194bb580/tramp-cleanup.bin


More information about the freebsd-mips mailing list