summaryrefslogtreecommitdiff
path: root/gcc/config/mips/elf.h
diff options
context:
space:
mode:
authorcgd <cgd@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-24 17:14:33 +0000
committercgd <cgd@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-24 17:14:33 +0000
commit67f327824063863407e9d148f9cbe9eb5741a9cd (patch)
tree21859acb44b534ab9547b848ad635949aaf86047 /gcc/config/mips/elf.h
parentbf3c159a4d74cc723f9b60d4d4a3dee6fc5530a9 (diff)
downloadgcc-67f327824063863407e9d148f9cbe9eb5741a9cd.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55714 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/elf.h')
-rw-r--r--gcc/config/mips/elf.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/mips/elf.h b/gcc/config/mips/elf.h
index 8e22e0bcd6a..4bb2489cef2 100644
--- a/gcc/config/mips/elf.h
+++ b/gcc/config/mips/elf.h
@@ -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"