* config/vxworks.h (VXWORKS_STARTFILE_SPEC): Use -l:crt0.o instead
of crt0.o%s.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123743
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
"-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. */