summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-24 19:02:44 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-24 19:02:44 +0000
commitf0aa9efd491f616f56d29ec04d2b74732066f97a (patch)
tree8ee4ba8f443043e4685e6a8dfdbe0ee7e943985e
parent20eb4d9ad8c8d614a76b5044586fd1ad8e253124 (diff)
downloadgcc-f0aa9efd491f616f56d29ec04d2b74732066f97a.tar.gz
2009-09-24 Kai Tietz <kai.tietz@onevision.com>
* libgcc2.c (L_trampoline): Prototype for getpagesize and mprotect in WINNT case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152139 138bc75d-0d04-0410-961f-82ee72b054a4
-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)