diff options
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/config.bfd | 8 | ||||
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/configure.tgt | 2 | ||||
-rw-r--r-- | ld/ChangeLog | 8 | ||||
-rw-r--r-- | ld/Makefile.am | 4 | ||||
-rw-r--r-- | ld/Makefile.in | 4 | ||||
-rw-r--r-- | ld/configure.tgt | 3 |
8 files changed, 36 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a66c0f26..d02f19a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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. diff --git a/bfd/config.bfd b/bfd/config.bfd index 871fb43..8d9e9f6 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -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 diff --git a/gas/ChangeLog b/gas/ChangeLog index df1cafd..da2051c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/configure.tgt b/gas/configure.tgt index 783379f..e5081d0 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -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 ;; diff --git a/ld/ChangeLog b/ld/ChangeLog index ee7ec87..4ed6dc8 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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. diff --git a/ld/Makefile.am b/ld/Makefile.am index 767a9ca..0dcbf85 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -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} diff --git a/ld/Makefile.in b/ld/Makefile.in index e0e79f5..d32c529 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -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} diff --git a/ld/configure.tgt b/ld/configure.tgt index ba09a42..bd3b525 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -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 |