diff options
author | Joern Rennecke <joern.rennecke@embecosm.com> | 2001-08-29 12:51:26 +0000 |
---|---|---|
committer | Joern Rennecke <joern.rennecke@embecosm.com> | 2001-08-29 12:51:26 +0000 |
commit | 8af6dd4198a8080a315f366331648137a19cdd19 (patch) | |
tree | 390d3646fc9d9d732badaec7619d27352f46ecd4 | |
parent | 82f3c9a358a2d488eae8eb73bd776b4584dd7f5b (diff) | |
download | gdb-8af6dd4198a8080a315f366331648137a19cdd19.zip gdb-8af6dd4198a8080a315f366331648137a19cdd19.tar.gz gdb-8af6dd4198a8080a315f366331648137a19cdd19.tar.bz2 |
* 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.
-rw-r--r-- | ld/ChangeLog | 10 | ||||
-rw-r--r-- | ld/Makefile.am | 12 | ||||
-rw-r--r-- | ld/Makefile.in | 14 | ||||
-rw-r--r-- | ld/configure.tgt | 4 | ||||
-rw-r--r-- | ld/emulparams/h8300elf.sh | 12 | ||||
-rw-r--r-- | ld/emulparams/h8300helf.sh | 5 | ||||
-rw-r--r-- | ld/emulparams/h8300self.sh | 5 |
7 files changed, 61 insertions, 1 deletions
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 <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> 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 |