[PATCH] DG/UX STARTFILE_SPEC

Eric Raskin ehr@listworks.com
Thu Jun 10 08:54:00 GMT 1999


Re-submitted patch to make sure to call [cd]tors when building
shared library objects on DG/UX.

1999-06-10 Eric Raskin (ehr@listworks.com)

	* dgux.h: Fix STARTFILE_SPEC to always include crti.o

--- egcs-19990608-orig/gcc/config/i386/dgux.h   Fri Apr 16 15:52:42 1999
+++ egcs-19990608/gcc/config/i386/dgux.h        Wed Jun  9 17:17:58 1999
@@ -207,8 +209,8 @@ Boston, MA 02111-1307, USA.  */
 #undef STARTFILE_SPEC
 #define STARTFILE_SPEC "%{!shared:%{!symbolic:%{pg:gcrt1.o%s}          \
                                              %{!pg:%{p:/lib/mcrt1.o%s} \
-                                             %{!p:/lib/crt1.o%s}}}     \
-                       %{pg:gcrti.o%s}%{!pg:/lib/crti.o%s}}            \
+                                             %{!p:/lib/crt1.o%s}}}}    \
+                       %{pg:gcrti.o%s}%{!pg:/lib/crti.o%s}             \
                        crtbegin.o%s                                    \
                        %{ansi:/lib/values-Xc.o%s}                      \
                        %{!ansi:%{traditional:/lib/values-Xt.o%s}       \


------------------------------------------------------------------------
Eric H. Raskin                            Voice: 914-769-7100 x321
President, CSC Division                   Fax:    914-769-8070
The Listworks Corp.                       E-Mail: ehr@listworks.com
1 Campus Drive
Pleasantville, NY 10570



More information about the Gcc-patches mailing list