vxworks.h (VXWORKS_STARTFILE_SPEC): Use -l:crt0.o instead of crt0.o%s.

gcc/
	* config/vxworks.h (VXWORKS_STARTFILE_SPEC): Use -l:crt0.o instead
	of crt0.o%s.

From-SVN: r123743
This commit is contained in:
Richard Sandiford 2007-04-12 12:44:31 +00:00 committed by Richard Sandiford
parent bf259a7704
commit b83b15dae3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-04-12 Richard Sandiford <richard@codesourcery.com>
* config/vxworks.h (VXWORKS_STARTFILE_SPEC): Use -l:crt0.o instead
of crt0.o%s.
2007-04-12 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.md ("trunctddd2"): Use TDmode for the target of

View File

@ -78,7 +78,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
"-lgcc %{mrtp:--exclude-libs=libc_internal,libgcc -lc_internal}"
#undef VXWORKS_STARTFILE_SPEC
#define VXWORKS_STARTFILE_SPEC "%{mrtp:%{!shared:crt0.o%s}}"
#define VXWORKS_STARTFILE_SPEC "%{mrtp:%{!shared:-l:crt0.o}}"
#define VXWORKS_ENDFILE_SPEC ""
/* Do VxWorks-specific parts of OVERRIDE_OPTIONS. */