* config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza.

	gas/
	* configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.

	ld/
	* Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
	(eshelf_uclinux.c): New target.
	* Makefile.in: Rebuilt.
	* configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
	* emulparams/shelf_uclinux.sh: New.
This commit is contained in:
Nathan Sidwell 2007-02-28 10:53:19 +00:00
parent 870074ddae
commit ed6ba29825
8 changed files with 36 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
* config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza.
2007-02-27 Alan Modra <amodra@bigpond.net.au>
* elf32-spu.h (struct _ovl_stream): Make "start" and "end" const.

View File

@ -1193,6 +1193,14 @@ case "${targ}" in
targ_selvecs=bfd_elf32_shblin_vec
;;
sh-*-uclinux* | sh[12]-*-uclinux*)
targ_defvec=bfd_elf32_sh_vec
targ_selvecs="bfd_elf32_shblin_vec bfd_elf32_shlin_vec"
#ifdef BFD64
targ_selvecs="${targ_selvecs} bfd_elf32_sh64lin_vec bfd_elf32_sh64blin_vec bfd_elf64_sh64lin_vec bfd_elf64_sh64blin_vec"
#endif
;;
#ifdef BFD64
sh5le-*-netbsd*)
targ_defvec=bfd_elf32_sh64lnbsd_vec

View File

@ -1,3 +1,7 @@
2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
* configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.
2007-02-28 Nick Clifton <nickc@redhat.com>
PR gas/2623

View File

@ -337,7 +337,7 @@ case ${generic_target} in
sh64*-*-netbsd*) fmt=elf em=nbsd ;;
sh*-*-netbsdelf*) fmt=elf em=nbsd ;;
sh*-*-symbianelf*) fmt=elf endian=little ;;
sh-*-elf*) fmt=elf ;;
sh-*-elf* | sh-*-uclinux* | sh[12]-*-uclinux*) fmt=elf ;;
sh-*-coff*) fmt=coff ;;
sh-*-nto*) fmt=elf ;;
sh-*-pe*) fmt=coff em=pe bfd_gas=yes endian=little ;;

View File

@ -1,3 +1,11 @@
2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
* Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
(eshelf_uclinux.c): New target.
* Makefile.in: Rebuilt.
* configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
* emulparams/shelf_uclinux.sh: New.
2007-02-28 Alan Modra <amodra@bigpond.net.au>
* configure.tgt: Fix type last change.

View File

@ -364,6 +364,7 @@ ALL_EMULATIONS = \
eshlelf_nbsd.o \
eshelf_nto.o \
eshlelf_nto.o \
eshelf_uclinux.o \
eshelf_vxworks.o \
eshlelf_vxworks.o \
eshl.o \
@ -1559,6 +1560,9 @@ eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
$(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
${GEN_DEPENDS}
${GENSCRIPTS} shlelf_vxworks "$(tdir_shlelf_vxworks)"
eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
${GENSCRIPTS} shelf_uclinux "$(tdir_shelf_uclinux)"
eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
$(srcdir)/emulparams/shelf.sh \
$(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}

View File

@ -596,6 +596,7 @@ ALL_EMULATIONS = \
eshlelf_nbsd.o \
eshelf_nto.o \
eshlelf_nto.o \
eshelf_uclinux.o \
eshelf_vxworks.o \
eshlelf_vxworks.o \
eshl.o \
@ -2370,6 +2371,9 @@ eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
$(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
${GEN_DEPENDS}
${GENSCRIPTS} shlelf_vxworks "$(tdir_shlelf_vxworks)"
eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
${GENSCRIPTS} shelf_uclinux "$(tdir_shelf_uclinux)"
eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
$(srcdir)/emulparams/shelf.sh \
$(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}

View File

@ -511,6 +511,9 @@ sh-*-rtemscoff*) targ_emul=sh; targ_extra_emuls=shl ;;
sh-*-elf* | sh[1234]*-*-elf | sh-*-rtems* | sh-*-kaos*)
targ_emul=shelf
targ_extra_emuls="shlelf sh shl" ;;
sh-*-uclinux* | sh[12]-*-uclinux*)
targ_emul=shelf_uclinux
targ_extra_emuls="shelf shlelf sh shl" ;;
sh-*-vxworks) targ_emul=shelf_vxworks
targ_extra_emuls=shlelf_vxworks ;;
sh-*-nto*) targ_emul=shelf_nto