dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/image pecoff_loader.c,1.17,1.18


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/image pecoff_loader.c,1.17,1.18
Date: Thu, 28 Aug 2003 03:41:13 -0400

Update of /cvsroot/dotgnu-pnet/pnet/image
In directory subversions:/tmp/cvs-serv23052/image

Modified Files:
        pecoff_loader.c 
Log Message:


Disable in-place execution when the binary image has been compressed.


Index: pecoff_loader.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/image/pecoff_loader.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** pecoff_loader.c     28 Aug 2003 07:10:13 -0000      1.17
--- pecoff_loader.c     28 Aug 2003 07:41:11 -0000      1.18
***************
*** 459,462 ****
--- 459,465 ----
                flags |= IL_LOADFLAG_NO_MAP;
  
+               /* Disable in-place execution */
+               flags &= ~IL_LOADFLAG_IN_PLACE;
+ 
                /* Re-read the magic number bytes from the uncompressed data */
                if((*(ctx->readFunc))(ctx, buffer, 2) != 2)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]