This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH, MIPS] Add support for CPUs with no FPU
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.
--
Joseph S. Myers
joseph@codesourcery.com