summaryrefslogtreecommitdiff
path: root/cross/mipsEEel-netbsd/patches/gcc-aa
blob: 2ae66911f2871ed8d0cb9fb9439112d6895ead18 (plain)
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
$NetBSD: gcc-aa,v 1.2 2002/05/15 14:03:28 kent Exp $

--- gcc/configure.orig	Wed Apr 24 15:23:36 2002
+++ gcc/configure
@@ -2947,6 +2947,10 @@
 	sparc*-*-*)
 		cpu_type=sparc
 		;;
+	algor-*-netbsd* | arc-*-netbsd* | cobalt-*-netbsd* | hpcmips-*-netbsd* | playstation2-*-netbsd* | pmax-*-netbsd*)
+		cpu_type=mips
+		machine=mipsel-unknown-netbsd
+		;;
 	esac
 
 	tm_file=${cpu_type}/${cpu_type}.h
@@ -4682,9 +4686,19 @@
 	      fi
 	      ;;
 	mipsel-*-netbsd* | mips-dec-netbsd*)    # Decstation running NetBSD
+		xmake_file=x-netbsd
 		tm_file=mips/netbsd.h
 		# On NetBSD, the headers are already okay, except for math.h.
 		tmake_file=t-netbsd
+		;;
+	mipsEEel-*-netbsd*)			# for NetBSD/PlayStation2, incomplete!!
+		xmake_file=x-linux		# Oops
+		xm_file="xm-siglist.h ${xm_file}"
+		tmake_file="mips/t-eelinux"	# 
+                tm_file="mips/elfl.h mips/eenetbsd.h"
+		extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
+		gnu_ld=yes
+		gas=yes
 		;;
 	mipsEE*-*-linux*)		# MIPS EE w/ Linux & ELF
 		xmake_file=x-linux