Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3909678imu; Mon, 7 Jan 2019 11:44:16 -0800 (PST) X-Google-Smtp-Source: ALg8bN5IFe23gcdm8MLebZU3cfFfn94JXM13BaUjId2B+O+KRuUpvQatPEx7+Sz0ufxoTBM5rxiV X-Received: by 2002:a17:902:c05:: with SMTP id 5mr63164156pls.155.1546890256598; Mon, 07 Jan 2019 11:44:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546890256; cv=none; d=google.com; s=arc-20160816; b=lH7RrSlTW3YSQV9lVZjmGKlJEIXqGMV7I8NTcTKffRy1s2pPdlzHNlMjWWAVfDW9LA xEx5e0VpmRffqAfjyvjcImyuAL3EIH+zS1vergiHKuYAewbtAM6Vf9ukS74+y+nZwhMc mV+adA5VNu6h7SN2n4M/wdzAcHRwdLn/DWboVrb5K7hQRdgidKYyOWtyxLCiYyUUe5Zg qo6OhrdZGXgZomXI3ILh001cnqCfm8OFXqXoYU/Y5Q8w4dO8ok+QYRwc0qEIbMSQYGtd asxsl58CHRy+1QLm6CMAhp7HS62UuLJQt7ubxXlcNQJKBiOZRzv9E4AkNq7hFnAAbHbn QBsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=CQnOEASg1G9SHRxqD6ig+kcQJmVRl7JrNnFY/K4/2b4=; b=nuRqTXtveheIe8PfXKyFXZ5wTrkDWXpeR9ieKiOwMqfA55NmDxl+gsbVKZuAr3bvvF kF3bw7P7sConn8Gna/me6HMphqcqD6fjfLemF44d/wfHm4x/SyAEMidO0xghSQN5fX2D p0i5m/T+uQt95YHfhifzVlcmNVMpXeXifouZuQvUp3jHK66eT3bfUxUwkzNgzi0qvfeX y3TA6mBbo1P+wAkPreGDvCKPVh6gMBm//6W9hk0E7RSf9xma6/1H62bIjCeIjvF6aGTW c6L68pvfo+g7IrNLNGBYI6jvcUALcA35V60ZxHIprTqpPf/FkNKLyTf/yYJ82bpyxnJz NhEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=njmpcKyZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v25si60192851pgk.341.2019.01.07.11.44.01; Mon, 07 Jan 2019 11:44:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=njmpcKyZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727961AbfAGTmt (ORCPT + 99 others); Mon, 7 Jan 2019 14:42:49 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:40251 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726742AbfAGTmt (ORCPT ); Mon, 7 Jan 2019 14:42:49 -0500 Received: by mail-pf1-f196.google.com with SMTP id i12so659209pfo.7 for ; Mon, 07 Jan 2019 11:42:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CQnOEASg1G9SHRxqD6ig+kcQJmVRl7JrNnFY/K4/2b4=; b=njmpcKyZ7mzw6ok1+1DVLRtDjp7JBoPK9rQ1cYsPLwdQQrP9OCeNF11CJXfIFmbT+x gAOuJ31JMe8/7OgK0+eZoYQszed5TfeukZUt6BzNZzeRrEE7l6tYkako9a00pt2nHblL 8CoBALMZN5eEHi5Miq9YuKNQXK41KQDWrTmiV4WZS0yQL/EyWNh1VYo73OFRSix61rwa KE+0w8MaTvWBwvjngLTIgbVcvcL5XaECwGJuljn7kbyvy/VO0yPMqb3rlUM15cNcWg5p N86fA7haTUbGMPa7wqV5MIEbCYgB8YwYZ5EA1PYE16VvZntzB5fIch+AvAaCeA6AxLpi 8NSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CQnOEASg1G9SHRxqD6ig+kcQJmVRl7JrNnFY/K4/2b4=; b=gNjKBM0+MaQwfiY8zz9xBL1XMldF1drlEep3iGue6b4d8WCVcPnF3vrEyU+BNPxvY2 6501W9xpGr4ZFPtVKlKzUq2mF8PlxWM7lcTXCqCfYwn467cmzi4yMnKzzJmU8fsA3m+c 388jIMDpU7zT1C2uGdSfWouqCJnjWE8gOSvNNJPRGfjEEZVsvUH9I23MyWDB2+eJObwx xYnjJgwoVjJDaNmUIqjcIc0/sn4r1y6yvzMGvc1+7ZMS4Y1BDOxCPuIZCh1CEC6U2b30 s8n4nrEAVUBFnhpe68Ex+p6/6LxPrw1xvfb5X5efJKBcsJgDA43plo+l2XgvI1AkOdvQ NR0w== X-Gm-Message-State: AJcUukfpAInfsWmqqFRubLwYWiHZRCn0fGLVzw7bS3Lseo1iMTgKah4O yvIIC4YFixsEadErChgYsQeOJ3k6TluSJQKYUJgtVg== X-Received: by 2002:a63:42c1:: with SMTP id p184mr11973123pga.202.1546890167491; Mon, 07 Jan 2019 11:42:47 -0800 (PST) MIME-Version: 1.0 References: <20181205014213.943-1-natechancellor@gmail.com> <20181205014213.943-2-natechancellor@gmail.com> <20181205080645.GA11936@flashbox> <20181205183606.GA7274@flashbox> <20181205194519.GA9197@flashbox> <9f43145527aa4220ecde4c3b263241e6@agner.ch> In-Reply-To: <9f43145527aa4220ecde4c3b263241e6@agner.ch> From: Nick Desaulniers Date: Mon, 7 Jan 2019 11:42:36 -0800 Message-ID: Subject: Re: [PATCH 2/2] ARM: Wrap '--pic-veneer' with ld-option To: Stefan Agner Cc: Nathan Chancellor , Ard Biesheuvel , Arnd Bergmann , Russell King , linux-arm-kernel , Linux Kernel Mailing List , Nicolas Pitre Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 29, 2018 at 4:27 AM Stefan Agner wrote: > > On 05.12.2018 20:45, Nathan Chancellor wrote: > > On Wed, Dec 05, 2018 at 07:39:55PM +0100, Ard Biesheuvel wrote: > >> On Wed, 5 Dec 2018 at 19:36, Nathan Chancellor wrote: > >> > > >> > On Wed, Dec 05, 2018 at 09:09:56AM +0100, Ard Biesheuvel wrote: > >> > > (+ Arnd) > >> > > > >> > > On Wed, 5 Dec 2018 at 09:06, Nathan Chancellor wrote: > >> > > > > >> > > > On Wed, Dec 05, 2018 at 08:37:05AM +0100, Ard Biesheuvel wrote: > >> > > > > On Wed, 5 Dec 2018 at 02:42, Nathan Chancellor wrote: > >> > > > > > > >> > > > > > This flag is not supported by lld: > >> > > > > > > >> > > > > > ld.lld: error: unknown argument: --pic-veneer > >> > > > > > > >> > > > > > Signed-off-by: Nathan Chancellor > >> > > > > > >> > > > > Hi Nate, > >> > > > > > >> > > > > Does this mean ld.lld is guaranteed to produce position independent > >> > > > > veneers if you build kernels that are bigger than the typical range of > >> > > > > a relative branch? Just for the list, 2 patches to lld: https://github.com/ClangBuiltLinux/linux/issues/286#issuecomment-452027802 -- Thanks, ~Nick Desaulniers