$OpenBSD: patch-gcc_config_gcc,v 1.1 2002/06/05 23:58:50 espie Exp $
--- gcc/config.gcc.orig	Thu May  2 23:28:49 2002
+++ gcc/config.gcc	Mon Jun  3 17:17:34 2002
@@ -576,9 +576,11 @@ alpha*-*-netbsd*)
 	;;
 
 alpha*-*-openbsd*)
+	tm_file="alpha/alpha.h alpha/elf.h alpha/openbsd1.h openbsd.h ${tm_file}"
 	# default x-alpha is only appropriate for dec-osf.
 	target_cpu_default="MASK_GAS"
 	tmake_file="alpha/t-alpha alpha/t-ieee"
+	gas=yes gnu_ld=yes
 	;;
 
 alpha*-dec-osf*)
@@ -2762,6 +2764,7 @@ romp-*-openbsd*)
 	# Nothing special
 	;;
 powerpc-*-openbsd*)
+	tm_file="rs6000/rs6000.h rs6000/openbsd1.h openbsd.h dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h ${tm_file}"
 	tmake_file="${tmake_file} rs6000/t-rs6000 rs6000/t-openbsd"
 	extra_headers=
 	;;
@@ -3086,6 +3089,13 @@ sparc-*-openbsd*)
 	tmake_file="t-libc-ok t-openbsd sparc/t-openbsd"
 	# we need collect2 until our bug is fixed...
 	use_collect2=yes
+	;;
+sparc64-*-openbsd*)
+	tm_file="sparc/openbsd1-64.h sparc/sparc.h elfos.h svr4.h sparc/sysv4.h sparc/sp64-elf.h openbsd.h sparc/openbsd64.h"
+	xm_file=sparc/xm-sp64.h
+	gas=yes gnu_ld=yes
+	with_cpu=ultrasparc
+	float_format=i128
 	;;
 sparc-*-bsd*)
 	tm_file="${tm_file} sparc/bsd.h"
