[PATCH, MIPS] Add support for CPUs with no FPU

Joseph S. Myers joseph@codesourcery.com
Mon Feb 18 00:10:00 GMT 2008


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



More information about the Binutils mailing list