Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.

This commit is contained in:
Alan Modra 2004-03-17 00:46:25 +00:00
parent 3248c32522
commit 9183ed4b1b
7 changed files with 27 additions and 8 deletions

View 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

View 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

View 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.

4
gas/configure vendored
View file

@ -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 ;;

View 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 ;;

View 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

View 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"