unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Vladimir Isaev via Libc-alpha <libc-alpha@sourceware.org>
Cc: Cupertino Miranda <Cupertino.Miranda@synopsys.com>,
	Vineet Gupta <Vineet.Gupta1@synopsys.com>,
	linux-snps-arc@lists.infradead.org,
	Vladimir Isaev <Vladimir.Isaev@synopsys.com>
Subject: Re: [PATCH] elf: _dl_fixup*: make @reloc_arg 64-bit safe
Date: Thu, 22 Jul 2021 15:39:56 +0200	[thread overview]
Message-ID: <874kcmzcur.fsf@igel.home> (raw)
In-Reply-To: <20210722132200.43895-1-isaev@synopsys.com> (Vladimir Isaev via Libc-alpha's message of "Thu, 22 Jul 2021 16:22:00 +0300")

On Jul 22 2021, Vladimir Isaev via Libc-alpha wrote:

> diff --git a/elf/dl-runtime.c b/elf/dl-runtime.c
> index 9d0d941000..6099a44ffb 100644
> --- a/elf/dl-runtime.c
> +++ b/elf/dl-runtime.c
> @@ -56,7 +56,7 @@ _dl_fixup (
>  # ifdef ELF_MACHINE_RUNTIME_FIXUP_ARGS
>  	   ELF_MACHINE_RUNTIME_FIXUP_ARGS,
>  # endif
> -	   struct link_map *l, ElfW(Word) reloc_arg)
> +	   struct link_map *l, uintptr_t reloc_arg)

ElfW(Addr)?

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

  reply	other threads:[~2021-07-22 13:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-22 13:22 [PATCH] elf: _dl_fixup*: make @reloc_arg 64-bit safe Vladimir Isaev via Libc-alpha
2021-07-22 13:39 ` Andreas Schwab [this message]
2021-07-22 13:58   ` Vladimir Isaev via Libc-alpha
2021-08-02 23:18     ` Vineet Gupta via Libc-alpha

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

  List information: https://www.gnu.org/software/libc/involved.html

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

  git send-email \
    --in-reply-to=874kcmzcur.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=Cupertino.Miranda@synopsys.com \
    --cc=Vineet.Gupta1@synopsys.com \
    --cc=Vladimir.Isaev@synopsys.com \
    --cc=libc-alpha@sourceware.org \
    --cc=linux-snps-arc@lists.infradead.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).