Commit 8a3ad737 by Chris Demetriou Committed by Chris Demetriou

elf.h (STARTFILE_SPEC): Never include crt0.o.

2002-07-24  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o.
        * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
        * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine.

From-SVN: r55714
parent 979b1d18
2002-07-24 Chris Demetriou <cgd@broadcom.com>
* config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o.
* config/mips/elf64.h (STARTFILE_SPEC): Likewise.
* config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine.
Wed Jul 24 17:59:12 CEST 2002 Jan Hubicka <jh@suse.cz>
* toplev.c (rest_of_compilation): Dump loops before clobbering
......
......@@ -263,8 +263,11 @@ void FN () \
#undef LIB_SPEC
#define LIB_SPEC ""
/* Don't link with crt0 files, let the linker start files specify
the appropriate crt0 file. This is overridden by non-embedded
targets which wish to provide a crt0.o by default. */
#undef STARTFILE_SPEC
#define STARTFILE_SPEC "crti%O%s crtbegin%O%s %{!mno-crt0:crt0%O%s}"
#define STARTFILE_SPEC "crti%O%s crtbegin%O%s"
#undef ENDFILE_SPEC
#define ENDFILE_SPEC "crtend%O%s crtn%O%s"
......@@ -237,8 +237,11 @@ void FN () \
#undef LIB_SPEC
#define LIB_SPEC ""
/* Don't link with crt0 files, let the linker start files specify
the appropriate crt0 file. This is overridden by non-embedded
targets which wish to provide a crt0.o by default. */
#undef STARTFILE_SPEC
#define STARTFILE_SPEC "crti%O%s crtbegin%O%s %{!mno-crt0:crt0%O%s}"
#define STARTFILE_SPEC "crti%O%s crtbegin%O%s"
#undef ENDFILE_SPEC
#define ENDFILE_SPEC "crtend%O%s crtn%O%s"
......@@ -36,10 +36,3 @@ Boston, MA 02111-1307, USA. */
#endif
#include "mips/elf.h"
#if MIPS_ABI_DEFAULT == ABI_MEABI
/* For MEABI, don't link with crt0 files, let the linker start files specify
the appropriate crt0 file. */
#undef STARTFILE_SPEC
#define STARTFILE_SPEC "crti%O%s crtbegin%O%s %{!mno-crt0: }"
#endif
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