From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by sourceware.org (Postfix) with ESMTPS id 469623951875 for ; Wed, 27 Jan 2021 11:16:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 469623951875 Received: by mail-pl1-x632.google.com with SMTP id d13so870908plg.0 for ; Wed, 27 Jan 2021 03:16:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=WWCsQKBb6e9yRXdZQRTImekZx0ovvZQvqot1/vuzIUw=; b=ESjWGI5L6zJuoeh3UBzrwN64qyXsRxscXPGQZLp91PcsTcRTZFsur7917nhTvOPkjQ 3r2xZE56PGyFTT/qRhTZApvbT4GzJ3dJ8yrqf6W7dWOeSY1VfDU8lrM1vwG5HAHR+7Mn sw2eRiqVfwSr98HZaDozTCNNyslFWz0cExO+b5CHNsoblLGd1H1amdZAFISa244lTm7M zrGoSuuKtGbjKkIs3kaN3h6a+msEB4YAeRky+b0UQs3HDRpDWZQfCU/VHmuOz2r7EZFe Jo3JuN0r9Ei5cTF4u7vfwsFWb5oebsdHk/pIounT9lqzFs2NEJO5oOdyLFuyxkS6pHzx 040Q== X-Gm-Message-State: AOAM533wayngTwpZF7BECSh5DBXKvURqWJZLpB6aql0zTHjJMfDoAYqX +cHYGxarCECYIIftyT4RXCk= X-Google-Smtp-Source: ABdhPJxFzzfpC/qcW4+C6x1eX97DQ1zxwXdtuo6Rv4ZIvbN7o7cGAv7SpedUqB0uE0HeIn20IsqODw== X-Received: by 2002:a17:90b:350:: with SMTP id fh16mr5259508pjb.232.1611746215499; Wed, 27 Jan 2021 03:16:55 -0800 (PST) Received: from bubble.grove.modra.org ([2406:3400:51d:8cc0:39ab:c7f5:847a:ef6e]) by smtp.gmail.com with ESMTPSA id k128sm2080099pfd.137.2021.01.27.03.16.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jan 2021 03:16:54 -0800 (PST) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 86E1447D6A; Wed, 27 Jan 2021 21:46:50 +1030 (ACDT) Date: Wed, 27 Jan 2021 21:46:50 +1030 From: Alan Modra To: Tulio Magno Quites Machado Filho Cc: Adhemerval Zanella , libc-alpha@sourceware.org, Andreas Schwab Subject: Re: [PATCHv2] powerpc64: Implement TLS using PC-relative addressing Message-ID: <20210127111650.GW26219@bubble.grove.modra.org> References: <87r1qi2ubi.fsf@igel.home> <20210122012931.1354527-1-tuliom@linux.ibm.com> <87k0s06a39.fsf@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87k0s06a39.fsf@linux.ibm.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: , X-List-Received-Date: Wed, 27 Jan 2021 11:17:00 -0000 On Mon, Jan 25, 2021 at 05:22:02PM -0300, Tulio Magno Quites Machado Filho wrote: > Adhemerval Zanella via Libc-alpha writes: > > > On 21/01/2021 22:29, Tulio Magno Quites Machado Filho via Libc-alpha wrote: > > > So, what I recommend you to do is: > > > > 1. Change the documentation patch [1] and update the powerpc > > sysdeps/powerpc/powerpc64/le/configure.ac to check 'as' version > > instead of 'objcopy'. > > This has already been changed in the following patch: > https://sourceware.org/pipermail/libc-alpha/2021-January/121919.html > > It's still missing the configure check, though. I'm working on that. > > > 2. Add a configure check for the new TLS using PC-relative and > > set a new config.h flag (SUPPORT_PPC_TLS_PCREL). > > Ack. I'm working on it. mod-tlsopt-powerpc.c and tls-macros.h are used only by the testsuite, so don't fuss too much. Hopefully one day those files will disappear. -- Alan Modra Australia Development Lab, IBM