]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
t-sco5 (crti.o): New target.
authorArturo Montes <mitosys@colomsat.com.co>
Sat, 27 Feb 1999 18:39:24 +0000 (13:39 -0500)
committerJeff Law <law@gcc.gnu.org>
Sat, 27 Feb 1999 18:39:24 +0000 (11:39 -0700)
        * 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

gcc/ChangeLog
gcc/config/i386/sco5.h
gcc/config/i386/t-sco5
gcc/configure
gcc/configure.in

index 0f5b4a8841632275f1d8c84a0360011c2d6f359b..c7a94b6d297772b60a54b0855515ee3f72c98967 100644 (file)
@@ -1,3 +1,11 @@
+Sat Feb 27 19:37:04 1999  Arturo Montes  <mitosys@colomsat.com.co>
+
+       * 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  <toon@moene.indiv.nluug.nl>
                          Mark Mitchell  <mark@markmitchell.com>
                          Jeffrey A Law  (law@cygnus.com)
index 62156ddec2bca5d42961204a8c024f16481b46ff..74fb891954bd68cbe157f641471d90728b9fb206 100644 (file)
@@ -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} \
index fd3d6c63b8ef7c652b3c33b84dc8c334a962a256..f602066e9959e844b5a770a7a1cc249f951b2c39 100644 (file)
@@ -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
index db856389dbeafab892c549bb287d2b98c440fe7d..5987093f27c521b585b37b1c356257fcd6b01d49 100755 (executable)
@@ -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"
index 1f3711f338feb6b478997e8c6782df59a573e52e..d840d57f618de70ff506c0df542fd6f4e33fe23e 100644 (file)
@@ -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"