aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/bfin
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/bfin')
-rw-r--r--gcc/config/bfin/bfin.h2
-rw-r--r--gcc/config/bfin/linux.h2
-rw-r--r--gcc/config/bfin/uclinux.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/bfin/bfin.h b/gcc/config/bfin/bfin.h
index 4709282..a503d57 100644
--- a/gcc/config/bfin/bfin.h
+++ b/gcc/config/bfin/bfin.h
@@ -204,7 +204,7 @@
#endif
#define LINK_GCC_C_SEQUENCE_SPEC "\
- %{mfast-fp:-lbffastfp} %G %L %{mfast-fp:-lbffastfp} %G \
+ %{mfast-fp:-lbffastfp} %G %{!nolibc:%L} %{mfast-fp:-lbffastfp} %G \
"
#undef ASM_SPEC
diff --git a/gcc/config/bfin/linux.h b/gcc/config/bfin/linux.h
index 9d317d1..b1592ee 100644
--- a/gcc/config/bfin/linux.h
+++ b/gcc/config/bfin/linux.h
@@ -35,7 +35,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#undef LINK_GCC_C_SEQUENCE_SPEC
#define LINK_GCC_C_SEQUENCE_SPEC \
- "%{static|static-pie:--start-group} %{mfast-fp:-lbffastfp} %G %L \
+ "%{static|static-pie:--start-group} %{mfast-fp:-lbffastfp} %G %{!nolibc:%L} \
%{static|static-pie:--end-group} \
%{!static:%{!static-pie:%{mfast-fp:-lbffastfp} %G}}"
diff --git a/gcc/config/bfin/uclinux.h b/gcc/config/bfin/uclinux.h
index 7ef3b16..beb6d45 100644
--- a/gcc/config/bfin/uclinux.h
+++ b/gcc/config/bfin/uclinux.h
@@ -29,7 +29,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#undef LINK_GCC_C_SEQUENCE_SPEC
#define LINK_GCC_C_SEQUENCE_SPEC "\
- %{mfast-fp:-lbffastfp} %G %L %{mfast-fp:-lbffastfp} %G \
+ %{mfast-fp:-lbffastfp} %G %{!nolibc:%L} %{mfast-fp:-lbffastfp} %G \
"
#undef TARGET_SUPPORTS_SYNC_CALLS