summaryrefslogtreecommitdiffstats
path: root/gcc/config/netbsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/netbsd.h')
-rw-r--r--gcc/config/netbsd.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h
index 40adf1a381d..aad3cac9430 100644
--- a/gcc/config/netbsd.h
+++ b/gcc/config/netbsd.h
@@ -178,7 +178,7 @@ Boston, MA 02111-1307, USA. */
/* Attempt to turn on execute permission for the stack. This may be
- used by TRANSFER_FROM_TRAMPOLINE of the target needs it (that is,
+ used by INITIALIZE_TRAMPOLINE of the target needs it (that is,
if the target machine can change execute permissions on a page).
There is no way to query the execute permission of the stack, so
@@ -193,8 +193,7 @@ Boston, MA 02111-1307, USA. */
#define NETBSD_ENABLE_EXECUTE_STACK \
extern void __enable_execute_stack (void *); \
void \
-__enable_execute_stack (addr) \
- void *addr; \
+__enable_execute_stack (void *addr) \
{ \
extern int mprotect (void *, size_t, int); \
extern int __sysctl (int *, unsigned int, void *, size_t *, \
OpenPOWER on IntegriCloud