From: ktietz Date: Thu, 24 Sep 2009 19:02:44 +0000 (+0000) Subject: 2009-09-24 Kai Tietz X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=f0aa9efd491f616f56d29ec04d2b74732066f97a 2009-09-24 Kai Tietz * 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 --- 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 + + * libgcc2.c (L_trampoline): Prototype for getpagesize + and mprotect in WINNT case. + 2009-09-24 Anatoly Sokolov * 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)