This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: recent binutils and mips64-linux
- From: Eric Christopher <echristo at redhat dot com>
- To: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
- Cc: Richard Sandiford <rsandifo at redhat dot com>, cgd at broadcom dot com, binutils at sources dot redhat dot com
- Date: Thu, 02 Oct 2003 11:35:01 -0700
- Subject: Re: recent binutils and mips64-linux
- References: <Pine.GSO.3.96.1031002200639.15189G-100000@delta.ds2.pg.gda.pl>
> Note that the resulting object file should be somehow marked to let a
> user know it has some addressing restrictions and cannot be linked at an
> arbitrary address.
>
> Actually the best solution might be using ELF32 (possibly n32) for the
> output format, which automatically guarantees a 32-bit address space, but
> use an n64 setup for the gcc's code generator. This way no change is
> needed to binutils at all.
n32 is ELF64, but marking the binaries with an arbitrary section might
not be bad.
-eric
--
Eric Christopher <echristo@redhat.com>