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.
Diff
legacy/gcc/gcc/configure | 2 +-
legacy/gcc/gcc/config/i386/haiku.h | 4 +++-
2 files changed, 3 insertions(+), 3 deletions(-)
@@ -3588,7 +3588,7 @@
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
;;
@@ -199,10 +199,10 @@
#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"
#include "i386/perform.h"