Cleanup for ELF trampoline code.

Warner Losh imp at bsdimp.com
Wed Dec 15 21:53:42 UTC 2010


On 12/15/2010 08:28, 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.

These all look fairly good.

We share this code, kinda, with ARM.  Maybe with your changes the kinda 
can become more of a shared make framework with MD code in sys/arm and 
sys/mips?

Warner
> Thanks,
> JC
>
>
> _______________________________________________
> freebsd-mips at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to "freebsd-mips-unsubscribe at freebsd.org"



More information about the freebsd-mips mailing list