aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sparc/netbsd-elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/sparc/netbsd-elf.h')
-rw-r--r--gcc/config/sparc/netbsd-elf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/sparc/netbsd-elf.h b/gcc/config/sparc/netbsd-elf.h
index 2261b5795ae..7e0d70d9e79 100644
--- a/gcc/config/sparc/netbsd-elf.h
+++ b/gcc/config/sparc/netbsd-elf.h
@@ -95,6 +95,9 @@ Boston, MA 02111-1307, USA. */
#undef STDC_0_IN_SYSTEM_HEADERS
+/* Attempt to enable execute permissions on the stack. */
+#define TRANSFER_FROM_TRAMPOLINE NETBSD_ENABLE_EXECUTE_STACK
+
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (%s)", TARGET_NAME);