From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DEE0C433EF for ; Mon, 25 Oct 2021 13:31:01 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6A3C360F46 for ; Mon, 25 Oct 2021 13:31:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6A3C360F46 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3C0F6834F1; Mon, 25 Oct 2021 15:30:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="OJhb6Fov"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 74FAF834F1; Mon, 25 Oct 2021 15:30:56 +0200 (CEST) Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 05B2C83461 for ; Mon, 25 Oct 2021 15:30:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2d.google.com with SMTP id gh1so7145098qvb.8 for ; Mon, 25 Oct 2021 06:30:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=P8GaGH27LrI62FMh0CJXXKiPTI0yVSFMccTZV89Xo9Y=; b=OJhb6FovzlZjcabGBBivL6rMQtG+rf8sFnEa8n8s6T6V7i9YkR2xbVxxdffTkpMYhU Vwou9TnOc17jsymvz/y0EUT+pQ2fGXqn+qOaUs5OtUEL/czXxHEAsKzHMdnjSYBLVZ6Q KtbQIkPknQ2gLo53XIS7ID3iSuYT6q/6m33sE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=P8GaGH27LrI62FMh0CJXXKiPTI0yVSFMccTZV89Xo9Y=; b=m/6Ub00xaVyl4prHh0EQEV+7KdsydE9ubwXRBTfaaqZ8q4CthQe7N4YJVZLcBoFKv/ p0IUvT+yTkcSS6ATB9kocg7KXsDDNOZxrzm5ghLKmy6y1FAyPXVauLQJ7jN1c7aCDtI1 h2C7liD8pC/OWIpSz4rgMcnCftvRr1ItFz6QgDo4ObMhSll5BqM0t7lVoDpUyovrDuRO fDmhxJGim2ZDwXH19rb6mX4LFN9CE/hrQu2q19e5UOoLlHuIeJEE9eRZZGN/5c1Wb4ur S1aqIM1HvGYFmD0PxlFZDtPjMlLvMDJGdvrDwSUlQPxDjjJU8vZQfZXrOaDKrCA8wvBe yOwg== X-Gm-Message-State: AOAM531p9JGi00EgnRvKNahPhKqoFPZglCw6RaR3RS58VChvFuqSsh5o Zu+nGYHbdan55exzcVNl+QcLPg== X-Google-Smtp-Source: ABdhPJx3tuuZouLHL4p8hC73lW5KtAoih8icZentUzRcryruVC7ZH6/t9KLcDGLhqM3RuO1g6HJxFw== X-Received: by 2002:a05:6214:c64:: with SMTP id t4mr15541384qvj.5.1635168651839; Mon, 25 Oct 2021 06:30:51 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-6c37-a6b2-03ba-da47.res6.spectrum.com. [2603:6081:7b01:cbda:6c37:a6b2:3ba:da47]) by smtp.gmail.com with ESMTPSA id w5sm7227982qko.54.2021.10.25.06.30.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Oct 2021 06:30:51 -0700 (PDT) Date: Mon, 25 Oct 2021 09:30:49 -0400 From: Tom Rini To: Alistair Delva Cc: u-boot@lists.denx.de, David Brazdil , Scott Wood Subject: Re: [PATCH] arm64: relocate-rela: Add support for ld.lld Message-ID: <20211025133049.GS3577824@bill-the-cat> References: <20211020213134.7534-1-adelva@google.com> <20211020213134.7534-4-adelva@google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qZLIv6EoKi7YuaSc" Content-Disposition: inline In-Reply-To: <20211020213134.7534-4-adelva@google.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --qZLIv6EoKi7YuaSc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 20, 2021 at 09:31:32PM +0000, Alistair Delva wrote: > Cap end of relocations by the binary size. >=20 > Linkers like to insert some auxiliary sections between .rela.dyn and > .bss_start. These sections don't make their way to the final binary, but > reloc_rela still tries to relocate them, resulting in attempted read > past the end of file. >=20 > When linking U-Boot with ld.lld, the STATIC_RELA feature (enabled by > default on arm64) breaks the build. After this patch, U-Boot can be > linked successfully with and without CONFIG_STATIC_RELA. >=20 > Originally-from: Elena Petrova > Signed-off-by: Alistair Delva > Cc: David Brazdil > Cc: Scott Wood > Cc: Tom Rini Thanks for the patch. Do you have any other changes for LLVM/LLDB support on arm64 platforms? I think I've had a few stumbles whenever I've tried and not been able to cycle back to them. --=20 Tom --qZLIv6EoKi7YuaSc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmF2sYIACgkQFHw5/5Y0 tyxzxgv/Wb/ZXk1caJpk3NoMEl2VxoElngsDKqNvKc7N+AJve2WB4/zS+nwC0kl5 fir/ZaiIxf+PNlT+iBt866JICVq1Jeb5A9OpNbavV/KymYxLqSQxCxHd2vIf1XXh fmhJuYiT+/ps8t4W3NKmoek1C7gn0Jvwtd8bZPrZ6WFB74HAU/r1VFdNLRH6qaL2 eXHFcoeMS0I4+nT1D81H/B4gDUTZMoD6Pj1iugIdFYwCkYjr5AWAlJ49/VhJtmkr VFpOny6FP12IldFJX9ufA/o/t8AZZARuMwCtqMFs8gBKfaU5sLfW3oGm1TQbJXLe 17zm4JNG3WO2v7cjevYBsZ21YvqiB2ftGaJ6mwAZVu63qGFXYv7/VynYzy41mxQz qFH2x7sLeGE6OlSGpC9Pq7xvL19LXNzRn65oZFp97FUIO4oXlXaZVlgEjOGjM8X1 jOGUq9UtXsArUjulmofx2StHO/1sidoeBrciFzBiumDcbe4wpmE/FId47NlTdsFq qAjLV3Y8 =sord -----END PGP SIGNATURE----- --qZLIv6EoKi7YuaSc--