aboutsummaryrefslogtreecommitdiff
path: root/ld/config
diff options
context:
space:
mode:
Diffstat (limited to 'ld/config')
-rw-r--r--ld/config/coff-a29k.mt1
-rwxr-xr-xld/config/decstation.mh2
-rw-r--r--ld/config/dgux.mh9
-rw-r--r--ld/config/m88k-bcs.mt1
-rw-r--r--ld/config/rtbsd.mh7
-rw-r--r--ld/config/sparc-ll.mh8
-rwxr-xr-xld/config/sparc.mh8
-rw-r--r--ld/config/sun3.mh9
-rw-r--r--ld/config/sun4.mt1
9 files changed, 46 insertions, 0 deletions
diff --git a/ld/config/coff-a29k.mt b/ld/config/coff-a29k.mt
new file mode 100644
index 0000000..5c55415
--- /dev/null
+++ b/ld/config/coff-a29k.mt
@@ -0,0 +1 @@
+TDEFINES = -DDEFAULT_EMULATION=GLD29K_EMULATION_NAME
diff --git a/ld/config/decstation.mh b/ld/config/decstation.mh
new file mode 100755
index 0000000..4a17e63
--- /dev/null
+++ b/ld/config/decstation.mh
@@ -0,0 +1,2 @@
+HDEFINES=-DHOST_SYS=DEC3100_SYS
+YACC=yacc -vd
diff --git a/ld/config/dgux.mh b/ld/config/dgux.mh
new file mode 100644
index 0000000..9c4e9bc
--- /dev/null
+++ b/ld/config/dgux.mh
@@ -0,0 +1,9 @@
+HDEFINES = -DHOST_SYS=DGUX_SYS -D__using_DGUX
+
+CC = gcc -Wall -ansi
+YACC=yacc -tvd
+
+HOSTING_CRT0=/lib/crt0.o -X
+HOSTING_LIBS=/usr/sde/m88kbcs/lib/libc.a
+HOSTING_EMU=LDEMULATION=gldm88kbcs; export LDEMULATION
+
diff --git a/ld/config/m88k-bcs.mt b/ld/config/m88k-bcs.mt
new file mode 100644
index 0000000..94e8c66
--- /dev/null
+++ b/ld/config/m88k-bcs.mt
@@ -0,0 +1 @@
+TDEFINES = -DDEFAULT_EMULATION=GLDM88KBCS_EMULATION_NAME
diff --git a/ld/config/rtbsd.mh b/ld/config/rtbsd.mh
new file mode 100644
index 0000000..7d2ff5a
--- /dev/null
+++ b/ld/config/rtbsd.mh
@@ -0,0 +1,7 @@
+# The IBM RT/PC has only been supported as a host in a cross-development
+# environment. If you don't have gcc, I was able to get 'hc -Hnocpp -ma'
+# to compile most of the modules, but didn't try running anything.
+YACC = yacc -d
+HDEFINES = -DHOST_SYS=RTBSD_SYS -DNO_VARARGS
+LDFLAGS =
+CC=gcc # hc/pcc just can't cut it
diff --git a/ld/config/sparc-ll.mh b/ld/config/sparc-ll.mh
new file mode 100644
index 0000000..92f74ad
--- /dev/null
+++ b/ld/config/sparc-ll.mh
@@ -0,0 +1,8 @@
+HDEFINES=-DHOST_SYS=SUN4_SYS -DHOST_64_BIT="long long"
+YACC=yacc -tvd
+CC=/usr/latest/bin/gcc -Wall -ansi
+#stuff for self hosting
+HOSTING_CRT0=/lib/crt0.o
+HOSTING_LIBS=/limbo/latest/=sun4/lib/gcc/sparc/1.93/gnulib -lc
+HOSTING_EMU=LDEMULATION=gld; export LDEMULATION
+
diff --git a/ld/config/sparc.mh b/ld/config/sparc.mh
new file mode 100755
index 0000000..b53bfde
--- /dev/null
+++ b/ld/config/sparc.mh
@@ -0,0 +1,8 @@
+HDEFINES=-DHOST_SYS=SUN4_SYS
+YACC=yacc -tvd
+#CC=gcc -Wall -ansi
+#stuff for self hosting
+HOSTING_CRT0=/lib/crt0.o
+HOSTING_LIBS=/limbo/latest/=sun4/lib/gcc/sparc/1.93/gnulib -lc
+HOSTING_EMU=LDEMULATION=gld; export LDEMULATION
+
diff --git a/ld/config/sun3.mh b/ld/config/sun3.mh
new file mode 100644
index 0000000..5922ac1
--- /dev/null
+++ b/ld/config/sun3.mh
@@ -0,0 +1,9 @@
+CDEFINES=-DHOST_SYS=SUN3_SYS
+#CC=gcc -ansi -Wall
+CC=cc
+YACC=yacc -d
+
+
+HOSTING_CRT0=/usr/lib/crt0.o /usr/lib/Fcrt1.o -L/usr/lib/fsoft.o
+HOSTING_LIBS=-lc
+HOSTING_EMU=LDEMULATION=gld68k; export LDEMULATION
diff --git a/ld/config/sun4.mt b/ld/config/sun4.mt
new file mode 100644
index 0000000..d68947e
--- /dev/null
+++ b/ld/config/sun4.mt
@@ -0,0 +1 @@
+TDEFINES = -DDEFAULT_EMULATION=GLD_EMULATION_NAME