aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPhilipp Thomas <pthomas@suse.de>2002-02-17 18:14:50 +0000
committerPhilipp Thomas <pthomas@gcc.gnu.org>2002-02-17 18:14:50 +0000
commite16b32fc251052029bcccd99f6e90a52028b3af6 (patch)
tree1ad835836c52b4a18770e43fc1f3876523979591 /gcc
parentf9477efdb3f7ddec1cda6834a9a3e616af27c549 (diff)
downloadgcc-e16b32fc251052029bcccd99f6e90a52028b3af6.zip
gcc-e16b32fc251052029bcccd99f6e90a52028b3af6.tar.gz
gcc-e16b32fc251052029bcccd99f6e90a52028b3af6.tar.bz2
cris.h: Undefine STARTFILE_SPEC and ENDFILE_SPEC before (re)defining them.
2002-02-17 Philipp Thomas <pthomas@suse.de> * config/cris/cris.h: Undefine STARTFILE_SPEC and ENDFILE_SPEC before (re)defining them. From-SVN: r49823
Diffstat (limited to 'gcc')
-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 \