This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch, binutils] Patch elf/mips.h for -mfp64 support.
- From: Doug Gilmore <Doug dot Gilmore at imgtec dot com>
- To: "Maciej W. Rozycki" <macro at codesourcery dot com>, <binutils at sourceware dot org>, <rdsandiford at googlemail dot com>
- Date: Mon, 16 Sep 2013 18:11:37 -0700
- Subject: Re: [patch, binutils] Patch elf/mips.h for -mfp64 support.
- Authentication-results: sourceware.org; auth=none
- References: <522E6DDF dot 10909 at imgtec dot com> <87sixdf64s dot fsf at talisman dot default> <alpine dot DEB dot 1 dot 10 dot 1309100948050 dot 29360 at tp dot orcam dot me dot uk> <87ppsgmnjn dot fsf at talisman dot default> <alpine dot DEB dot 1 dot 10 dot 1309111352360 dot 29360 at tp dot orcam dot me dot uk> <87a9jjmf5e dot fsf at talisman dot default> <5237A343 dot 6020505 at imgtec dot com>
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