This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: mips-tdep.c: FP varargs fixes
- From: "Maciej W. Rozycki" <macro at mips dot com>
- To: Michael Snyder <Michael dot Snyder at access-company dot com>
- Cc: Daniel Jacobowitz <drow at false dot org>, Mark Kettenis <mark dot kettenis at xs4all dot nl>, gdb-patches at sourceware dot org, Nigel Stephens <nigel at mips dot com>, "Maciej W. Rozycki" <macro at linux-mips dot org>
- Date: Wed, 18 Apr 2007 09:31:09 +0100 (BST)
- Subject: Re: mips-tdep.c: FP varargs fixes
- References: <Pine.LNX.4.61.0703231339070.6921@perivale.mips.com> <200703231449.l2NEnQSb031165@brahms.sibelius.xs4all.nl> <Pine.LNX.4.61.0703261627260.32723@perivale.mips.com> <20070410154430.GG10890@caradoc.them.org> <Pine.LNX.4.61.0704171356050.17222@perivale.mips.com> <1176842694.5381.22.camel@svmsnyderlnx.palmsource.com>
On Tue, 17 Apr 2007, Michael Snyder wrote:
> > Well, GCC is the definite reference in this case ...
>
> You would think so -- but GCC has been known to get it wrong.
> Historically, when gcc differs from the MIPS spec, we go with
> the MIPS spec. Even if it means our tests fail.
No question about it, but it makes sense only if accompanied with the
respective bug report against GCC. Then some areas of the MIPS o32 ABI
are obscure enough or plainly wrong (= useless as is -- see e.g. the
R_MIPS_PC16 relocation), so that using a live piece of software instead is
reasonably enough. And o64 does not even exist. ;-)
Maciej