Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jul 2010 01:29:52 -0700
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-mips@freebsd.org
Subject:   Re: Merging 64 bit changes to -HEAD - part 4
Message-ID:  <AANLkTins4AtUpmNPm9gouJ9KuEpSMCiM7haUUe50oTz6@mail.gmail.com>
In-Reply-To: <20100708.021250.1099368555950605809.imp@bsdimp.com>
References:  <AANLkTikSVi27V2UICgLvKd8Bk7v6tuGty9YX6-C6-21H@mail.gmail.com>  <20100708.021250.1099368555950605809.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 8, 2010 at 01:12, M. Warner Losh <imp@bsdimp.com> wrote:
> In message: <AANLkTikSVi27V2UICgLvKd8Bk7v6tuGty9YX6-C6-21H@mail.gmail.com=
>
> =A0 =A0 =A0 =A0 =A0 =A0"Jayachandran C." <c.jayachandran@gmail.com> 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.



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