public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* ld / gas support for i386-netbsdelf
@ 2001-07-14  6:54 matthew green
  2001-07-14  7:47 ` matthew green
  0 siblings, 1 reply; 4+ messages in thread
From: matthew green @ 2001-07-14  6:54 UTC (permalink / raw)
  To: binutils

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 ;;

^ permalink raw reply	[flat|nested] 4+ messages in thread

* re: ld / gas support for i386-netbsdelf
  2001-07-14  6:54 ld / gas support for i386-netbsdelf matthew green
@ 2001-07-14  7:47 ` matthew green
  2001-07-14  8:16   ` Philip Blundell
  0 siblings, 1 reply; 4+ messages in thread
From: matthew green @ 2001-07-14  7:47 UTC (permalink / raw)
  To: binutils

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 ;;

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ld / gas support for i386-netbsdelf
  2001-07-14  7:47 ` matthew green
@ 2001-07-14  8:16   ` Philip Blundell
  2001-07-14  8:45     ` matthew green
  0 siblings, 1 reply; 4+ messages in thread
From: Philip Blundell @ 2001-07-14  8:16 UTC (permalink / raw)
  To: matthew green; +Cc: binutils

>commited (approved by nickc.)
>
>phil, can i put these on the 2.11 branch as well (given they work)?

OK.

>   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.

p.


-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: Exmh version 2.1.1 10/15/1999 (debian)

iD8DBQE7UGJlVTLPJe9CT30RApK3AJ4ivwz6PgtssCkbTjBBzPkkM/6Q7wCfWl8G
gixQ4TfAtR+BYC1cpaPDAlA=
=fzdI
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 4+ messages in thread

* re: ld / gas support for i386-netbsdelf
  2001-07-14  8:16   ` Philip Blundell
@ 2001-07-14  8:45     ` matthew green
  0 siblings, 0 replies; 4+ messages in thread
From: matthew green @ 2001-07-14  8:45 UTC (permalink / raw)
  To: Philip Blundell; +Cc: binutils

   
   >commited (approved by nickc.)
   >
   >phil, can i put these on the 2.11 branch as well (given they work)?
   
   OK.


done, thanks!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-07-14  8:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-14  6:54 ld / gas support for i386-netbsdelf matthew green
2001-07-14  7:47 ` matthew green
2001-07-14  8:16   ` Philip Blundell
2001-07-14  8:45     ` matthew green

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).