From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 0) id 56A8E3836C63; Mon, 11 Jan 2021 15:50:08 +0000 (GMT) Resent-From: Christopher Faylor Resent-Date: Mon, 11 Jan 2021 15:50:08 +0000 Resent-Message-ID: <20210111155008.GB3004796@server2.sourceware.org> Resent-To: libc-alpha@sourceware.org Subject: Re: [PATCH 3/3] csu: Move static pie self relocation later [BZ #27072] To: Szabolcs Nagy , "H.J. Lu" , GNU C Library References: <1bfa01e6e92073b30c02cb76a209656b9d97b675.1610016590.git.szabolcs.nagy@arm.com> <6b00243a-dee5-83c5-411b-0ec987e9a877@redhat.com> <20210107130217.GN2379@arm.com> <20210107142530.GQ2379@arm.com> From: Siddhesh Poyarekar Message-ID: Date: Thu, 7 Jan 2021 20:18:07 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20210107142530.GQ2379@arm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Mon, 11 Jan 2021 15:50:08 -0000 On 1/7/21 7:55 PM, Szabolcs Nagy via Libc-alpha wrote: > it still sounds like a big hack that relies on where > IRELATIVE is placed with current linkers and that there > are no other relocs we need to care about in static pie. > i can create a patch to see if it works. This is probably a safe assumption for pointer based architectures but not for those with capabilities. I have a feeling you might care about the latter ;) Siddhesh