summaryrefslogtreecommitdiff
path: root/gcc/config/arc/arc.h
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-15 02:32:24 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-15 02:32:24 +0000
commit16bd2f3cbfa8c8526eeb3ed89b2f880fee4a9553 (patch)
tree94634d846c443f1d9929fcfc2549d63712558d15 /gcc/config/arc/arc.h
parentea4a64c32fae1fa3e3e8e11049fe53964d9cb10c (diff)
downloadgcc-16bd2f3cbfa8c8526eeb3ed89b2f880fee4a9553.tar.gz
* config/arc/arc.h (LIB_SPEC): Define.
* config.gcc (arc-*-elf*): Don't use svr4.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167840 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arc/arc.h')
-rw-r--r--gcc/config/arc/arc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h
index 8a0881848ed..0f2b99c199c 100644
--- a/gcc/config/arc/arc.h
+++ b/gcc/config/arc/arc.h
@@ -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"