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: [rfc] a different pch/exec-shield cleanup


>         * config/host-linux.c, config/host-solaris.c: New files.

The latter file doesn't compile because of...

> +  /* Solaris isn't good about honoring the mmap START parameter
> +     without MAP_FIXED set.  Before we give up, search the desired
> +     address space with mincore to see if the space is really free.

...this unterminated comment.  Fixed thusly, applied to mainline.

After this correction, PCH is functional again on Solaris.  Thanks.


2004-03-11  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* config/host-solaris.c (sol_gt_pch_use_address): Add
	missing terminating marker to comment.


--
Eric Botcazou
Index: host-solaris.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/host-solaris.c,v
retrieving revision 1.1
diff -u -p -r1.1 host-solaris.c
--- host-solaris.c	11 Mar 2004 03:19:03 -0000	1.1
+++ host-solaris.c	11 Mar 2004 08:14:00 -0000
@@ -48,7 +48,7 @@ sol_gt_pch_use_address (void *base, size
 
   /* Solaris isn't good about honoring the mmap START parameter
      without MAP_FIXED set.  Before we give up, search the desired
-     address space with mincore to see if the space is really free.
+     address space with mincore to see if the space is really free.  */
   if (addr != base)
     {
       size_t page_size = getpagesize();

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