This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Add i386-netbsd-gnu target


Hi Guys,

  I am applying the patch below on behalf of Robert Millan.  Its adds
  an i386-netbsd-gnu target.

Cheers
        Nick

bfd/ChangeLog
2003-06-13  Robert Millan  <zeratul2@wanadoo.es>

	* config.bfd: Add i386-netbsd-gnu target.

gas/ChangeLog
2003-06-13  Robert Millan  <zeratul2@wanadoo.es>

	* configure.in: Add i386-netbsd-gnu target.
	* configure: Regenerate.

ld/ChangeLog
2003-06-13  Robert Millan  <zeratul2@wanadoo.es>

	* configure.tgt: Add i386-netbsd-gnu target.

Index: bfd/config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.137
diff -c -3 -p -r1.137 config.bfd
*** bfd/config.bfd	12 Jun 2003 07:21:50 -0000	1.137
--- bfd/config.bfd	13 Jun 2003 13:13:44 -0000
*************** case "${targ}" in
*** 446,452 ****
  	targ_cflags=-DOLD_FREEBSD_ABI_LABEL ;;
      esac
      ;;
!   i[3-7]86-*-netbsdelf*) 
      targ_defvec=bfd_elf32_i386_vec
      targ_selvecs=i386netbsd_vec
      ;;
--- 446,452 ----
  	targ_cflags=-DOLD_FREEBSD_ABI_LABEL ;;
      esac
      ;;
!   i[3-7]86-*-netbsdelf* | i[3-7]86-*-netbsd*-gnu*)
      targ_defvec=bfd_elf32_i386_vec
      targ_selvecs=i386netbsd_vec
      ;;
Index: gas/configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.132
diff -c -3 -p -r1.132 configure.in
*** gas/configure.in	29 May 2003 18:17:55 -0000	1.132
--- gas/configure.in	13 Jun 2003 13:13:51 -0000
*************** changequote([,])dnl
*** 253,258 ****
--- 253,259 ----
        i386-*-bsd*)			fmt=aout em=386bsd ;;
        i386-*-netbsd0.8)			fmt=aout em=386bsd ;;
        i386-*-netbsdpe*)			fmt=coff em=pe ;;
+       i386-*-netbsd*-gnu*)		fmt=elf em=nbsd ;;
        i386-*-netbsdelf*)		fmt=elf em=nbsd ;;
        i386-*-*n*bsd*)	case ${cpu} in
  			    x86_64)	fmt=elf em=nbsd ;;
Index: ld/configure.tgt
===================================================================
RCS file: /cvs/src/src/ld/configure.tgt,v
retrieving revision 1.131
diff -c -3 -p -r1.131 configure.tgt
*** ld/configure.tgt	12 Jun 2003 05:48:06 -0000	1.131
--- ld/configure.tgt	13 Jun 2003 13:13:55 -0000
*************** i[3-7]86-*-unixware)	targ_emul=elf_i386 
*** 166,172 ****
  i[3-7]86-*-solaris*)	targ_emul=elf_i386_ldso
                          targ_extra_emuls="elf_i386"
                          ;;
! i[3-7]86-*-netbsdelf*)	targ_emul=elf_i386
  			targ_extra_emuls=i386nbsd
  			;;
  i[3-7]86-*-netbsdpe*)	targ_emul=i386pe
--- 166,173 ----
  i[3-7]86-*-solaris*)	targ_emul=elf_i386_ldso
                          targ_extra_emuls="elf_i386"
                          ;;
! i[3-7]86-*-netbsdelf* | i[3-7]86-*-netbsd*-gnu*)
! 			targ_emul=elf_i386
  			targ_extra_emuls=i386nbsd
  			;;
  i[3-7]86-*-netbsdpe*)	targ_emul=i386pe


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