From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84356 invoked by alias); 17 Feb 2020 18:07:15 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 84346 invoked by uid 89); 17 Feb 2020 18:07:15 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 spammy=composition, MIPS64, H*Ad:U*pinskia X-HELO: cvs.linux-mips.org Received: from eddie.linux-mips.org (HELO cvs.linux-mips.org) (148.251.95.138) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Feb 2020 18:07:14 +0000 Received: (from localhost user: 'macro', uid#1010) by eddie.linux-mips.org with ESMTP id S23990923AbgBQSHKeBBm- (ORCPT ); Mon, 17 Feb 2020 19:07:10 +0100 Date: Mon, 17 Feb 2020 18:07:00 -0000 From: "Maciej W. Rozycki" To: Fangrui Song cc: Andrew Pinski , binutils Subject: Re: [MIPS] Can we have R_MIPS_PC64? In-Reply-To: <20200208183958.v4vfdtfstlwtod3p@google.com> Message-ID: References: <20200205071944.tberxwpcrkhnat4h@gmail.com> <20200208183958.v4vfdtfstlwtod3p@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00415.txt.bz2 On Sat, 8 Feb 2020, Fangrui Song wrote: > I hope someone can add back R_MIPS_PC64. You don't need R_MIPS_PC64. You can yield the same effect the usual MIPS64 way, that is by composing R_MIPS_PC32 with R_MIPS_64 (similarly to e.g. how R_MIPS_REL32 composes with R_MIPS_64). Of course the toolchain may not as it stands support this composition. Feel free to post patches to take care of your use case. HTH, Maciej