[patch, binutils] Patch elf/mips.h for -mfp64 support.
Doug Gilmore
Doug.Gilmore@imgtec.com
Tue Sep 17 01:13:00 GMT 2013
On 09/16/2013 05:33 PM, Doug Gilmore wrote:
> On 09/11/2013 10:39 AM, Richard Sandiford wrote:
>> "Maciej W. Rozycki" <macro@codesourcery.com> writes:
>>> ...
>>> code. So just as we don't call the former flag EF_MIPS_GP64_32BITMODE or
>>> whatever we don't have to call the new flag EF_MIPS_32BITMODE_FP64 either.
>>
>> Yeah, good point. EF_MIPS_GP32_FP64 might avoid that confusion while
>> still being more precise than EF_MIPS_FP64.
>> ...
>
> I attached the update patch.
>
> Is it OK if Steve Ellcey commits this change for me?
>
> Thanks,
>
> Doug
>
> ChangeLog updates:
>
> include/elf/ChangeLog:
> * mips.h (EF_MIPS_32BITMODE): New e_flags bit.
>
> bfd/ChangeLog:
> * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Handle
> EF_MIPS_32BITMODE.
>
> binutils/ChangeLog:
> * readelf.c (get_machine_flags): Handle EF_MIPS_32BITMODE.
>
> gas/ChangeLog:
> * config/tc-mips.c (mips_elf_final_processing): Set
> EF_MIPS_32BITMODE for -mgp32 -mfp64, removing old FIXME.
>
Whoops -- change log entry was not updated. Thanks Chao-Ying!
It should read:
include/elf/ChangeLog:
* mips.h (EF_MIPS_FP64): New e_flags bit.
bfd/ChangeLog:
* elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Handle
EF_MIPS_FP64.
binutils/ChangeLog:
* readelf.c (get_machine_flags): Handle EF_MIPS_FP64.
gas/ChangeLog:
* config/tc-mips.c (mips_elf_final_processing): Set
EF_MIPS_FP64 for -mgp32 -mfp64, removing old FIXME.
Doug
More information about the Binutils
mailing list