aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-04-26 16:42:52 +0000
committerIan Lance Taylor <ian@airs.com>1994-04-26 16:42:52 +0000
commitcde73501070130c57a352d07b9021a8fb0fa3227 (patch)
tree9d190d3e5ecfde23f8fd9ac1c6a1e2ede7e2a0b4
parent497c179acb2bec186eebcb2db6945ab1e74095a1 (diff)
downloadgdb-cde73501070130c57a352d07b9021a8fb0fa3227.zip
gdb-cde73501070130c57a352d07b9021a8fb0fa3227.tar.gz
gdb-cde73501070130c57a352d07b9021a8fb0fa3227.tar.bz2
* config/i386v4.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not
exist, get crtbegin based on gcc -print-libgcc-file-name. (HOSTING_LIBS): Similar change for ../gcc/crtend.o.
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/config/i386v4.mh4
2 files changed, 8 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index b0dc85b..9554081 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+Tue Apr 26 12:41:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
+
+ * config/i386v4.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not
+ exist, get crtbegin based on gcc -print-libgcc-file-name.
+ (HOSTING_LIBS): Similar change for ../gcc/crtend.o.
+
Mon Apr 25 15:27:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* ldlang.c (lang_size_sections): When no address is given for a
diff --git a/ld/config/i386v4.mh b/ld/config/i386v4.mh
index 5d0c549..7a36f9c 100644
--- a/ld/config/i386v4.mh
+++ b/ld/config/i386v4.mh
@@ -1,3 +1,3 @@
-HOSTING_CRT0=/usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xa.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; fi`
-HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; fi` /usr/ccs/lib/crtn.o
+HOSTING_CRT0=/usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xa.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtbegin.o/'; fi`
+HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtend.o/'; fi` /usr/ccs/lib/crtn.o
NATIVE_LIB_DIRS=/usr/ccs/lib