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 X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5FF87C2B9F7 for ; Tue, 25 May 2021 00:59:16 +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 DA279613D6 for ; Tue, 25 May 2021 00:59:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DA279613D6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DD68882F97; Tue, 25 May 2021 02:58:00 +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="F2J+s2Aw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 695CF82EF5; Tue, 25 May 2021 02:57:53 +0200 (CEST) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (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 0689880C67 for ; Tue, 25 May 2021 02:57:42 +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-qk1-x733.google.com with SMTP id j184so6820101qkd.6 for ; Mon, 24 May 2021 17:57:41 -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:user-agent; bh=Ds8F513ZBccEDptkk/liFMGggW6OeDY5YihD8mSjfxk=; b=F2J+s2AwbJg3pe3YI4OAM6itf/mXy7cQn+OumqvaclVfONgnYkKOwo4h1bQ9EKUxxV a8BE/xXjUmGjQleGhUR1OWfr9wCtc0BXYoeQKWk7IrT4VAPhnQyL6J0Obu7dImvFSqDx DAueiOFBXTTbYKc6xT1clsNBMafhDliIpJO7M= 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=Ds8F513ZBccEDptkk/liFMGggW6OeDY5YihD8mSjfxk=; b=NgpNQJf/r1rFKEvvoBcS1BPfWhqpIIWWKmKQ8N5cPzQ3xw/BxmvDOA4EgX6eDtl0lC rPzs+kPFKGGJaqdzUbOnmxG3NUThb7wmOojbxdQXj/Fo6rkO9WLqFv62udhuMuRIo/tW 8imH4lHBLHavb93Zw71kQ6siBnhFz/GX15D9gNXd1Zmg9XhgEzan1MD+0Mi/xB8RCfkd kKmkjJiKQLQDcAdXd8iPFODnffc4YgRL33rE+BWb92aXsQb7UABodL/XdaRYoDoRwPox 24P4lqvp5MAJ38q368bEAjdDD2FLGCrcFHYwpsYM8BPGogLnAxNe1Ylxs2PMiz2/SU3q zy8Q== X-Gm-Message-State: AOAM531vxunBfKuiMKhAbLp8BlVm+dTFCUE/np1X2E1dIAamYuGXl7XP qty4l2Mhxn5r6bYX7D90z8cuKQ== X-Google-Smtp-Source: ABdhPJyVRtYaruyQczyX2lmHoBhay4iqWu8bgfWkNlz172uorigMysCnhh3c7vipGMRBDcJD8wwNUg== X-Received: by 2002:a05:620a:122c:: with SMTP id v12mr31377306qkj.110.1621904261022; Mon, 24 May 2021 17:57:41 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-5ce8-9acb-4a3a-47a0.res6.spectrum.com. [2603:6081:7b01:cbda:5ce8:9acb:4a3a:47a0]) by smtp.gmail.com with ESMTPSA id t2sm2752100qkt.135.2021.05.24.17.57.39 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 May 2021 17:57:39 -0700 (PDT) Date: Mon, 24 May 2021 20:57:37 -0400 From: Tom Rini To: Marek =?iso-8859-1?Q?Beh=FAn?= Cc: u-boot@lists.denx.de, Simon Glass , Heiko Schocher , Patrick Delaunay , Patrice CHOTARD , Miquel Raynal , Pali =?iso-8859-1?Q?Roh=E1r?= , Stefan Roese , Heinrich Schuchardt , Alexander Graf , Marek Vasut , Neil Armstrong , Ryder Lee , Adam Ford , Bin Meng , Harald Seiler , Tim Harvey Subject: Re: [PATCH u-boot v4 35/36] ARM: don't use --gc-sections with LTO when using private libgcc Message-ID: <20210525005737.GP17669@bill-the-cat> References: <20210520112425.25166-1-marek.behun@nic.cz> <20210520112425.25166-36-marek.behun@nic.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fvYx1WThDKjBDQYR" Content-Disposition: inline In-Reply-To: <20210520112425.25166-36-marek.behun@nic.cz> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) 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.102.4 at phobos.denx.de X-Virus-Status: Clean --fvYx1WThDKjBDQYR Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 20, 2021 at 01:24:24PM +0200, Marek Beh=FAn wrote: > When using LTO, we can throw away the --gc-sections flag, but only if > using private libgcc. >=20 > When using system's libgcc, --gc-sections is still needed, otherwise > linking will fail due to undefined references to libc's symbols. >=20 > Signed-off-by: Marek Beh=FAn > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! --=20 Tom --fvYx1WThDKjBDQYR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmCsS4EACgkQFHw5/5Y0 tyyeBgwAnTCNNMqd1NtNYn7ttJmGbI4hi7h71lPiSWtyhQJgVC9V++lQYOrtPQmH u/79pXm6hdfQAhO0WkweYxyIyB1/2nVDu3hYHwLAYTksNd+M0c+r20GNbe8JvE+/ yAQpiiKivubpaT8J0czKCiP3g1HuJwTgUGo28J1T90YUmljZKhjKGX90wQVUywyB 6z1qxz+2rzFv42MRISLXaZcZbOEl1+EO4Yp6Fn/wnExnc7d0Jr0qDK52b0XfcwQ/ v1XYICB+MRbPO4bY47b+mYfBBu/bdeUHRpnwS+kqf7t9McATtIkY0/+VcQQEtYsA 2j1bQg3Syn7k6fCrZ/RKLxIrNH360dNpEczQRYjc2+F3mMTLb4HPcOccx5FXlxas Qq8Y9rl3SZG0H5viKHktrqyOa87EVE1jCtlPCwoAhqwSGeKt1HU7U6TD0NWV8dm7 aPSCgAIeGM9Z9iipux8vTrVzr1oKOQcMWI2UW27d4HDsJJD3FdGdOTC4Mc0+t7tO iq+2IzQ8 =HT6T -----END PGP SIGNATURE----- --fvYx1WThDKjBDQYR--