Let gcc2 use crtbeginS.o and crtendS.o, too.

* I doubt that this makes much of a difference, but it avoids yet
  another indirection in Haiku's build system.
This commit is contained in:
Oliver Tappe 2014-07-22 16:09:39 +02:00
parent ec31cc6bfc
commit 54883b1bb5
2 changed files with 3 additions and 3 deletions

View File

@ -199,10 +199,10 @@ Boston, MA 02111-1307, USA. */
#define LIBGCC_SPEC ""
#undef STARTFILE_SPEC
#define STARTFILE_SPEC "crti.o%s crtbegin.o%s %{!nostart: %{!shared: start_dyn.o%s}} init_term_dyn.o%s"
#define STARTFILE_SPEC "crti.o%s crtbeginS.o%s %{!nostart: %{!shared: start_dyn.o%s}} init_term_dyn.o%s"
#undef ENDFILE_SPEC
#define ENDFILE_SPEC "crtend.o%s crtn.o%s"
#define ENDFILE_SPEC "crtendS.o%s crtn.o%s"
/* Get perform_* macros to build libgcc.a. */
#include "i386/perform.h"

View File

@ -3588,7 +3588,7 @@ for machine in $build $host $target; do
tm_file=i386/haiku.h
xmake_file=i386/x-haiku
extra_objs=winnt.o
extra_parts='crtbegin.o crtend.o'
extra_parts='crtbegin.o crtbeginS.o crtend.o crtendS.o'
fixincludes=Makefile.in
float_format=i386
;;