From owner-freebsd-mips@FreeBSD.ORG Wed Dec 15 21:53:42 2010 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56DAD106566B for ; Wed, 15 Dec 2010 21:53:42 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id EDECF8FC1A for ; Wed, 15 Dec 2010 21:53:41 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id oBFLkofD077968 for ; Wed, 15 Dec 2010 14:46:50 -0700 (MST) (envelope-from imp@bsdimp.com) Message-ID: <4D09374A.2060206@bsdimp.com> Date: Wed, 15 Dec 2010 14:46:50 -0700 From: Warner Losh User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101029 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-mips@FreeBSD.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Cleanup for ELF trampoline code. X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2010 21:53:42 -0000 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"