powerpc: Fix up elf_read_implies_exec() usage
authorKumar Gala <galak@kernel.crashing.org>
Tue, 28 Apr 2009 03:32:36 +0000 (03:32 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 21 May 2009 05:44:21 +0000 (15:44 +1000)
We believe if a toolchain supports PT_GNU_STACK that it sets the proper
PHDR permissions.  Therefor elf_read_implies_exec() should only be true
if we don't see PT_GNU_STACK set.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found