]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/configure.in
re PR pch/9830 (PCH not working on Solaris)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Sun, 8 Jun 2003 06:41:28 +0000 (06:41 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 8 Jun 2003 06:41:28 +0000 (06:41 +0000)
commit8eb6a092cabdf4dbf91224ed32b63935a30766dd
tree88ecf2cfe1c6969a132fe87f02608ce70f8f7757
parent2236275562e5a37fa3e8d14aa65d5708d5cc0dac
re PR pch/9830 (PCH not working on Solaris)

PR pch/9830
* ggc-common.c (HAVE_MMAP_FILE): Include sys/types.h
if HAVE_MINCORE is defined.
(MAP_FAILED): Define if not defined.
(gt_pch_save): Test against MAP_FAILED.
(gt_pch_restore): If HAVE_MINCORE, use MAP_FIXED to force
the mapping address to the preferred base after checking it
is possible to do so. Test against MAP_FAILED.
* configure.in: Test for the presence of mincore in libc.
* config.in: Regenerate.
* configure: Regenerate.

From-SVN: r67614
gcc/ChangeLog
gcc/config.in
gcc/configure
gcc/configure.in
gcc/ggc-common.c