1999-05-28 Martin Dorey <mdorey@madge.com>
authorIan Lance Taylor <ian@airs.com>
Thu, 27 May 1999 21:49:21 +0000 (21:49 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 27 May 1999 21:49:21 +0000 (21:49 +0000)
* configure.tgt (i960-*-elf*): New target.
* emulparams/elf32_i960.sh: New file.
* Makefile.am (ALL_EMULATIONS): Add eelf32_i960.o.
(eelf32_i960.c): New target.
* Makefile.in: Rebuild.

ld/ChangeLog
ld/Makefile.am
ld/Makefile.in
ld/configure.tgt
ld/emulparams/elf32_i960.sh [new file with mode: 0644]

index 0a8480a05b4a108f966ce46812db608c9d2f3e19..da0132de2f36b9bc5b453120056b8208b68004fe 100644 (file)
@@ -1,3 +1,11 @@
+1999-05-28  Martin Dorey  <mdorey@madge.com>
+
+       * configure.tgt (i960-*-elf*): New target.
+       * emulparams/elf32_i960.sh: New file.
+       * Makefile.am (ALL_EMULATIONS): Add eelf32_i960.o.
+       (eelf32_i960.c): New target.
+       * Makefile.in: Rebuild.
+
 1999-05-26  Nick Clifton  <nickc@cygnus.com>
 
        * emulparams/armelf_oabi.sh (TEMPLATE_NAME): Set to armelf_oabi. 
index e6ee4eaca2eb88dfd29bce971dbc359ac6cbcd33..774d770d7999a3a214817daf1c5c6c2a8affc21c 100644 (file)
@@ -117,6 +117,7 @@ ALL_EMULATIONS = \
        edelta68.o \
        eebmon29k.o \
        eelf32_sparc.o \
+       eelf32_i960.o \
        eelf32b4300.o \
        eelf32bmip.o \
        eelf32ebmip.o \
@@ -334,6 +335,9 @@ em32relf.c: $(srcdir)/emulparams/m32relf.sh \
 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
        ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
+eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
+  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
+       ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)"
 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
        ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
index a26705eb3205122d32537e8fccbf08e8670bc16b..e33634be0d32e2659982698a7d91dca4e17f3888 100644 (file)
@@ -220,6 +220,7 @@ ALL_EMULATIONS = \
        edelta68.o \
        eebmon29k.o \
        eelf32_sparc.o \
+       eelf32_i960.o \
        eelf32b4300.o \
        eelf32bmip.o \
        eelf32ebmip.o \
@@ -407,7 +408,7 @@ ldgram.c ldlex.c
 
 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
-TAR = tar
+TAR = gtar
 GZIP_ENV = --best
 SOURCES = $(ld_new_SOURCES)
 OBJECTS = $(ld_new_OBJECTS)
@@ -1033,6 +1034,9 @@ em32relf.c: $(srcdir)/emulparams/m32relf.sh \
 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
        ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
+eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
+  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
+       ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)"
 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
        ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
index a24f5827d4dd6fc088aa87b9ad253bd9cdc659df..2654dbb27a52cc9e939e0394d7757b1a5978662c 100644 (file)
@@ -59,6 +59,7 @@ i960-wrs-vxworks*)    targ_emul=gld960 ;;
 i960-*-coff)           targ_emul=gld960coff ;;
 i960-intel-nindy)      targ_emul=gld960 ;;
 i960-*-rtems*)         targ_emul=gld960coff ;;
+i960-*-elf*)           targ_emul=elf32_i960 ;;
 m32r-*-*)              targ_emul=m32relf ;;
 m68*-sun-sunos[34]*)   targ_emul=sun3 ;;
 m68*-wrs-vxworks*)     targ_emul=sun3 ;;
diff --git a/ld/emulparams/elf32_i960.sh b/ld/emulparams/elf32_i960.sh
new file mode 100644 (file)
index 0000000..10ec3fa
--- /dev/null
@@ -0,0 +1,8 @@
+SCRIPT_NAME=elf
+TEMPLATE_NAME=elf32
+OUTPUT_FORMAT="elf32-i960"
+ARCH=i960
+MACHINE=
+TEXT_START_ADDR=0
+EMBEDDED=yes
+MAXPAGESIZE=0x2000