From: Ian Lance Taylor Date: Thu, 27 May 1999 21:49:21 +0000 (+0000) Subject: 1999-05-28 Martin Dorey X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ccf812a6e0b434eec8820f46463df371e22b95f;p=binutils-gdb.git 1999-05-28 Martin Dorey * 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. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 0a8480a05b4..da0132de2f3 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +1999-05-28 Martin Dorey + + * 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 * emulparams/armelf_oabi.sh (TEMPLATE_NAME): Set to armelf_oabi. diff --git a/ld/Makefile.am b/ld/Makefile.am index e6ee4eaca2e..774d770d799 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 a26705eb320..e33634be0d3 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 a24f5827d4d..2654dbb27a5 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 00000000000..10ec3fa573b --- /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