* 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.
This commit is contained in:
parent
82f3c9a358
commit
8af6dd4198
10
ld/ChangeLog
10
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>
|
||||
|
||||
|
@ -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)"
|
||||
|
@ -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)"
|
||||
|
@ -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"
|
||||
|
12
ld/emulparams/h8300elf.sh
Normal file
12
ld/emulparams/h8300elf.sh
Normal file
@ -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) }
|
||||
'
|
5
ld/emulparams/h8300helf.sh
Normal file
5
ld/emulparams/h8300helf.sh
Normal file
@ -0,0 +1,5 @@
|
||||
SCRIPT_NAME=h8300h
|
||||
OUTPUT_FORMAT="elf32-h8300"
|
||||
TEXT_START_ADDR=0x100
|
||||
TARGET_PAGE_SIZE=128
|
||||
ARCH=h8300
|
5
ld/emulparams/h8300self.sh
Normal file
5
ld/emulparams/h8300self.sh
Normal file
@ -0,0 +1,5 @@
|
||||
SCRIPT_NAME=h8300s
|
||||
OUTPUT_FORMAT="elf32-h8300"
|
||||
TEXT_START_ADDR=0x100
|
||||
TARGET_PAGE_SIZE=128
|
||||
ARCH=h8300
|
Loading…
Reference in New Issue
Block a user