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/sparc switch to ELF


Hi,

  OpenBSD/sparc moved to ELF since version 3.2. Update to reflect those
changes. Use sparcnetbsd_vec for previous versions.

  f.-

bfd/ChangeLog:
2003-06-05 Federico G. Schwindt <fgsch@lodoss.net>
	* config.bfd (sparc-*-openbsd[0-2].* | sparc-*-openbsd3.[0-1]):
	New target (was sparc-*-openbsd* before).
	(sparc-*-openbsd*): Change to use bfd_elf32_sparc_vec.

Index: config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.135
diff -u -p -r1.135 config.bfd
--- config.bfd	2 Jun 2003 19:25:51 -0000	1.135
+++ config.bfd	5 Jun 2003 23:28:12 -0000
@@ -1108,9 +1108,13 @@ case "${targ}" in
     targ_selvecs=bfd_elf32_sparc_vec
     targ_underscore=yes
     ;;
-  sparc-*-openbsd*)
+  sparc-*-openbsd[0-2].* | sparc-*-openbsd3.[0-1])
     targ_defvec=sparcnetbsd_vec
     targ_underscore=yes
+    ;;
+  sparc-*-openbsd*)
+    targ_defvec=bfd_elf32_sparc_vec
+    targ_selvecs=sparcnetbsd_vec
     ;;
   sparc-*-elf* | sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
     targ_defvec=bfd_elf32_sparc_vec


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