projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbae24b
)
(_trampoline): Add stdcall attribute to VirtualProtect on i386.
author
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 2 Jul 1997 10:38:04 +0000
(06:38 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 2 Jul 1997 10:38:04 +0000
(06:38 -0400)
From-SVN: r14371
gcc/libgcc2.c
patch
|
blob
|
history
diff --git
a/gcc/libgcc2.c
b/gcc/libgcc2.c
index f2532a3474657dbb60cec29fd5ba6a1d8caefdfc..adda3257f7ef734110b31e3cce869716e7db5ed9 100644
(file)
--- a/
gcc/libgcc2.c
+++ b/
gcc/libgcc2.c
@@
-2729,6
+2729,10
@@
long getpagesize()
#endif
}
+#ifdef i386
+extern int VirtualProtect (char *, int, int, int *) __attribute__((stdcall));
+#endif
+
int mprotect(char *addr, int len, int prot)
{
int np, op;