From bd7b78f76952994ec6cc55fcbc2770ad2e2eff09 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Tue, 28 Sep 1993 20:59:59 +0000 Subject: [PATCH] Lynx support --- ld/config/.Sanitize | 2 ++ ld/config/i386-lynx.mt | 2 ++ ld/config/m68k-lynx.mt | 2 ++ ld/emulparams/.Sanitize | 2 ++ ld/emulparams/i386lynx.sh | 9 +++++++++ ld/emulparams/m68klynx.sh | 5 +++++ 6 files changed, 22 insertions(+) create mode 100644 ld/config/i386-lynx.mt create mode 100644 ld/config/m68k-lynx.mt create mode 100644 ld/emulparams/i386lynx.sh create mode 100644 ld/emulparams/m68klynx.sh diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize index 52f51efdcb9..389be092a87 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 00000000000..05930b84e21 --- /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 00000000000..bbb6abfeb79 --- /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 3a44de066ad..f04835a295e 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 00000000000..d5fa0a763c7 --- /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 00000000000..254aa50aee2 --- /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 -- 2.30.2