OSDN Git Service

bfd/
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 28 Feb 2007 10:53:18 +0000 (10:53 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Wed, 28 Feb 2007 10:53:18 +0000 (10:53 +0000)
* 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.

bfd/ChangeLog
bfd/config.bfd

index a66c0f2..d02f19a 100644 (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.
index 871fb43..8d9e9f6 100644 (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