public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mjw@redhat.com>
To: elfutils-devel@lists.fedorahosted.org
Subject: Re: [PATCH] sparc: restore 32-bit build.
Date: Fri, 26 Feb 2016 20:49:30 +0100	[thread overview]
Message-ID: <1456516170.7770.184.camel@redhat.com> (raw)
In-Reply-To: 1456511430-15543-1-git-send-email-jose.marchesi@oracle.com

[-- Attachment #1: Type: text/plain, Size: 775 bytes --]

On Fri, 2016-02-26 at 10:30 -0800, Jose E. Marchesi wrote:
> This patch provides a dummy sparc_set_initial_registers-tid for
> sparc32.  This fixes the build in sparcv9-*-* targets.
[...]
> diff --git a/backends/sparc_initreg.c b/backends/sparc_initreg.c
> index c2a9b32..c4b321c 100644
> --- a/backends/sparc_initreg.c
> +++ b/backends/sparc_initreg.c
> @@ -45,7 +45,7 @@ EBLHOOK (set_initial_registers_tid) (pid_t tid __attribute__ ((unused)),
>                                       ebl_tid_registers_t *setfunc __attribute__ ((unused)),
>                                       void *arg __attribute__ ((unused)))
>  {
> -#ifndef __sparc__
> +#if !defined(__sparc__) || !defined( __arch64__)
>    return false;
>  #else /* __sparc__ */

Really __arch64__?

             reply	other threads:[~2016-02-26 19:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-26 19:49 Mark Wielaard [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-02-26 21:17 Jose E. Marchesi
2016-02-26 20:06 Mark Wielaard
2016-02-26 18:30 Jose E. Marchesi

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=1456516170.7770.184.camel@redhat.com \
    --to=mjw@redhat.com \
    --cc=elfutils-devel@lists.fedorahosted.org \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).