Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
authorAlan Modra <amodra@gmail.com>
Wed, 17 Mar 2004 00:46:25 +0000 (00:46 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 17 Mar 2004 00:46:25 +0000 (00:46 +0000)
bfd/ChangeLog
bfd/config.bfd
gas/ChangeLog
gas/configure
gas/configure.in
ld/ChangeLog
ld/configure.tgt

index 1016a1b..cf6fe15 100644 (file)
@@ -1,3 +1,7 @@
+2004-03-17  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+       * config.bfd: Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff*.
+
 2004-03-16  Mark Kettenis  <kettenis@gnu.org>
 
        * netbsd-core.c (netbsd_core_file_p) [CORE_FPU_OFFSET]: Remove
index e23400e..2f9c197 100644 (file)
@@ -1090,7 +1090,12 @@ case "${targ}" in
 #endif
     targ_underscore=yes
     ;;
-  sh-*-elf* | sh[1234]*-elf* | sh-*-rtemself* | sh-*-kaos*)
+  sh-*-rtemscoff*)
+    targ_defvec=shcoff_vec
+    targ_selvecs="shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec"
+    targ_underscore=yes
+    ;;
+  sh-*-elf* | sh[1234]*-elf* | sh-*-rtems* | sh-*-kaos*)
     targ_defvec=bfd_elf32_sh_vec
     targ_selvecs="bfd_elf32_shl_vec shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec"
 #ifdef BFD64
@@ -1116,7 +1121,7 @@ case "${targ}" in
     # compiled correctly.
     targ_selvecs="$targ_selvecs shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec"
     ;;
-  sh-*-* | sh-*-rtems*)
+  sh-*-*)
     targ_defvec=shcoff_vec
     targ_selvecs="shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec"
     targ_underscore=yes
index 4089609..a0fc439 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-17  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+       * configure.in: Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff*.
+       * configure: Regenerate.
+
 2004-03-12  Bob Wilson  <bob.wilson@acm.org>
 
        * read.c (s_leb128): Call md_flush_pending_output.
index ba465c7..d663f72 100755 (executable)
@@ -4502,8 +4502,8 @@ echo "$as_me: error: Solaris must be configured little endian" >&2;}
       sh-*-coff*)                      fmt=coff ;;
       sh-*-nto*)                       fmt=elf ;;
       sh-*-pe*)                                fmt=coff em=pe bfd_gas=yes endian=little ;;
-      sh-*-rtemself*)                  fmt=elf ;;
-      sh-*-rtems*)                     fmt=coff ;;
+      sh-*-rtemscoff*)                 fmt=coff ;;
+      sh-*-rtems*)                     fmt=elf ;;
       sh-*-kaos*)                      fmt=elf ;;
       shle*-*-kaos*)                   fmt=elf ;;
       sh64-*-elf*)                     fmt=elf ;;
index 2d93594..bdcddde 100644 (file)
@@ -453,8 +453,8 @@ changequote([,])dnl
       sh-*-coff*)                      fmt=coff ;;
       sh-*-nto*)                       fmt=elf ;;
       sh-*-pe*)                                fmt=coff em=pe bfd_gas=yes endian=little ;;
-      sh-*-rtemself*)                  fmt=elf ;;
-      sh-*-rtems*)                     fmt=coff ;;
+      sh-*-rtemscoff*)                 fmt=coff ;;
+      sh-*-rtems*)                     fmt=elf ;;
       sh-*-kaos*)                      fmt=elf ;;
       shle*-*-kaos*)                   fmt=elf ;;
       sh64-*-elf*)                     fmt=elf ;;
index 37138d9..0b3407f 100644 (file)
@@ -1,3 +1,7 @@
+2004-03-17  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+       * configure.tgt: Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff*.
+
 2004-03-08  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
index d809c11..2c85431 100644 (file)
@@ -332,7 +332,8 @@ shle*-*-elf* | sh[1234]*le*-*-elf | shle*-*-kaos*)
                        targ_emul=shlelf
                        targ_extra_emuls="shelf shl sh"
                        ;;
-sh-*-elf* | sh[1234]*-*-elf | sh-*-rtemself* | sh-*-kaos* | sh-*-vxworks)
+sh-*-rtemscoff*)       targ_emul=sh; targ_extra_emuls=shl ;;
+sh-*-elf* | sh[1234]*-*-elf | sh-*-rtems* | sh-*-kaos* | sh-*-vxworks)
                        targ_emul=shelf
                        targ_extra_emuls="shlelf sh shl"
                        ;;
@@ -341,7 +342,7 @@ sh-*-nto*)          targ_emul=shelf_nto
                        ;;
 sh-*-pe)               targ_emul=shpe ;
                        targ_extra_ofiles="deffilep.o pe-dll.o" ;;
-sh-*-*|sh-*-rtems*)    targ_emul=sh; targ_extra_emuls=shl ;;
+sh-*-*)                        targ_emul=sh; targ_extra_emuls=shl ;;
 sh64le-*-elf*)
                        targ_emul=shlelf
                        targ_extra_emuls="shelf shlelf32 shelf32 shlelf64 shelf64"