This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

rtems-mips configuration



Now that the mips port of rtems to the 4650 has been submitted (YEAH!!!), 
I can submit the following patch which adds the rtems-mips configuration:

Mon Sep  9 15:57:57 CDT 1996  Joel Sherrill <joel@OARcorp.com>

        * bfd/config.bfd (mips64orion-*-rtems*): New target.
        * gas/configure (mips64orion-*-rtems*): New target.
        * ld/configure.tgt (mips64orion-*-rtems*): New target.

diff -r -c orig/binutils-2.7/bfd/config.bfd binutils-2.7/bfd/config.bfd
*** orig/binutils-2.7/bfd/config.bfd	Thu Jul  4 11:30:46 1996
--- binutils-2.7/bfd/config.bfd	Fri Sep  6 13:17:33 1996
***************
*** 365,371 ****
      targ_defvec=bfd_elf32_littlemips_vec
      targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
      ;;
!   mips*-*-elf*)
      targ_defvec=bfd_elf32_bigmips_vec
      targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
      ;;
--- 365,371 ----
      targ_defvec=bfd_elf32_littlemips_vec
      targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
      ;;
!   mips*-*-elf* | mips*-*-rtems)
      targ_defvec=bfd_elf32_bigmips_vec
      targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
      ;;
diff -r -c orig/binutils-2.7/gas/configure binutils-2.7/gas/configure
*** orig/binutils-2.7/gas/configure	Thu Jul  4 11:34:32 1996
--- binutils-2.7/gas/configure	Fri Sep  6 13:23:09 1996
***************
*** 860,866 ****
        mips-*-irix*)         fmt=ecoff targ=mips-big ;;
        mips-*-riscos*)       fmt=ecoff targ=mips-big ;;
        mips-*-sysv*)         fmt=ecoff targ=mips-big ;;
!       mips-*-elf*)          fmt=elf 
  			    case "$endian" in
  			    big) targ=mips-big ;;
  			    *)   targ=mips-lit ;;
--- 860,867 ----
        mips-*-irix*)         fmt=ecoff targ=mips-big ;;
        mips-*-riscos*)       fmt=ecoff targ=mips-big ;;
        mips-*-sysv*)         fmt=ecoff targ=mips-big ;;
!       mips-*-elf* | mips-*-rtems*)
!                             fmt=elf 
  			    case "$endian" in
  			    big) targ=mips-big ;;
  			    *)   targ=mips-lit ;;
diff -r -c orig/binutils-2.7/ld/configure.tgt binutils-2.7/ld/configure.tgt
*** orig/binutils-2.7/ld/configure.tgt	Tue Jul  9 11:07:33 1996
--- binutils-2.7/ld/configure.tgt	Fri Sep  6 13:20:14 1996
***************
*** 125,130 ****
--- 125,131 ----
  mips*vr4100-*-elf*)	targ_emul=elf32b4300 ;;
  mips*el-*-elf*)		targ_emul=elf32elmip ;;
  mips*-*-elf*)		targ_emul=elf32ebmip ;;
+ mips*-*-rtems*)		targ_emul=elf32ebmip ;;
  alpha-*-linuxecoff*)	targ_emul=alpha targ_extra_emuls=elf64alpha
  			tdir_elf64alpha=`echo ${targ_alias} | sed -e 's/ecoff//'`
  			;;