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]

[PATCH]: OpenBSD/i386 switch to ELF


hi,

  OpenBSD/i386 switched to ELF recently. Reflect those changes.
  While I'm here, also add vax-*-openbsd* target.

  f.-

bfd/ChangeLog:

2003-06-12 Federico G. Schwindt <fgsch@lodoss.net>
	
	* config.bfd (i[3-7]86-*-openbsd[0-2].* | i[3-7]86-*-openbsd3.[0-3]):
	New target (was i[3-7]86-*-openbsd* before).
	(i[3-7]86-*-openbsd*): Change to use bfd_elf32_i386_vec.
	(vax-*-openbsd*): New target.


Index: config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.136
diff -u -p -r1.136 config.bfd
--- config.bfd	11 Jun 2003 13:34:50 -0000	1.136
+++ config.bfd	12 Jun 2003 06:05:41 -0000
@@ -454,11 +454,16 @@ case "${targ}" in
     targ_defvec=i386pe_vec
     targ_selvecs="i386pe_vec i386pei_vec bfd_elf32_i386_vec"
     ;;
-  i[3-7]86-*-netbsdaout* | i[3-7]86-*-netbsd* | i[3-7]86-*-openbsd*)
+  i[3-7]86-*-netbsdaout* | i[3-7]86-*-netbsd* | i[3-7]86-*-openbsd[0-2].* | \
+  i[3-7]86-*-openbsd3.[0-3])
     targ_defvec=i386netbsd_vec
     targ_selvecs="bfd_elf32_i386_vec i386bsd_vec"
     targ_underscore=yes
     ;;
+  i[3-7]86-*-openbsd*) 
+    targ_defvec=bfd_elf32_i386_vec
+    targ_selvecs=i386netbsd_vec
+    ;;
   i[3-7]86-*-netware*)
     targ_defvec=bfd_elf32_i386_vec
     targ_selvecs="nlm32_i386_vec i386coff_vec i386aout_vec"
@@ -1200,6 +1205,11 @@ case "${targ}" in
 
   vax-*-bsd* | vax-*-ultrix*)
     targ_defvec=vaxbsd_vec
+    targ_underscore=yes
+    ;;
+
+  vax-*-openbsd*)
+    targ_defvec=vaxnetbsd_vec
     targ_underscore=yes
     ;;
 


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