* config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
* config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30744
138bc75d-0d04-0410-961f-
82ee72b054a4
+1999-12-01 Mark Salter <msalter@cygnus.com>
+
+ * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
+ * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
+ * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
+
Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
* i386.c (ix86_expand_move): Never add clobbers to move patterns.
#define LIB_SPEC ""
#undef STARTFILE_SPEC
-#define STARTFILE_SPEC "crtbegin%O%s crt0%O%s"
+#define STARTFILE_SPEC "crtbegin%O%s %{!mno-crt0:crt0%O%s}"
#undef ENDFILE_SPEC
#define ENDFILE_SPEC "crtend%O%s"
#define LIB_SPEC ""
#undef STARTFILE_SPEC
-#define STARTFILE_SPEC "crtbegin%O%s crt0%O%s"
+#define STARTFILE_SPEC "crtbegin%O%s %{!mno-crt0:crt0%O%s}"
#undef ENDFILE_SPEC
#define ENDFILE_SPEC "crtend%O%s"
#define TARGET_SWITCHES \
{ \
+ {"no-crt0", 0, \
+ "No default crt0.o" }, \
{"int64", MASK_INT64 | MASK_LONG64, \
"Use 64-bit int type"}, \
{"long64", MASK_LONG64, \