diff options
author | thorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-18 23:10:35 +0000 |
---|---|---|
committer | thorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-18 23:10:35 +0000 |
commit | f54087fb1442ddc57cc531f96a4b3c06896ea8b9 (patch) | |
tree | c90e88bc94e69040ae166ca3c496a688057eb58c /gcc/config/i386/netbsd.h | |
parent | 54113cf5f2279484cda6ad3cae6ae5e3e340c0ea (diff) | |
download | gcc-f54087fb1442ddc57cc531f96a4b3c06896ea8b9.tar.gz |
* config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define
__enable_execute_stack function.
* config/alpha/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Define
as NETBSD_ENABLE_EXECUTE_STACK.
* config/i386/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
* config/i386/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
* config/i386/netbsd64.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
* config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
* config/sparc/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58292 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/netbsd.h')
-rw-r--r-- | gcc/config/i386/netbsd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/i386/netbsd.h b/gcc/config/i386/netbsd.h index ab0af773bd1..45ae893595e 100644 --- a/gcc/config/i386/netbsd.h +++ b/gcc/config/i386/netbsd.h @@ -67,3 +67,6 @@ prefix is added. */ #undef GOT_SYMBOL_NAME #define GOT_SYMBOL_NAME "GLOBAL_OFFSET_TABLE_" + +/* Attempt to enable execute permissions on the stack. */ +#define TRANSFER_FROM_TRAMPOLINE NETBSD_ENABLE_EXECUTE_STACK |