aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/cris/cris.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3cc3e61..0e5ed7a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-17 Philipp Thomas <pthomas@suse.de>
+
+ * config/cris/cris.h: Undefine STARTFILE_SPEC and
+ ENDFILE_SPEC before (re)defining them.
+
2002-02-17 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.c: Fix formatting.
diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h
index 84d0e89..e2cb514 100644
--- a/gcc/config/cris/cris.h
+++ b/gcc/config/cris/cris.h
@@ -231,6 +231,7 @@ extern const char *cris_elinux_stacksize_str;
link them to crt0.o to be prepared. Use scrt0.c if running the
simulator, linear style, or s2crt0.c if fixed style. */
/* We need to remove any previous definition (elfos.h). */
+#undef STARTFILE_SPEC
#define STARTFILE_SPEC \
"%{sim2:s2crt0.o%s}\
%{!sim2:%{sim:scrt0.o%s}\
@@ -238,6 +239,7 @@ extern const char *cris_elinux_stacksize_str;
%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}}}\
crtbegin.o%s"
+#undef ENDFILE_SPEC
#define ENDFILE_SPEC "crtend.o%s"
#define EXTRA_SPECS \