aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@codesourcery.com>2007-04-20 21:56:53 +0000
committerDaniel Jacobowitz <drow@gcc.gnu.org>2007-04-20 21:56:53 +0000
commit860532dff26d745f7528fa175e31f344f45f8e44 (patch)
tree1060b953a587216fdfffa522ea19663185ed539f
parent60e9352519ea5b351863a7b24dc19cafcff567ff (diff)
downloadgcc-860532dff26d745f7528fa175e31f344f45f8e44.zip
gcc-860532dff26d745f7528fa175e31f344f45f8e44.tar.gz
gcc-860532dff26d745f7528fa175e31f344f45f8e44.tar.bz2
sysv4.h (STARTFILE_DEFAULT_SPEC): Include ecrti.o and crtbegin.o.
* 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
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/rs6000/sysv4.h6
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3b86e5c..37f2c88 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
index 1aad6af..2296a69 100644
--- a/gcc/config/rs6000/sysv4.h
+++ b/gcc/config/rs6000/sysv4.h
@@ -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"