From d656ff84fff4f65eadcbb387cad9f5f0a4e9309a Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 17 Mar 2004 00:46:25 +0000 Subject: [PATCH] Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. --- bfd/ChangeLog | 4 ++++ bfd/config.bfd | 9 +++++++-- gas/ChangeLog | 5 +++++ gas/configure | 4 ++-- gas/configure.in | 4 ++-- ld/ChangeLog | 4 ++++ ld/configure.tgt | 5 +++-- 7 files changed, 27 insertions(+), 8 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 1016a1b20..cf6fe1504 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2004-03-17 Ralf Corsepius + + * config.bfd: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. + 2004-03-16 Mark Kettenis * netbsd-core.c (netbsd_core_file_p) [CORE_FPU_OFFSET]: Remove diff --git a/bfd/config.bfd b/bfd/config.bfd index e23400e1d..2f9c197a9 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 4089609f5..a0fc439f5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2004-03-17 Ralf Corsepius + + * configure.in: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. + * configure: Regenerate. + 2004-03-12 Bob Wilson * read.c (s_leb128): Call md_flush_pending_output. diff --git a/gas/configure b/gas/configure index ba465c7f9..d663f7295 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 2d93594d8..bdcddde1d 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 37138d939..0b3407f7c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2004-03-17 Ralf Corsepius + + * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. + 2004-03-08 Danny Smith * pe-dll.c (pe_dll_generate_implib): Skip sections marked as diff --git a/ld/configure.tgt b/ld/configure.tgt index d809c1149..2c85431ad 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" -- 2.11.4.GIT