From: Arturo Montes Date: Sat, 27 Feb 1999 18:39:24 +0000 (-0500) Subject: t-sco5 (crti.o): New target. X-Git-Tag: prereleases/egcs-1.1.2-prerelease-3~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d772098eae61b2154f2e7f3681dcd5b31ad687df;p=thirdparty%2Fgcc.git t-sco5 (crti.o): New target. * i386/t-sco5 (crti.o): New target. * i386/sco5.h (STARTFILE_SPEC): Include crti.o when linking -shared. * configure.in (i[34567]86-*-sco3.2v5*): Add crti.o. * configure: Rebuilt. From-SVN: r25484 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0f5b4a884163..c7a94b6d2977 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +Sat Feb 27 19:37:04 1999 Arturo Montes + + * i386/t-sco5 (crti.o): New target. + * i386/sco5.h (STARTFILE_SPEC): Include crti.o when + linking -shared. + * configure.in (i[34567]86-*-sco3.2v5*): Add crti.o. + * configure: Rebuilt. + Sat Feb 27 19:29:46 1999 Toon Moene Mark Mitchell Jeffrey A Law (law@cygnus.com) diff --git a/gcc/config/i386/sco5.h b/gcc/config/i386/sco5.h index 62156ddec2bc..74fb891954bd 100644 --- a/gcc/config/i386/sco5.h +++ b/gcc/config/i386/sco5.h @@ -805,7 +805,8 @@ dtors_section () \ #undef STARTFILE_SPEC #define STARTFILE_SPEC \ - "%{!shared:\ + "%{shared: %{!mcoff: crti.o%s}} \ + %{!shared:\ %{!symbolic: \ %{pg:gcrt.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}}}} \ %{ansi:values-Xc.o%s} \ diff --git a/gcc/config/i386/t-sco5 b/gcc/config/i386/t-sco5 index fd3d6c63b8ef..f602066e9959 100644 --- a/gcc/config/i386/t-sco5 +++ b/gcc/config/i386/t-sco5 @@ -14,3 +14,7 @@ MULTILIB_EXTRA_OPTS = LIBGCC=stmp-multilib INSTALL_LIBGCC=install-multilib + +crti.o: $(srcdir)/config/i386/sol2-ci.asm $(GCC_PASSES) + sed -e '/^!/d' <$(srcdir)/config/i386/sol2-ci.asm >crti.s + $(GCC_FOR_TARGET) -c -o crti.o crti.s diff --git a/gcc/configure b/gcc/configure index db856389dbea..5987093f27c5 100755 --- a/gcc/configure +++ b/gcc/configure @@ -3034,7 +3034,7 @@ for machine in $build $host $target; do else tmake_file=i386/t-sco5 fi - extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" + extra_parts="crti.o crtbegin.o crtend.o crtbeginS.o crtendS.o" ;; i[34567]86-*-sco3.2v4*) # 80386 running SCO 3.2v4 system xm_file="${xm_file} i386/xm-sco.h" diff --git a/gcc/configure.in b/gcc/configure.in index 1f3711f338fe..d840d57f618d 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -1055,7 +1055,7 @@ for machine in $build $host $target; do else tmake_file=i386/t-sco5 fi - extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" + extra_parts="crti.o crtbegin.o crtend.o crtbeginS.o crtendS.o" ;; i[[34567]]86-*-sco3.2v4*) # 80386 running SCO 3.2v4 system xm_file="${xm_file} i386/xm-sco.h"