diff options
-rw-r--r-- | ld/ChangeLog | 8 | ||||
-rw-r--r-- | ld/Makefile.am | 4 | ||||
-rw-r--r-- | ld/Makefile.in | 6 | ||||
-rw-r--r-- | ld/configure.tgt | 1 | ||||
-rw-r--r-- | ld/emulparams/elf32_i960.sh | 8 |
5 files changed, 26 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 0a8480a..da0132d 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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. diff --git a/ld/Makefile.am b/ld/Makefile.am index e6ee4ea..774d770 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -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)" diff --git a/ld/Makefile.in b/ld/Makefile.in index a26705e..e33634b 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -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)" diff --git a/ld/configure.tgt b/ld/configure.tgt index a24f582..2654dbb 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -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 index 0000000..10ec3fa --- /dev/null +++ b/ld/emulparams/elf32_i960.sh @@ -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 |