We leave it at zero (though it could be 1) for old tasks. Signed-off-by: Rusty Russell <ru...@rustcorp.com.au> --- arch/powerpc/include/asm/elf.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/arch/powerpc/include/asm/elf.h b/arch/powerpc/include/asm/elf.h index 54c7445..8b89268 100644 --- a/arch/powerpc/include/asm/elf.h +++ b/arch/powerpc/include/asm/elf.h @@ -106,6 +106,8 @@ do { \ } while (0) # endif /* COMPAT */ +#define ELF_CORE_EFLAGS (is_elf2_task() ? 2 : 0) + /* * An executable for which elf_read_implies_exec() returns TRUE will * have the READ_IMPLIES_EXEC personality flag set automatically. This -- 1.8.3.2 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev