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]

submission of CPU-rtems configurations



Hi,

The patch below my signature should add CPU-rtems configurations to 
binutils 2.6.  I only had the binutils 2.6 crossgcc patch and Ian's "empty 
file name" patch for gas (thanks again) installed.

If there are any problems or questions, let me know.  

<grin>  If these end up near the psos or vxworks configuration, I won't 
complain. <grin>

--joel

diff -r -c -b binutils-2.6-orig/bfd/config.bfd ../binutils-2.6/bfd/config.bfd
*** binutils-2.6-orig/bfd/config.bfd	Thu Nov 16 07:57:12 1995
--- ../binutils-2.6/bfd/config.bfd	Thu May  9 13:30:18 1996
***************
*** 122,128 ****
      targ_selvecs=i386coff_vec
      ;;
    i[345]86-*-sysv* | i[345]86-*-isc* | i[345]86-*-sco* | i[345]86-*-coff | \
!   i[345]86-*-aix* | i[345]86-*-go32*)
      targ_defvec=i386coff_vec
      ;;
    i[345]86-sequent-bsd*)
--- 122,128 ----
      targ_selvecs=i386coff_vec
      ;;
    i[345]86-*-sysv* | i[345]86-*-isc* | i[345]86-*-sco* | i[345]86-*-coff | \
!   i[345]86-*-aix* | i[345]86-*-go32* | i[345]86-*-rtems*)
      targ_defvec=i386coff_vec
      ;;
    i[345]86-sequent-bsd*)
***************
*** 201,207 ****
      targ_selvecs="b_out_vec_big_host icoff_little_vec icoff_big_vec"
      targ_underscore=yes
      ;;
!   i960-*-vxworks5.* | i960-*-coff* | i960-*-sysv*)
      targ_defvec=icoff_little_vec
      targ_selvecs="icoff_big_vec b_out_vec_little_host b_out_vec_big_host"
      targ_underscore=yes
--- 201,207 ----
      targ_selvecs="b_out_vec_big_host icoff_little_vec icoff_big_vec"
      targ_underscore=yes
      ;;
!   i960-*-vxworks5.* | i960-*-coff* | i960-*-sysv* | i960-*-rtems*)
      targ_defvec=icoff_little_vec
      targ_selvecs="icoff_big_vec b_out_vec_little_host b_out_vec_big_host"
      targ_underscore=yes
***************
*** 235,241 ****
      targ_defvec=bfd_elf32_m68k_vec
      targ_selvecs=m68kcoff_vec
      ;;
!   m68*-*-coff* | m68*-*-sysv*)
      targ_defvec=m68kcoff_vec
      targ_selvecs="m68kcoff_vec versados_vec"
      ;;
--- 235,241 ----
      targ_defvec=bfd_elf32_m68k_vec
      targ_selvecs=m68kcoff_vec
      ;;
!   m68*-*-coff* | m68*-*-sysv* | m68*-*-rtems*)
      targ_defvec=m68kcoff_vec
      targ_selvecs="m68kcoff_vec versados_vec"
      ;;
***************
*** 346,352 ****
    powerpc-*-aix*)
      targ_defvec=rs6000coff_vec
      ;;
!   powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* | powerpc-*-solaris2*)
      targ_defvec=bfd_elf32_powerpc_vec
      targ_selvecs="rs6000coff_vec bfd_elf32_powerpcle_vec bfd_powerpcle_pei_vec bfd_powerpc_pei_vec bfd_powerpcle_pe_vec bfd_powerpc_pe_vec"
      ;;
--- 346,353 ----
    powerpc-*-aix*)
      targ_defvec=rs6000coff_vec
      ;;
!   powerpc-*-elf* | powerpc-*-sysv4* | \
!   powerpc-*-eabi* | powerpc-*-solaris2* | powerpc-*-rtems*)
      targ_defvec=bfd_elf32_powerpc_vec
      targ_selvecs="rs6000coff_vec bfd_elf32_powerpcle_vec bfd_powerpcle_pei_vec bfd_powerpc_pei_vec bfd_powerpcle_pe_vec bfd_powerpc_pe_vec"
      ;;
***************
*** 404,410 ****
    sparc*-*-coff*)
      targ_defvec=sparccoff_vec
      ;;
!   sparc*-*-*)
      targ_defvec=sunos_big_vec
      targ_underscore=yes
      ;;
--- 405,411 ----
    sparc*-*-coff*)
      targ_defvec=sparccoff_vec
      ;;
!   sparc*-*-* | sparc*-*-rtems*)
      targ_defvec=sunos_big_vec
      targ_underscore=yes
      ;;
diff -r -c -b binutils-2.6-orig/config.sub ../binutils-2.6/config.sub
*** binutils-2.6-orig/config.sub	Thu Nov 16 07:56:06 1995
--- ../binutils-2.6/config.sub	Fri May  3 13:39:39 1996
***************
*** 811,817 ****
  	      | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
  	      | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix*  | -lites* \
  	      | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
! 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta | -udi | -eabi*)
  		;;
  	# CYGNUS LOCAL
  	-go32 | -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
--- 811,818 ----
  	      | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
  	      | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix*  | -lites* \
  	      | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
! 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta \
!         | -udi | -eabi* | -rtems*)
  		;;
  	# CYGNUS LOCAL
  	-go32 | -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
diff -r -c -b binutils-2.6-orig/gas/configure ../binutils-2.6/gas/configure
*** binutils-2.6-orig/gas/configure	Thu Nov 16 08:00:33 1995
--- ../binutils-2.6/gas/configure	Thu May  9 14:17:24 1996
***************
*** 700,705 ****
--- 700,707 ----
  			    fmt=coff targ=i386coff ;;
        i386-*-vsta)          fmt=aout ;;
        i386-*-go32)          fmt=coff targ=i386coff ;;
+       i386-go32-rtems)      fmt=coff targ=i386coff ;;
+       i386-*-rtems)         fmt=coff targ=i386coff ;;
        i386-*-gnu*)          fmt=elf ;;
        i386-*-mach*)
  			    fmt=aout em=mach bfd_gas=yes ;;
***************
*** 711,716 ****
--- 713,719 ----
        i960-*-bout)          fmt=bout ;;
        i960-*-coff)          fmt=coff em=ic960 targ=ic960coff ;;
        i960-*-nindy*)        fmt=bout ;;
+       i960-*-rtems*)        fmt=coff em=ic960 targ=ic960coff ;;
        i960-*-vxworks4*)     fmt=bout ;;
        i960-*-vxworks5.0)    fmt=bout ;;
        i960-*-vxworks5.*)    fmt=coff em=ic960 targ=ic960coff ;;
***************
*** 721,727 ****
        m68k-motorola-sysv*)  fmt=coff targ=m68kcoff em=delta ;;
        m68k-bull-sysv3*)     fmt=coff targ=m68kcoff em=dpx2 ;;
        m68k-apollo-*)        fmt=coff targ=apollo em=apollo ;;
!       m68k-*-coff | m68k-*-sysv*)
  			    fmt=coff targ=m68kcoff ;;
        m68k-*-elf)           fmt=elf ;;
        m68k-*-hpux*)         fmt=hp300 em=hp300 ;;
--- 724,730 ----
        m68k-motorola-sysv*)  fmt=coff targ=m68kcoff em=delta ;;
        m68k-bull-sysv3*)     fmt=coff targ=m68kcoff em=dpx2 ;;
        m68k-apollo-*)        fmt=coff targ=apollo em=apollo ;;
!       m68k-*-coff | m68k-*-sysv* | m68k-*-rtems*)
  			    fmt=coff targ=m68kcoff ;;
        m68k-*-elf)           fmt=elf ;;
        m68k-*-hpux*)         fmt=hp300 em=hp300 ;;
***************
*** 781,786 ****
--- 784,796 ----
  			    *)    targ=ppc-lit ;;
  			    esac
  			    ;;
+       ppc-*-rtems*)
+ 			    fmt=elf
+ 			    case "$endian" in
+ 			    big)  targ=ppc-big ;;
+ 			    *)    targ=ppc-lit ;;
+ 			    esac
+ 			    ;;
        ppc-*-macos* | ppc-*-mpw*)
  			    fmt=coff em=macos ;;
        ppc-*-netware*)       fmt=elf em=ppcnw ;;
***************
*** 791,796 ****
--- 801,807 ----
        ns32k-pc532-mach* | ns32k-pc532-ux*)    fmt=aout em=pc532mach ;;
        ns32k-pc532-netbsd* | ns32k-pc532-lites*)  fmt=aout em=nbsd532 ;;
  
+       sparc-*-rtems)        fmt=aout ;;
        sparc-*-sunos4*)      fmt=aout em=sun3 ;;
        sparc-*-aout | sparc*-*-vxworks)
  			    fmt=aout ;;
diff -r -c -b binutils-2.6-orig/ld/configure.tgt ../binutils-2.6/ld/configure.tgt
*** binutils-2.6-orig/ld/configure.tgt	Thu Nov 16 08:05:05 1995
--- ../binutils-2.6/ld/configure.tgt	Thu May  9 13:32:21 1996
***************
*** 24,44 ****
--- 24,48 ----
  sparc*-*-netbsd*)	targ_emul=sparcnbsd ;;
  sparc*-*-solaris2*)	targ_emul=elf32_sparc ;;
  sparc*-wrs-vxworks*)	targ_emul=sun4 ;;
+ sparc*-*-rtems*)		targ_emul=sun4 ;;
  i960-wrs-vxworks5.0*)	targ_emul=gld960 ;;
  i960-wrs-vxworks5*)	targ_emul=gld960coff ;;
  i960-wrs-vxworks*)	targ_emul=gldi960 ;;
  i960-*-coff)		targ_emul=gld960coff ;;
  i960-intel-nindy)	targ_emul=gldi960 ;;
+ i960-*-rtems)	targ_emul=gld960coff ;;
  m68*-sun-sunos[34]*)	targ_emul=sun3 ;;
  m68*-wrs-vxworks*)	targ_emul=sun3 ;;
  m68*-ericsson-ose)	targ_emul=sun3 ;;
  *-tandem-none)		targ_emul=st2000 ;;
  i[345]86-*-vsta)	targ_emul=vsta ;;
+ i[345]86-go32-rtems)	targ_emul=i386go32 ;;
  i[345]86-*-go32)	targ_emul=i386go32 ;;
  i[345]86-*-aix*)	targ_emul=i386coff ;;
  i[345]86-*-sco*)	targ_emul=i386coff ;;
  i[345]86-*-lynxos*)	targ_emul=i386lynx ;;
  i[345]86-*-coff)	targ_emul=i386coff ;;
+ i[345]86-*-rtems)	targ_emul=i386coff ;;
  i[345]86-*-bsd)		targ_emul=i386bsd ;;
  i[345]86-*-bsd386)	targ_emul=i386bsd ;;
  i[345]86-*-bsdi*)	targ_emul=i386bsd ;;
***************
*** 83,88 ****
--- 87,93 ----
  m68*-*-lynxos*)		targ_emul=m68klynx ;;
  m68*-hp*-netbsd*)	targ_emul=m68k4knbsd ;;
  m68*-*-netbsd*)		targ_emul=m68knbsd ;;
+ m68*-*-rtems)		targ_emul=m68kcoff ;;
  hppa*-*-*elf*)		targ_emul=hppaelf ;;
  hppa*-*-lites*)		targ_emul=hppaelf ;;
  vax-dec-ultrix* | vax-dec-bsd*) targ_emul=vax ;;
***************
*** 105,110 ****
--- 110,116 ----
  ns32k-pc532-mach* | ns32k-pc532-ux*)	targ_emul=pc532machaout ;;
  ns32k-pc532-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;;
  powerpc-*-elf* | powerpc-*-eabi*)	targ_emul=elf32ppc ;;
+ powerpc-*-rtems*)	targ_emul=elf32ppc ;;
  powerpcle-*-elf* | powerpcle-*-eabi*)	targ_emul=elf32lppc ;;
  powerpc-*-netware*)	targ_emul=ppcnw ;;
  powerpcle-*-pe)         targ_emul=ppcpe ;;