* Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
authorJoern Rennecke <joern.rennecke@embecosm.com>
Wed, 29 Aug 2001 12:51:26 +0000 (12:51 +0000)
committerJoern Rennecke <joern.rennecke@embecosm.com>
Wed, 29 Aug 2001 12:51:26 +0000 (12:51 +0000)
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.

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

index 68a91a7bd4637684c21b06c1e535061a3ecb39e3..fc9b3238268eb8380f06b8ef07762ab5931184b9 100644 (file)
@@ -1,3 +1,13 @@
+Wed Aug 29 13:37:20 2001  J"orn Rennecke <amylaar@redhat.com>
+
+       * 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  <linus@swox.com>
            Alan Modra  <amodra@bigpond.net.au>
 
index 9b04701fa7983d968a215f10c04d25b25c24ff2c..764fc5a31875762bdda78f103d4ecec91b9148fc 100644 (file)
@@ -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)"
index 024725a487213aa1eac32014efc109bd9508e8b7..82baa3162f49c473217acb581343d6c8ef5b16d2 100644 (file)
@@ -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)"
index aa37e400e2501466e601506258cd43d9396ace0d..4eddbb45aa30123cccab5f398c5bda4cd51d766d 100644 (file)
@@ -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 (file)
index 0000000..e3024c6
--- /dev/null
@@ -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 (file)
index 0000000..3241acd
--- /dev/null
@@ -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 (file)
index 0000000..f0bd699
--- /dev/null
@@ -0,0 +1,5 @@
+SCRIPT_NAME=h8300s
+OUTPUT_FORMAT="elf32-h8300"
+TEXT_START_ADDR=0x100
+TARGET_PAGE_SIZE=128
+ARCH=h8300