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
This commit is contained in:
Philipp Thomas 2002-02-17 18:14:50 +00:00 committed by Philipp Thomas
parent f9477efdb3
commit e16b32fc25
2 changed files with 7 additions and 0 deletions

View 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.

View 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 \