From: Stuart Henderson Date: Tue, 3 May 2011 14:19:43 +0000 (+0000) Subject: 2011-05-03 Stuart Henderson X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7071d0648c0db166f8e242c39e76ed69a9b36b62;p=gcc.git 2011-05-03 Stuart Henderson From Jie Zhang: * config/bfin/uclinux.h (LINK_GCC_C_SEQUENCE_SPEC): Make sure libbffastfp overrides libgcc when -mfast-fp. From-SVN: r173308 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b597068d364..b2404b904d6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-05-03 Stuart Henderson + + From Jie Zhang: + * config/bfin/uclinux.h (LINK_GCC_C_SEQUENCE_SPEC): Make sure + libbffastfp overrides libgcc when -mfast-fp. + 2011-05-03 Stuart Henderson Originally from Bernd Schmidt diff --git a/gcc/config/bfin/uclinux.h b/gcc/config/bfin/uclinux.h index e1bc5ce4dd9..354ff55a60b 100644 --- a/gcc/config/bfin/uclinux.h +++ b/gcc/config/bfin/uclinux.h @@ -27,6 +27,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS() +#undef LINK_GCC_C_SEQUENCE_SPEC +#define LINK_GCC_C_SEQUENCE_SPEC "\ + %{mfast-fp:-lbffastfp} %G %L %{mfast-fp:-lbffastfp} %G \ +" + #define MD_UNWIND_SUPPORT "config/bfin/linux-unwind.h" /* Like the definition in gcc.c, but for purposes of uClinux, every link is