Commit 56fb2b36 by Joseph Myers Committed by Joseph Myers

arc.h (LIB_SPEC): Define.

	* config/arc/arc.h (LIB_SPEC): Define.
	* config.gcc (arc-*-elf*): Don't use svr4.h.

From-SVN: r167840
parent 0dcc5c98
2010-12-14 Joseph Myers <joseph@codesourcery.com> 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. * config/sh/elf.h (LIB_SPEC): Define.
* config.gcc (sh-*-elf* | sh[12346l]*-*-elf* | sh-*-symbianelf* | * config.gcc (sh-*-elf* | sh[12346l]*-*-elf* | sh-*-symbianelf* |
sh[12346l]*-*-symbianelf* | sh-*-linux* | sh[2346lbe]*-*-linux* | sh[12346l]*-*-symbianelf* | sh-*-linux* | sh[2346lbe]*-*-linux* |
...@@ -761,7 +761,7 @@ alpha*-dec-*vms*) ...@@ -761,7 +761,7 @@ alpha*-dec-*vms*)
extra_options="${extra_options} vms/vms.opt" extra_options="${extra_options} vms/vms.opt"
;; ;;
arc-*-elf*) 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" extra_parts="crtinit.o crtfini.o"
;; ;;
arm-wrs-vxworks) arm-wrs-vxworks)
......
...@@ -29,6 +29,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -29,6 +29,7 @@ along with GCC; see the file COPYING3. If not see
#undef ASM_SPEC #undef ASM_SPEC
#undef LINK_SPEC #undef LINK_SPEC
#undef LIB_SPEC
#undef STARTFILE_SPEC #undef STARTFILE_SPEC
#undef ENDFILE_SPEC #undef ENDFILE_SPEC
#undef SIZE_TYPE #undef SIZE_TYPE
...@@ -66,6 +67,8 @@ along with GCC; see the file COPYING3. If not see ...@@ -66,6 +67,8 @@ along with GCC; see the file COPYING3. If not see
#define LINK_SPEC "%{v} %{EB} %{EL}" #define LINK_SPEC "%{v} %{EB} %{EL}"
#define LIB_SPEC "-lc"
#define STARTFILE_SPEC "%{!shared:crt0.o%s} crtinit.o%s" #define STARTFILE_SPEC "%{!shared:crt0.o%s} crtinit.o%s"
#define ENDFILE_SPEC "crtfini.o%s" #define ENDFILE_SPEC "crtfini.o%s"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment