1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
$NetBSD: patch-aq,v 1.1 2000/09/15 23:58:49 tron Exp $
--- ../gcc-2.95.2/gcc/configure.in.orig Wed Oct 13 09:58:02 1999
+++ ../gcc-2.95.2/gcc/configure.in Sat Sep 16 01:07:10 2000
@@ -1156,9 +1156,20 @@
tmake_file=t-freebsd
;;
changequote(,)dnl
+ i[34567]86-*-netbsdelf* | \
+ i[34567]86-*-netbsd1.4[I-Z]* | \
+ i[34567]86-*-netbsd1.[5-9]* | \
+ i[34567]86-*-netbsd2*)
+changequote([,])dnl
+ tm_file=i386/netbsd-elf.h
+ xm_file=i386/xm-netbsd.h
+ tmake_file=t-netbsd
+ ;;
+changequote(,)dnl
i[34567]86-*-netbsd*)
changequote([,])dnl
tm_file=i386/netbsd.h
+ xm_file=i386/xm-netbsd.h
tmake_file=t-netbsd
use_collect2=yes
;;
@@ -3021,6 +3032,12 @@
tmake_file=sparc/t-sparcbare
tm_file="sparc/aout.h libgloss.h"
;;
+ sparc-*-netbsd*elf*)
+ tm_file=sparc/netbsdelf.h
+ xm_file=sparc/xm-netbsd.h
+ tmake_file=t-netbsd
+ use_collect2=yes
+ ;;
sparc-*-netbsd*)
tm_file=sparc/netbsd.h
tmake_file=t-netbsd
@@ -3216,6 +3233,12 @@
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
gnu_ld=yes
;;
+ sparc64-*-netbsd*)
+ tm_file=sparc/netbsd64.h
+ xm_file=sparc/xm-netbsd64.h
+ tmake_file=t-netbsd
+ use_collect2=yes
+ ;;
# This hasn't been upgraded to GCC 2.
# tahoe-harris-*) # Harris tahoe, using COFF.
# tm_file=tahoe/harris.h
@@ -3556,6 +3579,12 @@
enable_haifa=yes;;
esac
fi
+
+case $target in
+ alpha*|sparc64*)
+ build_xm_file="${build_xm_file} xm-target64.h"
+ host_xm_file="${host_xm_file} xm-target64.h";;
+esac
# Handle cpp installation.
if test x$enable_cpp != xno
|