summaryrefslogtreecommitdiff
path: root/lang/ghc/patches/patch-at
blob: c9900227e58da4d84c67b24d8d5127c3c58ccf06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-at,v 1.1 2004/01/10 19:31:25 kristerw Exp $

--- ghc/compiler/main/DriverFlags.hc.orig	Thu Jan  8 05:37:44 2004
+++ ghc/compiler/main/DriverFlags.hc	Thu Jan  8 05:39:45 2004
@@ -12134,7 +12134,11 @@
 SET_HDR_(Hp-2,(P_)&stg_CAF_BLACKHOLE_info,0,0);
 UPD_CAF(R1.p,Hp-2);
 PUSH_UPD_FRAME(Hp-2,0);
+#if __GNUC__ <= 2
 R1.a="-fno-builtin";
+#else
+R1.a="-fno-zero-initialized-in-bss";
+#endif
 Sp=Sp-3;
 JMP_(GHCziBase_unpackCStringzh_fast1);
 FE_