This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Revised^2 precompiled header support for cygwin


> From: Christopher Faylor 
>
> Before anyone jumps the gun and approves this patch, please let me
> discuss the use of mmap with the cygwin mmap maintainer.  I've never
> liked the requirement of going to the windows api that was in this
> and the previous implementation and I'm verifying if there is some
> other way to do this.
> 

We could just do the same as host-mingw32.c, and hard code the value.

/* Granularity for reserving address space.  */
static const size_t va_granularity = 0x10000;

/* Granularity for reserving address space.  */
static size_t mingw32_gt_pch_alloc_granularity (void)
{
  return va_granularity;
}


NOTICE
This e-mail and any attachments are private and confidential and may contain privileged information. If you are not an authorised recipient, the copying or distribution of this e-mail and any attachments is prohibited and you must not read, print or act in reliance on this e-mail or attachments.
This notice should not be removed.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]