aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-09-23 21:53:33 +0000
committerIan Lance Taylor <ian@airs.com>1993-09-23 21:53:33 +0000
commit15fff00f6e9a2d35b33cd214fbe7f7b8824dbd16 (patch)
treef02cc644bf88643dfd124adaf4b9582a5101c5bf /ld
parent67972d507660d2966fd56e6f19f7a6c680c19802 (diff)
downloadgdb-15fff00f6e9a2d35b33cd214fbe7f7b8824dbd16.zip
gdb-15fff00f6e9a2d35b33cd214fbe7f7b8824dbd16.tar.gz
gdb-15fff00f6e9a2d35b33cd214fbe7f7b8824dbd16.tar.bz2
* config/solaris2.mh: New file. Define HOSTING_CRT0 and
HOSTING_LIBS for testing.
Diffstat (limited to 'ld')
-rw-r--r--ld/config/.Sanitize1
-rw-r--r--ld/config/solaris2.mh3
2 files changed, 4 insertions, 0 deletions
diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize
index 2a0f25f..52f51ef 100644
--- a/ld/config/.Sanitize
+++ b/ld/config/.Sanitize
@@ -63,6 +63,7 @@ news.mt
ose68.mt
rtbsd.mh
sa29200.mt
+solaris2.mh
sparc64-elf.mt
sparc-ll.mh
st2000.mt
diff --git a/ld/config/solaris2.mh b/ld/config/solaris2.mh
new file mode 100644
index 0000000..831019b
--- /dev/null
+++ b/ld/config/solaris2.mh
@@ -0,0 +1,3 @@
+# Hosting files for Solaris
+HOSTING_CRT0=`if [ -f ../gcc/crt1.o ]; then echo ../gcc/crt1.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crt1.o/'; fi` `if [ -f ../gcc/crti.o ]; then echo ../gcc/crti.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crti.o/'; fi` /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; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtend.o/'; fi` `if [ -f ../gcc/crtn.o ]; then echo ../gcc/crtn.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtn.o/'; fi`