diff options
author | Nick Clifton <nickc@redhat.com> | 2003-04-24 12:36:08 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-04-24 12:36:08 +0000 |
commit | 8d9cd6b19b78f2a0cd3df40b52b13062e72e41b7 (patch) | |
tree | 7365e9cbf12a723bac858168edc1d1d7a47feeca /ld | |
parent | 5ce8663f498b9305547763395c33260f19cda41c (diff) | |
download | gdb-8d9cd6b19b78f2a0cd3df40b52b13062e72e41b7.zip gdb-8d9cd6b19b78f2a0cd3df40b52b13062e72e41b7.tar.gz gdb-8d9cd6b19b78f2a0cd3df40b52b13062e72e41b7.tar.bz2 |
Add support for h8300hn and h8300sn
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 13 | ||||
-rw-r--r-- | ld/Makefile.am | 18 | ||||
-rw-r--r-- | ld/Makefile.in | 18 | ||||
-rwxr-xr-x | ld/configure | 2 | ||||
-rw-r--r-- | ld/configure.tgt | 4 | ||||
-rw-r--r-- | ld/scripttempl/h8300.sc | 7 |
6 files changed, 59 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 1bbbc66..b215a37 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,16 @@ +2003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com> + + * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o, + eh8300hnelf.o, eh8300snelf.o and respective rules. + * Makefile.in: Regenerate. + * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf + * emulparams/h8300hn.sh: New + * emulparams/h8300sn.sh: New + * emulparams/h8300hnelf.sh: New + * emulparams/h8300snelf.sh: New + * scripttempl/h8300hn.sc: new + * scripttempl/h8300sn.sc: new + 2003-04-23 H.J. Lu <hjl@gnu.org> * ldmain.c (link_callbacks): Initialize error_handler. diff --git a/ld/Makefile.am b/ld/Makefile.am index 6e35d38..1cee856 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -196,8 +196,12 @@ ALL_EMULATIONS = \ eh8300h.o \ eh8300s.o \ eh8300elf.o \ + eh8300hn.o \ + eh8300sn.o \ eh8300helf.o \ eh8300self.o \ + eh8300hnelf.o \ + eh8300snelf.o \ eh8500.o \ eh8500b.o \ eh8500c.o \ @@ -821,6 +825,12 @@ 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)" +eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS} + ${GENSCRIPTS} h8300hn "$(tdir_h8300hn)" +eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS} + ${GENSCRIPTS} h8300sn "$(tdir_h8300sn)" eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)" @@ -832,6 +842,14 @@ eh8300self.c: $(srcdir)/emulparams/h8300self.sh \ $(srcdir)/emulparams/h8300elf.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} h8300self "$(tdir_h8300self)" +eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \ + $(srcdir)/emulparams/h8300elf.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} h8300hnelf "$(tdir_h8300hnelf)" +eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \ + $(srcdir)/emulparams/h8300elf.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} h8300snelf "$(tdir_h8300snelf)" 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 dc226af..cb2e2a4 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -310,8 +310,12 @@ ALL_EMULATIONS = \ eh8300h.o \ eh8300s.o \ eh8300elf.o \ + eh8300hn.o \ + eh8300sn.o \ eh8300helf.o \ eh8300self.o \ + eh8300hnelf.o \ + eh8300snelf.o \ eh8500.o \ eh8500b.o \ eh8500c.o \ @@ -1547,6 +1551,12 @@ 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)" +eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS} + ${GENSCRIPTS} h8300hn "$(tdir_h8300hn)" +eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS} + ${GENSCRIPTS} h8300sn "$(tdir_h8300sn)" eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)" @@ -1558,6 +1568,14 @@ eh8300self.c: $(srcdir)/emulparams/h8300self.sh \ $(srcdir)/emulparams/h8300elf.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} h8300self "$(tdir_h8300self)" +eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \ + $(srcdir)/emulparams/h8300elf.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} h8300hnelf "$(tdir_h8300hnelf)" +eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \ + $(srcdir)/emulparams/h8300elf.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} h8300snelf "$(tdir_h8300snelf)" 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 b/ld/configure index b43c76c..410f9c2 100755 --- a/ld/configure +++ b/ld/configure @@ -1580,7 +1580,7 @@ irix5* | irix6*) # This must be Linux ELF. linux-gnu*) case $host_cpu in - alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* ) + alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* ) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM diff --git a/ld/configure.tgt b/ld/configure.tgt index 8a14561..66f2f5e 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -261,11 +261,11 @@ thumb-*-pe) targ_emul=armpe ; xscale-*-coff) targ_emul=armcoff ;; xscale-*-elf) targ_emul=armelf ;; h8300-*-hms* | h8300-*-coff* | h8300-*-rtems*) - targ_emul=h8300; targ_extra_emuls="h8300h h8300s" + targ_emul=h8300; targ_extra_emuls="h8300h h8300s h8300hn h8300sn" ;; h8300-*-elf*) targ_emul=h8300elf; - targ_extra_emuls="h8300helf h8300self" + targ_extra_emuls="h8300helf h8300self h8300hnelf h8300snelf" ;; h8500-*-hms* | h8500-*-coff* | h8500-*-rtems*) targ_emul=h8500 diff --git a/ld/scripttempl/h8300.sc b/ld/scripttempl/h8300.sc index f9120ba..1fdf30c 100644 --- a/ld/scripttempl/h8300.sc +++ b/ld/scripttempl/h8300.sc @@ -38,10 +38,16 @@ SECTIONS *(.vectors) } ${RELOCATING+ > vectors} +.init : + { + *(.init) + } ${RELOCATING+ > ram} + .text : { *(.rodata) *(.text) + *(.text.*) *(.strings) ${RELOCATING+ _etext = . ; } } ${RELOCATING+ > ram} @@ -51,6 +57,7 @@ ${CONSTRUCTING+${TORS}} .data : { *(.data) + *(.data.*) *(.tiny) ${RELOCATING+ _edata = . ; } } ${RELOCATING+ > ram} |