linux-mips
[Top] [All Lists]

Re: [PATCH] Fixup personality in different ABI.

To: Heiher <admin@heiher.info>
Subject: Re: [PATCH] Fixup personality in different ABI.
From: Sergei Shtylyov <sshtylyov@mvista.com>
Date: Fri, 18 Mar 2011 13:16:48 +0300
Cc: linux-mips@linux-mips.org
In-reply-to: <AANLkTimsVcPtJHrV+UMcXAMcqDRpm3ZbbXqSuupx0Uq5@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <AANLkTimsVcPtJHrV+UMcXAMcqDRpm3ZbbXqSuupx0Uq5@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
Hello.

On 18-03-2011 7:59, Heiher wrote:

Hello,

 From bf3637153bc5e3d0e3f1c2982c323057a8e04801 Mon Sep 17 00:00:00 2001
From: Heiher<admin@heiher.info>
Date: Fri, 18 Mar 2011 12:51:08 +0800
Subject: [PATCH] Fixup personality in different ABI.

This header (and "Hello") should be omitted, or the maintainer will have to hand edit it out of the patch...

* 'arch' output:
        o32 : mips
        n32 : mips64
        64  : mips64

   You should sign off the patch (with your real name) for it to be applied.

diff --git a/arch/mips/include/asm/elf.h b/arch/mips/include/asm/elf.h
index 455c0ac..01510d4 100644
--- a/arch/mips/include/asm/elf.h
+++ b/arch/mips/include/asm/elf.h
[...]
@@ -305,7 +307,10 @@ do {                                                       
                \
        if ((ex).e_ident[EI_CLASS] == ELFCLASS32)                       \
                __SET_PERSONALITY32(ex);                                \
        else                                                            \
+       {                                                               \

   { should be on the same line with *else*.

WBR, Sergei

<Prev in Thread] Current Thread [Next in Thread>