Start using crt[in].o to adhear to the ELF ABI

(and crtstuff.c's requirements).
This commit is contained in:
David E. O'Brien 2000-10-30 12:25:22 +00:00
parent c868d858b4
commit 2644e5e81b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67965

View file

@ -62,7 +62,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef STARTFILE_SPEC
#define STARTFILE_SPEC \
"%{!shared: %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
/* Provide a ENDFILE_SPEC appropriate for ELF. Here we tack on the
magical crtend.o file which provides part of the support for
@ -71,7 +71,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef ENDFILE_SPEC
#define ENDFILE_SPEC \
"%{!shared:crtend.o%s} %{shared:crtendS.o%s}"
"%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
/************************[ Target stuff ]***********************************/