summaryrefslogtreecommitdiff
path: root/sys/modules/exec_elf32
diff options
context:
space:
mode:
authortsutsui <tsutsui@NetBSD.org>2010-10-13 14:15:23 +0000
committertsutsui <tsutsui@NetBSD.org>2010-10-13 14:15:23 +0000
commitb01b8bd3fb5f02f3d6efd313ea0dff12d5461a46 (patch)
treee4e4a098a1a9a4dd00496d9cb09bde7d62aecebc /sys/modules/exec_elf32
parent6b1a1449bc5dfef7a0b277a7ccbff9777a43cbf9 (diff)
Disable PAX_ASLR on sh3 as well. exec_elf32 module doesn't work with it
at least on dreamcast.
Diffstat (limited to 'sys/modules/exec_elf32')
-rw-r--r--sys/modules/exec_elf32/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/modules/exec_elf32/Makefile b/sys/modules/exec_elf32/Makefile
index d7a87a9fde4..76410404baf 100644
--- a/sys/modules/exec_elf32/Makefile
+++ b/sys/modules/exec_elf32/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/09/17 23:07:12 jnemeth Exp $
+# $NetBSD: Makefile,v 1.3 2010/10/13 14:15:23 tsutsui Exp $
.include "../Makefile.inc"
@@ -11,6 +11,8 @@ CPPFLAGS+= -DEXEC_ELF32 -DCOREDUMP
${MACHINE_ARCH} != "m68k" && \
${MACHINE_ARCH} != "powerpc" && \
${MACHINE_ARCH} != "powerpc64" && \
+ ${MACHINE_ARCH} != "sh3eb" && \
+ ${MACHINE_ARCH} != "sh3el" && \
${MACHINE_ARCH} != "sparc" && \
${MACHINE_ARCH} != "sparc64"
CPPFLAGS+= -DPAX_ASLR