sysv4.h (STARTFILE_DEFAULT_SPEC): Include ecrti.o and crtbegin.o.
authorDaniel Jacobowitz <dan@codesourcery.com>
Fri, 20 Apr 2007 21:56:53 +0000 (21:56 +0000)
committerDaniel Jacobowitz <drow@gcc.gnu.org>
Fri, 20 Apr 2007 21:56:53 +0000 (21:56 +0000)
* config/rs6000/sysv4.h (STARTFILE_DEFAULT_SPEC): Include
ecrti.o and crtbegin.o.
(LIB_DEFAULT_SPEC): Include -lc.
(ENDFILE_DEFAULT_SPEC): Include crtend.o and ecrtn.o.

From-SVN: r124006

gcc/ChangeLog
gcc/config/rs6000/sysv4.h

index 3b86e5ca5dc2d840097c14f3de2328305496c3af..37f2c887038021477797df39cd600f67d2216a98 100644 (file)
@@ -1,3 +1,10 @@
+2007-04-20  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config/rs6000/sysv4.h (STARTFILE_DEFAULT_SPEC): Include
+       ecrti.o and crtbegin.o.
+       (LIB_DEFAULT_SPEC): Include -lc.
+       (ENDFILE_DEFAULT_SPEC): Include crtend.o and ecrtn.o.
+
 2007-04-20  Richard Henderson  <rth@redhat.com>
 
        PR target/28623
index 1aad6afe6d72c7d1b6cd6069af8ea32dafa66f3d..2296a696d117b6481be73f1c5c1f11df1e58e8c3 100644 (file)
@@ -756,7 +756,7 @@ extern int fixuplabelno;
   mcall-openbsd: %(startfile_openbsd)     ; \
                : %(startfile_default)     }"
 
-#define        STARTFILE_DEFAULT_SPEC ""
+#define        STARTFILE_DEFAULT_SPEC "ecrti.o%s crtbegin.o%s"
 
 /* Override svr4.h definition.  */
 #undef LIB_SPEC
@@ -773,7 +773,7 @@ extern int fixuplabelno;
   mcall-openbsd: %(lib_openbsd)     ; \
                : %(lib_default)     }"
 
-#define LIB_DEFAULT_SPEC ""
+#define LIB_DEFAULT_SPEC "-lc"
 
 /* Override svr4.h definition.  */
 #undef ENDFILE_SPEC
@@ -792,7 +792,7 @@ extern int fixuplabelno;
 
 #define CRTSAVRES_DEFAULT_SPEC "crtsavres.o%s"
 
-#define        ENDFILE_DEFAULT_SPEC ""
+#define        ENDFILE_DEFAULT_SPEC "crtend.o%s ecrtn.o%s"
 
 /* Motorola ADS support.  */
 #define LIB_ADS_SPEC "--start-group -lads -lc --end-group"