This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: a couple of gas MIPS ABI issues.


cgd@broadcom.com wrote:
[snip]
> So, inside your .set mips64, you're going to have mips_abi == NO_ABI.
> 
> So, HAVE_32BIT_ADDRESSES, which used to evaluate to
> 0 (== (0 || ((0 || 0) && 1))) will now evaluate to
> 1 (== (0 || ((0 || 1) && 1))).

That's right, it should be only NO_ABI if the file ABI would
restrict the newly selected ISA.

> The point here is, the ABI does _not_ govern just the ISA level used.
> 
> It governs stuff like the size of GOT elements, etc.
> 
> When you want to just change the ISA level, you _do not_ want to
> change the use of rest of the ABI-related features in the binary.
> Really.  You _only_ want to change the ISA level.

If the ABI is o32, I definitely want to remove ABI restrictions.


Thiemo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]