summaryrefslogtreecommitdiff
path: root/gcc/config/i386/netbsd-elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/netbsd-elf.h')
-rw-r--r--gcc/config/i386/netbsd-elf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/i386/netbsd-elf.h b/gcc/config/i386/netbsd-elf.h
index a1591f732f1..4f49bd3e84f 100644
--- a/gcc/config/i386/netbsd-elf.h
+++ b/gcc/config/i386/netbsd-elf.h
@@ -121,4 +121,7 @@ Boston, MA 02111-1307, USA. */
we don't care about compatibility with older gcc versions. */
#define DEFAULT_PCC_STRUCT_RETURN 1
+/* Attempt to enable execute permissions on the stack. */
+#define TRANSFER_FROM_TRAMPOLINE NETBSD_ENABLE_EXECUTE_STACK
+
#define TARGET_VERSION fprintf (stderr, " (NetBSD/i386 ELF)");