linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Michael Ellerman <mpe@ellerman.id.au>
To: "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com>,
	linuxppc-dev@ozlabs.org
Subject: Re: [v4] powerpc: Define and use PPC64_ELF_ABI_v2/v1
Date: Wed, 15 Jun 2016 22:39:16 +1000 (AEST)	[thread overview]
Message-ID: <3rV5g81hqHz9t1q@ozlabs.org> (raw)
In-Reply-To: <1465232170-16822-1-git-send-email-naveen.n.rao@linux.vnet.ibm.com>

On Mon, 2016-06-06 at 16:56:10 UTC, "Naveen N. Rao" wrote:
> From: Michael Ellerman <mpe@ellerman.id.au>
> 
> We're approaching 20 locations where we need to check for ELF ABI v2.
> That's fine, except the logic is a bit awkward, because we have to check
> that _CALL_ELF is defined and then what its value is.
> 
> So check it once in asm/types.h and define PPC64_ELF_ABI_v2 when ELF ABI
> v2 is detected.
> 
> We also have a few places where what we're really trying to check is
> that we are using the 64-bit v1 ABI, ie. function descriptors. So also
> add a #define for that, which simplifies several checks.
> 
> Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

Applied to powerpc next.

https://git.kernel.org/powerpc/c/f55d966536034d33476fdd43c4

cheers

      reply	other threads:[~2016-06-15 12:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-06  5:39 [PATCH v3] powerpc: Define and use PPC64_ELF_ABI_v2/v1 Michael Ellerman
2016-06-06 16:56 ` [PATCH v4] " Naveen N. Rao
2016-06-15 12:39   ` Michael Ellerman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3rV5g81hqHz9t1q@ozlabs.org \
    --to=mpe@ellerman.id.au \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=naveen.n.rao@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).