diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2001-01-13 12:34:02 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-01-13 07:34:02 -0500 |
commit | 757e6639b9513610e16cd9795148668bcb82d944 (patch) | |
tree | 5c0e24efb7b63aabd09a3c22a36caa8fb7ac34c6 /gcc/config/alpha/osf.h | |
parent | 9e7adcb3f02fed791a723af46c6bdb16b81019bb (diff) | |
download | gcc-757e6639b9513610e16cd9795148668bcb82d944.zip gcc-757e6639b9513610e16cd9795148668bcb82d944.tar.gz gcc-757e6639b9513610e16cd9795148668bcb82d944.tar.bz2 |
c-decl.c (start_function): Don't warn if old prototype is builtin that's not in C's namespace.
* c-decl.c (start_function): Don't warn if old prototype is builtin
that's not in C's namespace.
* libgcc2.c (_varargs): Update definition of __builtin_saveregs.
(_bb): Add prototype for ctime.
* config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos.
From-SVN: r38980
Diffstat (limited to 'gcc/config/alpha/osf.h')
-rw-r--r-- | gcc/config/alpha/osf.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/alpha/osf.h b/gcc/config/alpha/osf.h index 17538f6..1d1109b 100644 --- a/gcc/config/alpha/osf.h +++ b/gcc/config/alpha/osf.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler, for DEC Alpha on OSF/1. - Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998 + Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2001 Free Software Foundation, Inc. Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu) @@ -128,10 +128,13 @@ Boston, MA 02111-1307, USA. */ /* Attempt to turn on access permissions for the stack. */ #define TRANSFER_FROM_TRAMPOLINE \ +extern void __enable_execute_stack PARAMS ((void *)); \ + \ void \ __enable_execute_stack (addr) \ void *addr; \ { \ + extern int mprotect PARAMS ((const void *, size_t, int)); \ long size = getpagesize (); \ long mask = ~(size-1); \ char *page = (char *) (((long) addr) & mask); \ |