From owner-freebsd-mips@FreeBSD.ORG Thu Jul 8 08:30:20 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 6AD721065672 for ; Thu, 8 Jul 2010 08:30:20 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2E7238FC1B for ; Thu, 8 Jul 2010 08:30:19 +0000 (UTC) Received: by vws6 with SMTP id 6so996649vws.13 for ; Thu, 08 Jul 2010 01:30:12 -0700 (PDT) Received: by 10.220.126.130 with SMTP id c2mr4081964vcs.165.1278577812192; Thu, 08 Jul 2010 01:30:12 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.220.188.69 with HTTP; Thu, 8 Jul 2010 01:29:52 -0700 (PDT) In-Reply-To: <20100708.021250.1099368555950605809.imp@bsdimp.com> References: <20100708.021250.1099368555950605809.imp@bsdimp.com> From: Juli Mallett Date: Thu, 8 Jul 2010 01:29:52 -0700 X-Google-Sender-Auth: QU5RA-jybZrd42zNZu-RPBPIKjU Message-ID: To: "M. Warner Losh" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mips@freebsd.org Subject: Re: Merging 64 bit changes to -HEAD - part 4 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: Thu, 08 Jul 2010 08:30:20 -0000 On Thu, Jul 8, 2010 at 01:12, M. Warner Losh wrote: > In message: > =A0 =A0 =A0 =A0 =A0 =A0"Jayachandran C." write= s: > : ldscript-64.patch > : =A064 bit linker script (JC) > : =A0linker script for 64 bit compilation, and XLR configuration file. > > I wonder if the octeon ld script can be merged or if we can use this > for octeon. =A0Some investigation is warranted, I think... No investigation needed. U-Boot, at least on Octeon, requires only one (executable) program header, so it's necessary for Octeon to use its own ldscript -- I suspect other bootloaders have likewise weird constraints. That said, there's really no need for all of these separate linker scripts, assuming you use buildkernel and have TARGET_ABI set right when you build kernel-toolchain. I use a single linker script for all Octeon kernels, I think. You don't need to specify the output format. Juli.