diff options
author | rearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-20 12:53:23 +0000 |
---|---|---|
committer | rearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-20 12:53:23 +0000 |
commit | d3b95fd70872ea49c54e076cc0c11ab5f8683b40 (patch) | |
tree | dcfd3e2782b40201f5d73674a7c1f33144abefcc | |
parent | 9256aeff4573c4b28450b31ae76277016c886a5c (diff) | |
download | gcc-d3b95fd70872ea49c54e076cc0c11ab5f8683b40.tar.gz |
* gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30102 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/ggc-page.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 76ca2b9c837..38dd245f442 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -6,6 +6,8 @@ Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com) block records so that merge_blocks_nomove will clean up correctly. (split_edge): Handle casesi insns. + * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS. + Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com) * pa.md (call, call_value): Do not emit a blockage after restoring diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c index 24a8e2de2ad..54f762f9533 100644 --- a/gcc/ggc-page.c +++ b/gcc/ggc-page.c @@ -35,6 +35,9 @@ #define MAP_FAILED -1 #endif +#if !defined (MAP_ANONYMOUS) && defined (MAP_ANON) +#define MAP_ANONYMOUS MAP_ANON +#endif /* Stategy: |