OSDN Git Service

2002-02-17 Philipp Thomas <pthomas@suse.de>
authorpthomas <pthomas@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Feb 2002 18:14:50 +0000 (18:14 +0000)
committerpthomas <pthomas@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Feb 2002 18:14:50 +0000 (18:14 +0000)
* config/cris/cris.h: Undefine STARTFILE_SPEC and
ENDFILE_SPEC before (re)defining them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49823 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 3cc3e61..0e5ed7a 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 84d0e89..e2cb514 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                            \