cris.h: Undefine STARTFILE_SPEC and ENDFILE_SPEC before (re)defining them.
authorPhilipp Thomas <pthomas@suse.de>
Sun, 17 Feb 2002 18:14:50 +0000 (18:14 +0000)
committerPhilipp Thomas <pthomas@gcc.gnu.org>
Sun, 17 Feb 2002 18:14:50 +0000 (18:14 +0000)
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

gcc/ChangeLog
gcc/config/cris/cris.h

index 3cc3e6116042a66d94b7d5140684969118f1b846..0e5ed7acddc832d324e75b71755b22fa88f0d8f9 100644 (file)
@@ -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.
index 84d0e89742d1af70bcd98cf4a62a6eeb921bf446..e2cb514a7d19250ca2ca7acad3d43f8149dedce7 100644 (file)
@@ -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                            \