aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-03-17 00:46:25 +0000
committerAlan Modra <amodra@gmail.com>2004-03-17 00:46:25 +0000
commit9183ed4b1b25521437abef7e14cf29ee71311538 (patch)
treea76101c02ccff3c31327a918fc730833ed59b605
parent3248c325226a9137bbeacce72d7a379798ee69b9 (diff)
downloadgdb-9183ed4b1b25521437abef7e14cf29ee71311538.zip
gdb-9183ed4b1b25521437abef7e14cf29ee71311538.tar.gz
gdb-9183ed4b1b25521437abef7e14cf29ee71311538.tar.bz2
Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/config.bfd9
-rw-r--r--gas/ChangeLog5
-rwxr-xr-xgas/configure4
-rw-r--r--gas/configure.in4
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/configure.tgt5
7 files changed, 27 insertions, 8 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 1016a1b..cf6fe15 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/config.bfd b/bfd/config.bfd
index e23400e..2f9c197 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -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
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 4089609..a0fc439 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/configure b/gas/configure
index ba465c7..d663f72 100755
--- a/gas/configure
+++ b/gas/configure
@@ -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 ;;
diff --git a/gas/configure.in b/gas/configure.in
index 2d93594..bdcddde 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -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 ;;
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 37138d9..0b3407f 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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
diff --git a/ld/configure.tgt b/ld/configure.tgt
index d809c11..2c85431 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -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"