summaryrefslogtreecommitdiff
path: root/gcc/config/sol2.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/sol2.h')
-rw-r--r--gcc/config/sol2.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h
index 950472d77ac..a532d3e75d9 100644
--- a/gcc/config/sol2.h
+++ b/gcc/config/sol2.h
@@ -1,6 +1,6 @@
/* Operating system specific defines to be used when targeting GCC for any
Solaris 2 system.
- Copyright 2002 Free Software Foundation, Inc.
+ Copyright 2002, 2003 Free Software Foundation, Inc.
This file is part of GCC.
@@ -166,13 +166,9 @@ Boston, MA 02111-1307, USA. */
*
*/
-/* This declares mprotect (used in TRANSFER_FROM_TRAMPOLINE) for
- libgcc2.c. */
-/* We don't want to include this because sys/mman.h is not present on
- some non-Solaris configurations that use sol2.h. */
-#if 0 /* def L_trampoline */
-#include <sys/mman.h>
-#endif
+/* sys/mman.h is not present on some non-Solaris configurations
+ that use sol2.h, so TRANSFER_FROM_TRAMPOLINE must use a magic
+ number instead of the appropriate PROT_* flags. */
#define TRANSFER_FROM_TRAMPOLINE \
\