diff options
author | Matthew Green <mrg@redhat.com> | 2001-12-18 13:26:26 +0000 |
---|---|---|
committer | Matthew Green <mrg@redhat.com> | 2001-12-18 13:26:26 +0000 |
commit | 0b69cd08e03156c6fc341b354d6b80f888d3fa23 (patch) | |
tree | c6d1c2db2d2651d26af6aefbe987640d880f99a0 /ld | |
parent | 6b9b879a0267f1d994d3d4fbdcbcc2d6643498df (diff) | |
download | fsf-binutils-gdb-0b69cd08e03156c6fc341b354d6b80f888d3fa23.zip fsf-binutils-gdb-0b69cd08e03156c6fc341b354d6b80f888d3fa23.tar.gz fsf-binutils-gdb-0b69cd08e03156c6fc341b354d6b80f888d3fa23.tar.bz2 |
* config.bfd (m68*-*-netbsdelf*): New target.
(m68*-*-netbsd): Also include bfd_elf32_m68k_vec.
(m68*-*-netbsdaout*): New alias for m68*-*-netbsd.
* configure.in (m68k-*-netbsdelf*): New target.
(m68k-*-netbsd*): Also include ELF support.
(m68k-*-netbsdaout*): New alias for m68*-*-netbsd*.
* configure: Regenerate.
* Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
(m68kelfnbsd.c): New rule.
* Makefile.in: Regenerate.
* configure.tgt (m68*-hp-netbsd*): Renamed to ..
(m68*-*-netbsd*4k*): .. this.
(m68*-*-netbsdelf*): New target.
(m68*-*-netbsd*): Also include ELF support.
(m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
* emulparams/m68kelfnbsd.sh: New emulation.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 12 | ||||
-rw-r--r-- | ld/Makefile.am | 6 | ||||
-rw-r--r-- | ld/Makefile.in | 10 | ||||
-rw-r--r-- | ld/configure.tgt | 9 | ||||
-rw-r--r-- | ld/emulparams/m68kelfnbsd.sh | 4 |
5 files changed, 37 insertions, 4 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index c4f9443..5aa90ae 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,15 @@ +2001-12-18 matthew green <mrg@eterna.com.au> + + * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o. + (m68kelfnbsd.c): New rule. + * Makefile.in: Regenerate. + * configure.tgt (m68*-hp-netbsd*): Renamed to .. + (m68*-*-netbsd*4k*): .. this. + (m68*-*-netbsdelf*): New target. + (m68*-*-netbsd*): Also include ELF support. + (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*. + * emulparams/m68kelfnbsd.sh: New emulation. + 2001-12-18 Jakub Jelinek <jakub@redhat.com> * ldgram.y (vers_node): Support anonymous version tags. diff --git a/ld/Makefile.am b/ld/Makefile.am index 5b936ad..4f1a06a 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -207,6 +207,7 @@ ALL_EMULATIONS = \ em68kaux.o \ em68kcoff.o \ em68kelf.o \ + em68kelfnbsd.o \ em68klinux.o \ em68klynx.o \ em68knbsd.o \ @@ -727,6 +728,11 @@ em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)" +em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \ + $(srcdir)/emulparams/m68kelf.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \ + $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)" em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \ $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)" diff --git a/ld/Makefile.in b/ld/Makefile.in index e1d90b6..4f93e14 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -316,6 +316,7 @@ ALL_EMULATIONS = \ em68kaux.o \ em68kcoff.o \ em68kelf.o \ + em68kelfnbsd.o \ em68klinux.o \ em68klynx.o \ em68knbsd.o \ @@ -489,7 +490,7 @@ deffilep.c ldgram.c ldlex.c DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar +TAR = tar GZIP_ENV = --best SOURCES = $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES) OBJECTS = $(ld_new_OBJECTS) @@ -1259,7 +1260,7 @@ eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)" eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \ - $(srcdir)/emulparams/elf64alpha_nbsd.sh \ + $(srcdir)/emulparams/elf64alpha.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)" eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \ @@ -1448,6 +1449,11 @@ em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)" +em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \ + $(srcdir)/emulparams/m68kelf.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \ + $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)" em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \ $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)" diff --git a/ld/configure.tgt b/ld/configure.tgt index 29c69e1..f24cf72 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -263,8 +263,13 @@ m68k-*-linux-gnu*) targ_emul=m68kelf ;; m68*-*-gnu*) targ_emul=m68kelf ;; m68*-*-lynxos*) targ_emul=m68klynx ;; -m68*-hp*-netbsd*) targ_emul=m68k4knbsd ;; -m68*-*-netbsd*) targ_emul=m68knbsd ;; +m68*-*-netbsd*4k*) targ_emul=m68k4knbsd + targ_extra_emuls="m68knbsd m68kelfnbsd" ;; +m68*-*-netbsdelf*) targ_emul=m68kelfnbsd + targ_extra_emuls="m68knbsd m68k4knbsd" ;; +m68*-*-netbsdaout* | m68*-*-netbsd*) + targ_emul=m68knbsd + targ_extra_emuls="m68kelfnbsd m68k4knbsd" ;; m68*-*-psos*) targ_emul=m68kpsos ;; m68*-*-rtemscoff*) targ_emul=m68kcoff ;; m68*-*-rtems*) targ_emul=m68kelf ;; diff --git a/ld/emulparams/m68kelfnbsd.sh b/ld/emulparams/m68kelfnbsd.sh new file mode 100644 index 0000000..69e328d --- /dev/null +++ b/ld/emulparams/m68kelfnbsd.sh @@ -0,0 +1,4 @@ +. ${srcdir}/emulparams/m68kelf.sh +TEXT_START_ADDR=0x2000 +TARGET_PAGE_SIZE=0x2000 +MACHINE= |