r191736 - [ARM] Add -mfpu=none option to the driver.
Jonathan Roelofs
jonathan at codesourcery.com
Sat Jul 26 13:27:10 PDT 2014
On 7/26/14, 1:13 PM, Nico Weber wrote:
> Hi Amara,
>
> what's this for?
The AArch32 part of the driver accepts this option, and DTRT. We use it to
build FPU agnostic multilibs. Not sure what everyone else uses it for.
> "none" isn't documented on
> https://sourceware.org/binutils/docs/as/ARM-Options.html – are these docs just
> out of date?
> Does gcc understand that flag?
I think so... I know that at least for GAS it is named slightly differently:
'-mfpu=softfpa'. This should probably be fixed for -fno-integrated-as in gcc
toolchains.
Cheers,
Jon
> clang's integrated assembler doesn't
> seem to understand ".fpu none", but .fpu is supposed to do the same as -mfpu as
> far as I understand.
>
> Thanks,
> Nico
>
--
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded
More information about the cfe-commits
mailing list