From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752777AbdKCU3J (ORCPT ); Fri, 3 Nov 2017 16:29:09 -0400 Received: from mail-io0-f195.google.com ([209.85.223.195]:44259 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750772AbdKCU3H (ORCPT ); Fri, 3 Nov 2017 16:29:07 -0400 X-Google-Smtp-Source: ABhQp+QEAKCNGNnynsEwA90oRXF39MMXww2CmhgPsTPM1/TBA3PdkwJAeeV0309dxJ1uLbY3gtch6A== Date: Fri, 3 Nov 2017 13:29:02 -0700 From: Sami Tolvanen To: Ard Biesheuvel Cc: "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Matthias Kaehlcke , Nick Desaulniers , Kees Cook , Greg Hackmann Subject: Re: [PATCH 13/15] arm64: add a workaround for GNU gold with ARM64_MODULE_PLTS Message-ID: <20171103202902.GC137924@samitolvanen.mtv.corp.google.com> References: <20171103171203.107569-1-samitolvanen@google.com> <20171103171203.107569-17-samitolvanen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 03, 2017 at 08:09:42PM +0000, Ard Biesheuvel wrote: > This is not true. Even when RANDOMIZE_MODULE_REGION_FULL is not > enabled, we may need module PLTs. Got it. PLTs themselves are not a problem with gold, only the bug when processing a linker script of this particular format. I'll see if I can find a better workaround for this for v2. Sami