From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joel Sherrill To: gas2@cygnus.com Subject: sh-rtems switched to coff Date: Mon, 23 Mar 1998 06:19:00 -0000 Message-id: X-SW-Source: 1998/msg00067.html Hi, The person who ported RTEMS to the Hitachi SH used coff not elf. So I am switching the port back to coff. Mon Mar 23 08:05:55 CST 1998 Joel Sherrill (joel@OARcorp.com) * bfd/config.bfd (sh*-*-rtems*): Switched from ELF to COFF. * gas/configure: Likewise. * ld/configure.tgt: Likewise. * configure: Likewise. diff -N -P -r -c binutils-2.8.1.orig/bfd/config.bfd binutils-2.8.1/bfd/config.bfd *** binutils-2.8.1.orig/bfd/config.bfd Mon May 26 12:34:00 1997 --- binutils-2.8.1/bfd/config.bfd Sat Mar 21 10:17:22 1998 *************** *** 456,462 **** targ_selvecs="bfd_elf32_shl_vec shcoff_vec shlcoff_vec" targ_underscore=yes ;; ! sh-*-*) targ_defvec=shcoff_vec targ_selvecs="shcoff_vec shlcoff_vec" targ_underscore=yes --- 456,462 ---- targ_selvecs="bfd_elf32_shl_vec shcoff_vec shlcoff_vec" targ_underscore=yes ;; ! sh-*-* | sh-*-rtems*) targ_defvec=shcoff_vec targ_selvecs="shcoff_vec shlcoff_vec" targ_underscore=yes diff -N -P -r -c binutils-2.8.1.orig/gas/configure binutils-2.8.1/gas/configure *** binutils-2.8.1.orig/gas/configure Mon May 26 12:32:47 1997 --- binutils-2.8.1/gas/configure Sat Mar 21 10:17:29 1998 *************** *** 938,943 **** --- 938,944 ---- sh-*-elf*) fmt=elf ;; sh-*-coff*) fmt=coff ;; + sh-*-rtems*) fmt=coff ;; ns32k-pc532-mach* | ns32k-pc532-ux*) fmt=aout em=pc532mach ;; ns32k-pc532-netbsd* | ns32k-pc532-lites*) fmt=aout em=nbsd532 ;; diff -N -P -r -c binutils-2.8.1.orig/gas/configure.in binutils-2.8.1/gas/configure.in *** binutils-2.8.1.orig/gas/configure.in Mon May 26 12:32:47 1997 --- binutils-2.8.1/gas/configure.in Sat Mar 21 10:17:34 1998 *************** *** 281,286 **** --- 281,287 ---- sh-*-elf*) fmt=elf ;; sh-*-coff*) fmt=coff ;; + sh-*-rtems*) fmt=coff ;; ns32k-pc532-mach* | ns32k-pc532-ux*) fmt=aout em=pc532mach ;; ns32k-pc532-netbsd* | ns32k-pc532-lites*) fmt=aout em=nbsd532 ;; diff -N -P -r -c binutils-2.8.1.orig/ld/configure.tgt binutils-2.8.1/ld/configure.tgt *** binutils-2.8.1.orig/ld/configure.tgt Mon May 26 12:34:49 1997 --- binutils-2.8.1/ld/configure.tgt Sat Mar 21 10:17:55 1998 *************** *** 102,108 **** sh-*-elf*) targ_emul=shelf targ_extra_emuls="shlelf sh shl" ;; ! sh-*-*) targ_emul=sh; targ_extra_emuls=shl ;; m68k-sony-*) targ_emul=news ;; m68k-hp-bsd*) targ_emul=hp300bsd ;; m68*-motorola-sysv*) targ_emul=delta68 ;; --- 102,108 ---- sh-*-elf*) targ_emul=shelf targ_extra_emuls="shlelf sh shl" ;; ! sh-*-*|sh-*-rtems*) targ_emul=sh; targ_extra_emuls=shl ;; m68k-sony-*) targ_emul=news ;; m68k-hp-bsd*) targ_emul=hp300bsd ;; m68*-motorola-sysv*) targ_emul=delta68 ;;