X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fconfig%2Farm%2Frtems-elf.h;h=adad59af8a98423eea90bf83eb46eafa38d3a5ca;hp=a736ee1ea10c7718d379c280c08d0ea47594e343;hb=32995c1e581c692bdb9051aff40d202d05a7c8f3;hpb=d25d51fcda43be229945c44afb9d9a30a3e0ad87 diff --git a/gcc/config/arm/rtems-elf.h b/gcc/config/arm/rtems-elf.h index a736ee1ea10..adad59af8a9 100644 --- a/gcc/config/arm/rtems-elf.h +++ b/gcc/config/arm/rtems-elf.h @@ -29,3 +29,11 @@ builtin_define ("__rtems__"); \ builtin_assert ("system=rtems"); \ } while (0) + +/* + * The default in gcc now is soft-float, but gcc misses it to + * pass it to the assembler. + */ +#undef SUBTARGET_EXTRA_ASM_SPEC +#define SUBTARGET_EXTRA_ASM_SPEC "\ + %{!mhard-float: %{!msoft-float:-mfpu=softfpa}}"