From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS17314 8.43.84.0/22 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 491261F5AE for ; Thu, 22 Jul 2021 13:42:49 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4EA363861810 for ; Thu, 22 Jul 2021 13:42:48 +0000 (GMT) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by sourceware.org (Postfix) with ESMTPS id A6C523839434 for ; Thu, 22 Jul 2021 13:40:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A6C523839434 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nefkom.net Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4GVtqN2T6zz1qxm0; Thu, 22 Jul 2021 15:39:57 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4GVtqK67MFz1rmYN; Thu, 22 Jul 2021 15:39:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id tUFOsh9v4A-6; Thu, 22 Jul 2021 15:39:57 +0200 (CEST) X-Auth-Info: f9rWwOu5uAsEy1IBY8DWuE4+R1S8MaC5XlHtuZQQIJTQxszPcS9RgsxOGESCjK6j Received: from igel.home (ppp-46-244-188-81.dynamic.mnet-online.de [46.244.188.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 22 Jul 2021 15:39:57 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 76AF02C2658; Thu, 22 Jul 2021 15:39:56 +0200 (CEST) From: Andreas Schwab To: Vladimir Isaev via Libc-alpha Subject: Re: [PATCH] elf: _dl_fixup*: make @reloc_arg 64-bit safe References: <20210722132200.43895-1-isaev@synopsys.com> X-Yow: Am I elected yet? Date: Thu, 22 Jul 2021 15:39:56 +0200 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") Message-ID: <874kcmzcur.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Cupertino Miranda , Vineet Gupta , linux-snps-arc@lists.infradead.org, Vladimir Isaev Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" 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."