aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-11-02 23:03:24 +0000
committerNick Clifton <nickc@redhat.com>2000-11-02 23:03:24 +0000
commit59ff2774bb9be2f469601edd4a9ddccc0c88685f (patch)
tree9b16f16e60b274fb20fbae596abce884a6aa80d2 /ld
parent37d8bb275baa259bc12f873cc4bf2a4f8ef81af5 (diff)
downloadgdb-59ff2774bb9be2f469601edd4a9ddccc0c88685f.zip
gdb-59ff2774bb9be2f469601edd4a9ddccc0c88685f.tar.gz
gdb-59ff2774bb9be2f469601edd4a9ddccc0c88685f.tar.bz2
Add support for *-storm-chaos target
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog7
-rw-r--r--ld/Makefile.in4
-rw-r--r--ld/configure.tgt1
-rw-r--r--ld/emulparams/elf_i386_chaos.sh10
4 files changed, 22 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 65b7468..6d3978a 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,10 @@
+2000-11-02 Per Lundberg <plundis@chaosdev.org>
+
+ * Makefile.in (e_i386_chaos.c): New rule.
+ (ALL_EMULATIONS): Added e_i386_chaos.o.
+ * emulparams/elf_i386_chaos.sh: New file.
+ * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
+
2000-10-20 Jakub Jelinek <jakub@redhat.com>
* emulparams/elf64_sparc.sh (TEXT_START_ADDR,
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 125aaf1..4bb110d 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -261,6 +261,7 @@ ALL_EMULATIONS = \
eelf32ppcsim.o \
eelf_i386.o \
eelf_i386_be.o \
+ eelf_i386_chaos.o \
egld960.o \
egld960coff.o \
eh8300.o \
@@ -1215,6 +1216,9 @@ eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)"
+eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
+ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)"
egld960.c: $(srcdir)/emulparams/gld960.sh \
$(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
${GENSCRIPTS} gld960 "$(tdir_gld960)"
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 63edf67..fad940d 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -153,6 +153,7 @@ i[3456]86-*-interix*) targ_emul=i386pe_posix;
i[3456]86-*-beospe*) targ_emul=i386beos ;;
i[3456]86-*-beos*) targ_emul=elf_i386_be ;;
i[3456]86-*-vxworks*) targ_emul=i386aout ;;
+i[3456]86-*-chaos) targ_emul=elf_i386_chaos ;;
m8*-*-*) targ_emul=m88kbcs ;;
a29k-*-udi) targ_emul=sa29200 ;;
a29k-*-ebmon) targ_emul=ebmon29k ;;
diff --git a/ld/emulparams/elf_i386_chaos.sh b/ld/emulparams/elf_i386_chaos.sh
new file mode 100644
index 0000000..32e7719
--- /dev/null
+++ b/ld/emulparams/elf_i386_chaos.sh
@@ -0,0 +1,10 @@
+SCRIPT_NAME=elf
+OUTPUT_FORMAT="elf32-i386"
+TEXT_START_ADDR=0x40000000
+MAXPAGESIZE=0x1000
+NONPAGED_TEXT_START_ADDR=0x40000000
+ARCH=i386
+MACHINE=
+NOP=0x9090
+TEMPLATE_NAME=elf32
+GENERATE_SHLIB_SCRIPT=yes