From: Jeff Bailey Date: Sat, 17 May 2014 15:05:43 +0000 (+0000) Subject: powerpc: Clear ELF personality flag if ELFv2 is not requested. X-Git-Tag: omap-for-v3.16/fixes-against-rc1~60^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1efc563865dbc3710c5af7bc1540360a6d06192c;p=pandora-kernel.git powerpc: Clear ELF personality flag if ELFv2 is not requested. powerpc: Clear ELF personality flag if ELFv2 is not requested. The POWER kernel uses a personality flag to determine whether it should be setting up function descriptors or not (per the updated ABI). This flag wasn't being cleared on a new process but instead was being inherited. The visible effect was that an ELFv2 binary could not execve to an ELFv1 binary. Signed-off-by: Jeff Bailey arch/powerpc/include/asm/elf.h | 2 ++ 1 file changed, 2 insertions(+) Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed