summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/libgcc2.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bc7a023cfd8..09b6a199469 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-24 Kai Tietz <kai.tietz@onevision.com>
+
+ * libgcc2.c (L_trampoline): Prototype for getpagesize
+ and mprotect in WINNT case.
+
2009-09-24 Anatoly Sokolov <aesok@post.ru>
* config/rs6000/rs6000.h (FUNCTION_VALUE): Remove macro.
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index 4097d3eefb0..d6816d0b6e8 100644
--- a/gcc/libgcc2.c
+++ b/gcc/libgcc2.c
@@ -2049,6 +2049,8 @@ __enable_execute_stack (void *addr __attribute__((__unused__)))
/* Jump to a trampoline, loading the static chain address. */
#if defined(WINNT) && ! defined(__CYGWIN__)
+int getpagesize (void);
+int mprotect (char *,int, int);
int
getpagesize (void)