aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorChris Demetriou <cgd@broadcom.com>2002-07-24 17:14:33 +0000
committerChris Demetriou <cgd@gcc.gnu.org>2002-07-24 10:14:33 -0700
commit8a3ad73714d047e5c183761197ef21e565c2210e (patch)
tree21859acb44b534ab9547b848ad635949aaf86047 /gcc
parent979b1d183472367e813ccae5f9ca7c8463f6cb26 (diff)
downloadgcc-8a3ad73714d047e5c183761197ef21e565c2210e.zip
gcc-8a3ad73714d047e5c183761197ef21e565c2210e.tar.gz
gcc-8a3ad73714d047e5c183761197ef21e565c2210e.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/mips/elf.h5
-rw-r--r--gcc/config/mips/elf64.h5
-rw-r--r--gcc/config/mips/isa3264.h7
4 files changed, 14 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index dddc380..af8ff60 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+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
diff --git a/gcc/config/mips/elf.h b/gcc/config/mips/elf.h
index 8e22e0b..4bb2489 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"
diff --git a/gcc/config/mips/elf64.h b/gcc/config/mips/elf64.h
index 7aea668..e170dfa 100644
--- a/gcc/config/mips/elf64.h
+++ b/gcc/config/mips/elf64.h
@@ -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"
diff --git a/gcc/config/mips/isa3264.h b/gcc/config/mips/isa3264.h
index fc2b289..f71fdc1 100644
--- a/gcc/config/mips/isa3264.h
+++ b/gcc/config/mips/isa3264.h
@@ -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