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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 4E920C77B7C for ; Sat, 13 May 2023 09:00:18 +0000 (UTC) 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) 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 ; 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 ; 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 X-Google-Original-From: Sam Edwards To: u-boot@lists.denx.de Cc: Tom Rini , Sam Edwards 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 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.8 at phobos.denx.de X-Virus-Status: Clean Signed-off-by: Sam Edwards --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; \ -- 2.39.2