This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] MIPS gas/ld test suite portability fixes
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- To: "Maciej W. Rozycki" <macro at mips dot com>
- Cc: binutils at sources dot redhat dot com, "Maciej W. Rozycki" <macro at linux-mips dot org>
- Date: Tue, 22 Feb 2005 22:13:19 +0100
- Subject: Re: [PATCH] MIPS gas/ld test suite portability fixes
- References: <Pine.LNX.4.61.0502221612240.20174@perivale.mips.com>
Maciej W. Rozycki wrote:
> Hello,
>
> It's generally unsafe to assume the default MIPS arch type will work for
> NewABI tests (although it may happen to be the case with the targets that
> currently enable them). For example we get several failures with our SDE
> toolchain if we configure it for mipsisa32-*. I think it shouldn't hurt
> to specify a compatible arch explicitly.
>
> We get failures due to a different alignment of sections, too. Finally
> one of the ld cases omits emulation specification, which may also lead to
> a failure.
>
> Here's a fix that addresses these issues. No regressions for
> mips64-linux-gnu.
>
> gas/testsuite/:
> 2005-02-22 Maciej W. Rozycki <macro@mips.com>
>
> * mips/elf-rel-got-n32.d: Pass -march=mips3 to gas to select a
> 64-bit architecture.
We should probably change gas instead to imply MIPS III for -n32/-64.
It is the required minimum for NewABI anyways.
Thiemo