summaryrefslogtreecommitdiff
path: root/lang/gcc/patches/patch-ac
blob: e55cff7c3ffcf0c0bbb065e642e8a1ecc89f2282 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ac,v 1.2 2002/01/03 20:40:42 tron Exp $

--- ../gcc-2.95.3/gcc/config/alpha/alpha.c.orig	Mon Aug  2 21:46:08 1999
+++ ../gcc-2.95.3/gcc/config/alpha/alpha.c	Thu Jan  3 20:37:53 2002
@@ -275,7 +275,7 @@
 	static int const cache_latency[][4] = 
 	{
 	  { 3, 30, -1 },	/* ev4 -- Bcache is a guess */
-	  { 2, 12, 38 },	/* ev5 -- Bcache from PC164 LMbench numbers */
+	  { 3, 12, 38 },	/* ev5 -- Bcache from PC164 LMbench numbers */
 	  { 3, 13, -1 },	/* ev6 -- Ho hum, doesn't exist yet */
 	};
 
@@ -3375,7 +3375,8 @@
 /* Write a version stamp.  Don't write anything if we are running as a
    cross-compiler.  Otherwise, use the versions in /usr/include/stamp.h.  */
 
-#ifdef HAVE_STAMP_H
+#if !defined(CROSS_COMPILE) && !defined(_WIN32) && !defined(__linux__) && \
+    !defined(VMS) && !defined(__NetBSD__)
 #include <stamp.h>
 #endif