diff options
author | Stuart Henderson <shenders@gcc.gnu.org> | 2011-05-03 14:19:43 +0000 |
---|---|---|
committer | Stuart Henderson <shenders@gcc.gnu.org> | 2011-05-03 14:19:43 +0000 |
commit | 7071d0648c0db166f8e242c39e76ed69a9b36b62 (patch) | |
tree | 95620812f00437d641c9349f26dd9e52a65dc42e | |
parent | 44fb48ef0bbad0fd5b83c47fabac1fc66367fb3e (diff) | |
download | gcc-7071d0648c0db166f8e242c39e76ed69a9b36b62.zip gcc-7071d0648c0db166f8e242c39e76ed69a9b36b62.tar.gz gcc-7071d0648c0db166f8e242c39e76ed69a9b36b62.tar.bz2 |
2011-05-03 Stuart Henderson <shenders@gcc.gnu.org>
From Jie Zhang:
* config/bfin/uclinux.h (LINK_GCC_C_SEQUENCE_SPEC): Make sure
libbffastfp overrides libgcc when -mfast-fp.
From-SVN: r173308
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/bfin/uclinux.h | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b597068..b2404b9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> + + 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 <shenders@gcc.gnu.org> Originally from Bernd Schmidt diff --git a/gcc/config/bfin/uclinux.h b/gcc/config/bfin/uclinux.h index e1bc5ce..354ff55 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 |