From: Joern Rennecke Date: Wed, 29 Aug 2001 12:51:26 +0000 (+0000) Subject: * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and X-Git-Tag: cygnus_cvs_20020108_pre~1514 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8af6dd4198a8080a315f366331648137a19cdd19;p=external%2Fbinutils.git * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and eh8300self.o . (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets. * configure.tgt (h8300-*-elf*): New case. * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files. * emulparams/h8300self.sh: New file. * Makefile.in: Regenerated. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 68a91a7..fc9b323 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,13 @@ +Wed Aug 29 13:37:20 2001 J"orn Rennecke + + * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and + eh8300self.o . + (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets. + * configure.tgt (h8300-*-elf*): New case. + * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files. + * emulparams/h8300self.sh: New file. + * Makefile.in: Regenerated. + 2001-08-27 Linus Nordberg Alan Modra diff --git a/ld/Makefile.am b/ld/Makefile.am index 9b04701..764fc5a 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -171,6 +171,9 @@ ALL_EMULATIONS = \ eh8300.o \ eh8300h.o \ eh8300s.o \ + eh8300elf.o \ + eh8300helf.o \ + eh8300self.o \ eh8500.o \ eh8500b.o \ eh8500c.o \ @@ -573,6 +576,15 @@ eh8300h.c: $(srcdir)/emulparams/h8300h.sh \ eh8300s.c: $(srcdir)/emulparams/h8300s.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS} ${GENSCRIPTS} h8300s "$(tdir_h8300s)" +eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)" +eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} h8300helf "$(tdir_h8300helf)" +eh8300self.c: $(srcdir)/emulparams/h8300self.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} h8300self "$(tdir_h8300self)" eh8500.c: $(srcdir)/emulparams/h8500.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS} ${GENSCRIPTS} h8500 "$(tdir_h8500)" diff --git a/ld/Makefile.in b/ld/Makefile.in index 024725a..82baa31 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -279,6 +279,9 @@ ALL_EMULATIONS = \ eh8300.o \ eh8300h.o \ eh8300s.o \ + eh8300elf.o \ + eh8300helf.o \ + eh8300self.o \ eh8500.o \ eh8500b.o \ eh8500c.o \ @@ -478,7 +481,7 @@ deffilep.c ldgram.c ldlex.c DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = tar +TAR = gtar GZIP_ENV = --best SOURCES = $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES) OBJECTS = $(ld_new_OBJECTS) @@ -1287,6 +1290,15 @@ eh8300h.c: $(srcdir)/emulparams/h8300h.sh \ eh8300s.c: $(srcdir)/emulparams/h8300s.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS} ${GENSCRIPTS} h8300s "$(tdir_h8300s)" +eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)" +eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} h8300helf "$(tdir_h8300helf)" +eh8300self.c: $(srcdir)/emulparams/h8300self.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} h8300self "$(tdir_h8300self)" eh8500.c: $(srcdir)/emulparams/h8500.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS} ${GENSCRIPTS} h8500 "$(tdir_h8500)" diff --git a/ld/configure.tgt b/ld/configure.tgt index aa37e40..4eddbb4 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -217,6 +217,10 @@ xscale-*-elf) targ_emul=armelf ;; h8300-*-hms* | h8300-*-coff* | h8300-*-rtems*) targ_emul=h8300; targ_extra_emuls="h8300h h8300s" ;; +h8300-*-elf*) + targ_emul=h8300elf; + targ_extra_emuls="h8300helf h8300self" + ;; h8500-*-hms* | h8500-*-coff*) targ_emul=h8500 targ_extra_emuls="h8500s h8500b h8500m h8500c" diff --git a/ld/emulparams/h8300elf.sh b/ld/emulparams/h8300elf.sh new file mode 100644 index 0000000..e3024c6 --- /dev/null +++ b/ld/emulparams/h8300elf.sh @@ -0,0 +1,12 @@ +SCRIPT_NAME=elf +OUTPUT_FORMAT="elf32-h8300" +TEXT_START_ADDR=0x100 +MAXPAGESIZE=2 +TARGET_PAGE_SIZE=128 +ARCH=h8300 +TEMPLATE_NAME=elf32 +EMBEDDED=yes + +OTHER_RELOCATING_SECTIONS=' +.stack 0xfefc : { _stack = .; *(.stack) } +' diff --git a/ld/emulparams/h8300helf.sh b/ld/emulparams/h8300helf.sh new file mode 100644 index 0000000..3241acd --- /dev/null +++ b/ld/emulparams/h8300helf.sh @@ -0,0 +1,5 @@ +SCRIPT_NAME=h8300h +OUTPUT_FORMAT="elf32-h8300" +TEXT_START_ADDR=0x100 +TARGET_PAGE_SIZE=128 +ARCH=h8300 diff --git a/ld/emulparams/h8300self.sh b/ld/emulparams/h8300self.sh new file mode 100644 index 0000000..f0bd699 --- /dev/null +++ b/ld/emulparams/h8300self.sh @@ -0,0 +1,5 @@ +SCRIPT_NAME=h8300s +OUTPUT_FORMAT="elf32-h8300" +TEXT_START_ADDR=0x100 +TARGET_PAGE_SIZE=128 +ARCH=h8300