Message ID | 20230512230135.133162-2-CFSworks@gmail.com |
---|---|
State | Handled Elsewhere, archived |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=d5IIgcLl; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QJKN41dtFz20KG for <incoming@patchwork.ozlabs.org>; Sat, 13 May 2023 19:00:20 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 42EF786372; Sat, 13 May 2023 10:59:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="d5IIgcLl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C7DE584676; Sat, 13 May 2023 01:01:59 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) (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 7837686216 for <u-boot@lists.denx.de>; Sat, 13 May 2023 01:01:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=cfsworks@gmail.com Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1ab0c697c2bso97301275ad.1 for <u-boot@lists.denx.de>; Fri, 12 May 2023 16:01:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683932515; x=1686524515; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=P6McN0+6rQwKmGKwpqJuCKr7qnOfalv9m2kwK6PjQZc=; b=d5IIgcLlha3ROlsf0w931BjCdijN2u97GWNJmriBlhNXBvBVwdwBrUI1qtW60eu9tY OZnNaPiM+K0D0swvvWZl8BKFYf11R7W11GxxHdWcrzakI/l8+bego5jhMF5Z66tzRFLL v9uRmPOqDxV8w3xjGJhe9hQ2xXOWXbA9OWT2b0xK87kaoyDd/688/prE1BDhGNWdEeLx fyozxuEn+Wv6IrsspJzAMsV7et1MSyPxmtE1RFdUja6iyAp0rep/1zbH/a8QrYlrDtAd MGmF6wG2rZjI2Fi4DaBTiLcB4tP61hQiAC4+pL0F79ZF7gDYaRH43/ReJGlEaJYAthtJ 1VTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683932515; x=1686524515; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P6McN0+6rQwKmGKwpqJuCKr7qnOfalv9m2kwK6PjQZc=; b=i6WsoILEAHy+eUnBZR5knxHfD+CaMnRouUWZGAMwZWKa6DpIWdz76Crlr9Jr902Wnc ToN6w5FUl/nMlZYn1Ff48gOTR99uiy7vZc41QbleLpyy/P2cXlFYcOQqVMCICNK4ak4e /jt2EeWA1cQ2xlz40xFkxQubot+Z4Y6bwweyW7AuGXkHZkc35n5x1zmYF1lCLKfwHgeN ZhVRF16PGzv/PkfTlMSrn1MZqkOFLgsN4DzuTlaTwfWLonmtRZWHAIYJmmn5uUc6vsqX oZ37BzuCocbLfDsqeiIOOAiaNMId7NEimUluJDojVtHZ+XcOyim3RC8vUQsgQ1jPaS7R wtEA== X-Gm-Message-State: AC+VfDzyoSHPGz2w4MgTadWQ4rTbf0xWL1pdjUPrjYF8oVhjh1eqmb2O WzV6UKJUqjdAaPHRJZMgi8dKeWRF2kKejw== X-Google-Smtp-Source: ACHHUZ7CAlOsbCZ1il0kNs9YM3EvxEq+e2VkRvyUVZVxFUcy6Aht0gBpVAULEA2NF6SVsTjXTudTGg== X-Received: by 2002:a17:903:2292:b0:1a1:bff4:49e9 with SMTP id b18-20020a170903229200b001a1bff449e9mr36763232plh.23.1683932515509; Fri, 12 May 2023 16:01:55 -0700 (PDT) Received: from celestia.nettie.lan (static-198-54-134-172.cust.tzulo.com. [198.54.134.172]) by smtp.gmail.com with ESMTPSA id n10-20020a170902d2ca00b001ab2592ed33sm8509704plc.171.2023.05.12.16.01.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 May 2023 16:01:55 -0700 (PDT) From: Sam Edwards <cfsworks@gmail.com> X-Google-Original-From: Sam Edwards <CFSworks@gmail.com> To: u-boot@lists.denx.de Cc: Tom Rini <trini@konsulko.com>, Sam Edwards <CFSworks@gmail.com> Subject: [PATCH 2/3] makefile: Consider "no relocs" to be "no unexpected relocs" Date: Fri, 12 May 2023 17:01:34 -0600 Message-Id: <20230512230135.133162-2-CFSworks@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230512230135.133162-1-CFSworks@gmail.com> References: <20230512230135.133162-1-CFSworks@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Sat, 13 May 2023 10:59:35 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
[1/3] makefile: Fix symbol typo in binary_size_check
|
expand
|
diff --git a/Makefile b/Makefile index 22bdc30109..20785860f7 100644 --- a/Makefile +++ b/Makefile @@ -2109,7 +2109,8 @@ System.map: u-boot checkarmreloc: u-boot @RELOC="`$(CROSS_COMPILE)readelf -r -W $< | cut -d ' ' -f 4 | \ grep R_A | sort -u`"; \ - if test "$$RELOC" != "R_ARM_RELATIVE" -a \ + if test -n "$$RELOC" -a \ + "$$RELOC" != "R_ARM_RELATIVE" -a \ "$$RELOC" != "R_AARCH64_RELATIVE"; then \ echo "$< contains unexpected relocations: $$RELOC"; \ false; \
Signed-off-by: Sam Edwards <CFSworks@gmail.com> --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)