aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1993-09-28 20:59:59 +0000
committerStan Shebs <shebs@codesourcery.com>1993-09-28 20:59:59 +0000
commitbd7b78f76952994ec6cc55fcbc2770ad2e2eff09 (patch)
tree3b522471e399139ac8791c5cf136ec0b588eb14f
parent3f905ec153d3343c1731e883e954880a0ba90e0d (diff)
downloadgdb-bd7b78f76952994ec6cc55fcbc2770ad2e2eff09.zip
gdb-bd7b78f76952994ec6cc55fcbc2770ad2e2eff09.tar.gz
gdb-bd7b78f76952994ec6cc55fcbc2770ad2e2eff09.tar.bz2
Lynx support
-rw-r--r--ld/config/.Sanitize2
-rw-r--r--ld/config/i386-lynx.mt2
-rw-r--r--ld/config/m68k-lynx.mt2
-rw-r--r--ld/emulparams/.Sanitize2
-rw-r--r--ld/emulparams/i386lynx.sh9
-rw-r--r--ld/emulparams/m68klynx.sh5
6 files changed, 22 insertions, 0 deletions
diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize
index 52f51ef..389be09 100644
--- a/ld/config/.Sanitize
+++ b/ld/config/.Sanitize
@@ -43,6 +43,7 @@ i386-bsd.mt
i386-coff.mt
i386-elf.mt
i386-linux.mt
+i386-lynx.mt
i386sco.mh
i386v.mh
i386v.mt
@@ -52,6 +53,7 @@ ieee-h8300.mt
irix4.mh
m68k-coff.mt
m68k.mt
+m68k-lynx.mt
m68kv.mt
m88k-bcs.mt
mipsbsd.mt
diff --git a/ld/config/i386-lynx.mt b/ld/config/i386-lynx.mt
new file mode 100644
index 0000000..05930b8
--- /dev/null
+++ b/ld/config/i386-lynx.mt
@@ -0,0 +1,2 @@
+EMUL=i386lynx
+OTHER_EMULATIONS=em_i386lynx.o
diff --git a/ld/config/m68k-lynx.mt b/ld/config/m68k-lynx.mt
new file mode 100644
index 0000000..bbb6abf
--- /dev/null
+++ b/ld/config/m68k-lynx.mt
@@ -0,0 +1,2 @@
+EMUL=m68klynx
+OTHER_EMULATIONS=em_m68klynx.o
diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize
index 3a44de0..f04835a 100644
--- a/ld/emulparams/.Sanitize
+++ b/ld/emulparams/.Sanitize
@@ -42,8 +42,10 @@ i386aout.sh
i386bsd.sh
i386coff.sh
i386linux.sh
+i386lynx.sh
lnk960.sh
m68kcoff.sh
+m68klynx.sh
m88kbcs.sh
mipsbig.sh
mipsbsd.sh
diff --git a/ld/emulparams/i386lynx.sh b/ld/emulparams/i386lynx.sh
new file mode 100644
index 0000000..d5fa0a7
--- /dev/null
+++ b/ld/emulparams/i386lynx.sh
@@ -0,0 +1,9 @@
+SCRIPT_NAME=i386coff
+OUTPUT_FORMAT="coff-i386-lynx"
+# This is what their /lib/init1.o seems to want.
+ENTRY=_main
+# following are dubious
+PAGE_SIZE=0x1000
+TEXT_START_ADDR=0
+NONPAGED_TEXT_START_ADDR=0x1000
+ARCH=i386
diff --git a/ld/emulparams/m68klynx.sh b/ld/emulparams/m68klynx.sh
new file mode 100644
index 0000000..254aa50
--- /dev/null
+++ b/ld/emulparams/m68klynx.sh
@@ -0,0 +1,5 @@
+SCRIPT_NAME=m68kcoff
+OUTPUT_FORMAT="coff-m68k"
+TEXT_START_ADDR=0x1000000
+PAGE_SIZE=0x1000000
+ARCH=m68k