This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] MIPS: Enable NewABI testing for all Linux targets
"Maciej W. Rozycki" <macro@codesourcery.com> writes:
> On Sat, 4 Aug 2012, Richard Sandiford wrote:
>> > Can you comment on my concerns about config.bfd too?
>>
>> Not including the targets in the BFD64 block at the time that the
>> extra vectors were added was probably an oversight.
>
> I've been wondering if these extra vectors were added by mistake instead,
> like slipped through in a larger commit unnoticed. I'll post a fix to the
> BFD64 block separately.
The 64-bit ones? No, Debian wanted to allow 32-bit *-linux-gnu targets
that provice all three ABIs, while still defaulting to o32. The associated
GCC configure option is --enable-targets=all. (Confusingly different from
the binutils meaning, but there you go. That choice of name wasn't a MIPS
invention.)
>> Providing a separate configuration that isn't BFD64 and doesn't have the
>> extra vectors seems more trouble than it's worth TBH. If you disagree
>> though, please go ahead.
>
> My understanding is it only really matters for hosts that do not have a
> 64-bit integer type and therefore cannot handle 64-bit quantities. In
> which case I couldn't care less, GCC has supported 64-bit long long on
> 32-bit hosts since time immemorial and the last teething problems in this
> area I seem to remember went away in late 1990s.
Indeed. And MIPS GCC requires 64-bit HWIs regardless of whether you're
compiling for a 32-bit or 64-bit target.
Richard