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: r152138
This commit is contained in:
Kai Tietz 2009-09-24 19:00:44 +00:00 committed by Kai Tietz
parent 44f68928b4
commit ea2218b44b
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 Alan Modra <amodra@bigpond.net.au>
PR target/40473

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)