Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2010 14:46:50 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        freebsd-mips@FreeBSD.org
Subject:   Re: Cleanup for ELF trampoline code.
Message-ID:  <4D09374A.2060206@bsdimp.com>
In-Reply-To: <AANLkTimX_zdB7=OUAyjmQEcfK8V_fe0qZj9M7HDMq3g4@mail.gmail.com>
References:  <AANLkTimX_zdB7=OUAyjmQEcfK8V_fe0qZj9M7HDMq3g4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D09374A.2060206>