This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
re: ld / gas support for i386-netbsdelf
- To: binutils at sources dot redhat dot com
- subject: re: ld / gas support for i386-netbsdelf
- From: matthew green <mrg at cygnus dot com>
- Date: Sun, 15 Jul 2001 00:47:38 +1000
- organisation: Red Hat, Inc.
commited (approved by nickc.)
phil, can i put these on the 2.11 branch as well (given they work)?
hi folks.
here's a couple of configury patches to enable the i386 elf support for
netbsd (already done in bfd & gdb.) it needs gas/configure to be
re-generated as well.
OK to commit?
.mrg.
ld/ChangeLog:
2001-07-14 matthew green <mrg@eterna.com.au>
* configure.tgt (i386-*-netbsdelf*): New target.
(i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
gas/ChangeLog:
2001-07-14 matthew green <mrg@eterna.com.au>
* configure.in (i386-*-netbsdelf*): New target.
configure: Regenerate.
Index: ld/configure.tgt
===================================================================
RCS file: /cvs/src/src/ld/configure.tgt,v
retrieving revision 1.46
diff -p -r1.46 configure.tgt
*** configure.tgt 2001/02/15 17:18:35 1.46
--- configure.tgt 2001/07/14 13:48:25
*************** i[3456]86-*-sysv[45]*) targ_emul=elf_i38
*** 136,142 ****
i[3456]86-*-solaris2*) targ_emul=elf_i386 ;;
i[3456]86-*-unixware) targ_emul=elf_i386 ;;
i[3456]86-*-solaris*) targ_emul=elf_i386 ;;
! i[3456]86-*-netbsd*) targ_emul=i386nbsd ;;
i[3456]86-*-netware) targ_emul=i386nw ;;
i[3456]86-*-elf*) targ_emul=elf_i386 ;;
i[3456]86-*-freebsdaout* | i[3456]86-*-freebsd[12].* | i[3456]86-*-freebsd[12])
--- 136,147 ----
i[3456]86-*-solaris2*) targ_emul=elf_i386 ;;
i[3456]86-*-unixware) targ_emul=elf_i386 ;;
i[3456]86-*-solaris*) targ_emul=elf_i386 ;;
! i[3456]86-*-netbsdelf*) targ_emul=elf_i386
! targ_extra_emuls=i386nbsd
! ;;
! i[3456]86-*-netbsd*) targ_emul=i386nbsd
! targ_extra_emuls=elf_i386
! ;;
i[3456]86-*-netware) targ_emul=i386nw ;;
i[3456]86-*-elf*) targ_emul=elf_i386 ;;
i[3456]86-*-freebsdaout* | i[3456]86-*-freebsd[12].* | i[3456]86-*-freebsd[12])
Index: gas/configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.57
diff -p -r1.57 configure.in
*** configure.in 2001/02/10 22:25:10 1.57
--- configure.in 2001/07/14 13:48:29
*************** changequote([,])dnl
*** 236,241 ****
--- 236,242 ----
i386-*-beoself* | i386-*-beos*) fmt=elf bfd_gas=yes ;;
i386-*-bsd*) fmt=aout em=386bsd ;;
i386-*-netbsd0.8) fmt=aout em=386bsd ;;
+ i386-*-netbsdelf*) fmt=elf em=nbsd bfd_gas=yes ;;
i386-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes;;
i386-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes;;
i386-*-linux*aout* | i386-*-linuxoldld) fmt=aout em=linux ;;