arc.h (LIB_SPEC): Define.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 15 Dec 2010 02:32:24 +0000 (02:32 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Wed, 15 Dec 2010 02:32:24 +0000 (02:32 +0000)
* config/arc/arc.h (LIB_SPEC): Define.
* config.gcc (arc-*-elf*): Don't use svr4.h.

From-SVN: r167840

gcc/ChangeLog
gcc/config.gcc
gcc/config/arc/arc.h

index 7a58fde648e120e9aa9e1a517c801f5b8e410ec3..1519ede4b8001d1d95f827a173ada4e7a7fe4ac8 100644 (file)
@@ -1,3 +1,8 @@
+2010-12-14  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/arc/arc.h (LIB_SPEC): Define.
+       * config.gcc (arc-*-elf*): Don't use svr4.h.
+
 2010-12-14  Joseph Myers  <joseph@codesourcery.com>
 
        * config/sh/elf.h (LIB_SPEC): Define.
index 273819ac5707ee5c4c7fb97b4ec7e065a096c7e8..93ad309cf5693b10aa4d327c61b365a4c414cdbe 100644 (file)
@@ -761,7 +761,7 @@ alpha*-dec-*vms*)
        extra_options="${extra_options} vms/vms.opt"
        ;;
 arc-*-elf*)
-       tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file}"
+       tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}"
        extra_parts="crtinit.o crtfini.o"
        ;;
 arm-wrs-vxworks)
index 8a0881848edc325df223f243aca63d26e3ecb9a9..0f2b99c199c2eeeb5aa5f434abc25bfe9b9dd212 100644 (file)
@@ -29,6 +29,7 @@ along with GCC; see the file COPYING3.  If not see
 
 #undef ASM_SPEC
 #undef LINK_SPEC
+#undef LIB_SPEC
 #undef STARTFILE_SPEC
 #undef ENDFILE_SPEC
 #undef SIZE_TYPE
@@ -66,6 +67,8 @@ along with GCC; see the file COPYING3.  If not see
 
 #define LINK_SPEC "%{v} %{EB} %{EL}"
 
+#define LIB_SPEC "-lc"
+
 #define STARTFILE_SPEC "%{!shared:crt0.o%s} crtinit.o%s"
 
 #define ENDFILE_SPEC "crtfini.o%s"