aboutsummaryrefslogtreecommitdiff
path: root/ld/config
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-05-25 22:37:41 +0000
committerIan Lance Taylor <ian@airs.com>1993-05-25 22:37:41 +0000
commit63545898381f35cfa4b0bffebe21b2fcf1621551 (patch)
treea64714a71680028567c3b94c6ab7606a23df3708 /ld/config
parentaea2312bde4a0496c0238842f36cfc8dd70b0164 (diff)
downloadgdb-63545898381f35cfa4b0bffebe21b2fcf1621551.zip
gdb-63545898381f35cfa4b0bffebe21b2fcf1621551.tar.gz
gdb-63545898381f35cfa4b0bffebe21b2fcf1621551.tar.bz2
* Makefile.in: configure looks for ####, so remove lines with many
'#' characters. * config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0 and HOSTING_LIBS correctly so that ``make check'' will work.
Diffstat (limited to 'ld/config')
-rw-r--r--ld/config/.Sanitize2
-rw-r--r--ld/config/i386v.mh4
-rw-r--r--ld/config/irix4.mh3
3 files changed, 9 insertions, 0 deletions
diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize
index 7412c2d..194fd29 100644
--- a/ld/config/.Sanitize
+++ b/ld/config/.Sanitize
@@ -40,9 +40,11 @@ hppaosf.mt
i386-aout.mt
i386-bsd.mt
i386-coff.mt
+i386v.mh
i386v.mt
i960.mt
ieee-h8300.mt
+irix4.mh
m68k-coff.mt
m68k.mt
m68kv.mt
diff --git a/ld/config/i386v.mh b/ld/config/i386v.mh
new file mode 100644
index 0000000..15207fb
--- /dev/null
+++ b/ld/config/i386v.mh
@@ -0,0 +1,4 @@
+# For testing, we want to use /lib/crt1.o and /lib/crtn.o so that
+# constructors work properly.
+HOSTING_CRT0=/lib/crt1.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 echo $(libdir)/libgcc.a; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; fi` /lib/crtn.o
diff --git a/ld/config/irix4.mh b/ld/config/irix4.mh
new file mode 100644
index 0000000..7e778a4
--- /dev/null
+++ b/ld/config/irix4.mh
@@ -0,0 +1,3 @@
+# Irix 4.0.1 does not use /lib/crt0.o
+HOSTING_CRT0=/usr/lib/crt1.o
+HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else echo $(libdir)/libgcc.a; fi` -lc /usr/lib/crtn.o