libgcc2.c (L_trampoline): Prototype for getpagesize and mprotect in WINNT case.

2009-09-24  Kai Tietz  <kai.tietz@onevision.com>

	* libgcc2.c (L_trampoline): Prototype for getpagesize
	and mprotect in WINNT case.

From-SVN: r152139
This commit is contained in:
Kai Tietz 2009-09-24 19:02:44 +00:00 committed by Kai Tietz
parent 3faa6313d1
commit 0a38153f2e
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -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)