From b01b8bd3fb5f02f3d6efd313ea0dff12d5461a46 Mon Sep 17 00:00:00 2001 From: tsutsui Date: Wed, 13 Oct 2010 14:15:23 +0000 Subject: Disable PAX_ASLR on sh3 as well. exec_elf32 module doesn't work with it at least on dreamcast. --- sys/modules/exec_elf32/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/modules/exec_elf32') 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 -- cgit