[PATCH, MIPS] Add support for CPUs with no FPU
Richard Sandiford
rsandifo@nildram.co.uk
Mon Feb 18 22:10:00 GMT 2008
"Joseph S. Myers" <joseph@codesourcery.com> writes:
> On Sat, 16 Feb 2008, Richard Sandiford wrote:
>> (In my view of things, gcc should add -msoft-float to the assembler
>> command line when necessary. MIPS_ARCH_FLOAT_SPEC would do that,
>
> Putting options in .cpu/.float/... directives in the .s output file is
> better - that way you can be sure they agree with cc1's internal state,
> rather than hoping that specs get exactly the same logic as cc1 e.g. when
> a later command-line option overrides an earlier one.
Good point. I agree that's better.
Richard
More information about the Binutils
mailing list