From: cgf AT bbc DOT com (Christopher Faylor) Subject: Activate copy of cygwin dll bss/data 10 Feb 1998 14:59:04 -0800 Message-ID: Reply-To: cygwin32-developers AT cygnus DOT com To: cygwin32-developers AT cygnus DOT com This patch removes the '#if 0' around the copy of the cygwin data/bss. This also obsoletes the malloc_copy call. It also applies NO_COPY throughout the sources in places where I thought that it made sense that no time be wasted copying the data in a forked process. The ones in dcrt0.cc appear to be crucial for proper operation. If this all works correctly, the malloc_copy function should probably be removed from mallocr.c in newlib. -- patch from cgf AT bbc DOT com (Christopher Faylor) Mark statics and globals as NO_COPY where appropriate. * fork.cc (cygwin_fork_helper1): Remove #if 0 around fork_copy of cygwin data/bss. malloc_copy can then be removed as a result. begin 664 dllcopy.gz M'XL(```````"`\T;:W/:QO9S\BLV[MP$J'"0>!FH,^,X)&&*LZN#Z+`J6Z`.R[^=^&M=[!PVCT7MI!WX<>'C?MM&=Z\=I*+UY6JO5-H(_ M.0E\]!;?H$8/-3I]H]=O-9'>ZQT\K=?KZ[B>3%-,P?4&TKM]H]%O]AAX+?\' MS1:6[W AT X,OGD?G_F>I[KFZX_"U#E-G"=*N6LW=+:!XC,>8K05_@?H=>GIV,4 MX63P]!D\Q8F5N#8Z/IU?L(U5Y2/=D+*P*:ILD&38YV(%@P MS3`*YKZUY,A='X$N AT C!!.(J"""UQ'%MSG$>WFB2L-$KM!)E$JPFB?YN.E5B$ MRE_4$L AT Z,OFY3?VM\D].S>/3L]\?>QTRM`^OAP!3K4LIR^8\2[:]>J.P[M7@ M3O:M!C?T/OBZMO&@A5/7`$*[H9FXB8?-T$H6`V;T/:W9S(P>5@^$?B;<&G&/ M"5M+^'E+IYED&>.K:W`87]'>X?O3D^'AV='T_>$>7S*B+F9/%+6PIP)JL>C? M3J(H:VK#"J$*VP&AQK<"_H-YMKW!HLZL"&SR^/=WOXTF30.!*;G` M2Y%/NG3,^,T8)XGKSV/@Z^W1^&+(>1&+1>E1R04Q+OO.Q,2BE"9:SDP_VYC1 MERU5?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