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 18F4FEB64DA for ; Sat, 1 Jul 2023 02:31:11 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 05C1D86623; Sat, 1 Jul 2023 04:31:09 +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="SZQ5Rv5A"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 64ABD8665C; Sat, 1 Jul 2023 04:31:05 +0200 (CEST) Received: from mail-oa1-x30.google.com (mail-oa1-x30.google.com [IPv6:2001:4860:4864:20::30]) (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 C9B7F865CD for ; Sat, 1 Jul 2023 04:31:00 +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=festevam@gmail.com Received: by mail-oa1-x30.google.com with SMTP id 586e51a60fabf-1b0666741ecso593559fac.1 for ; Fri, 30 Jun 2023 19:31:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688178659; x=1690770659; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3Ob+FZ4fA6VG52XzFvHyLcnVNU56SrdMD6T/b+Jb8JA=; b=SZQ5Rv5AEBjKizQKkW/fEWpbuNlI1LXsa1A1fibtXrx9Ql8ob+gVlBpFp6v7RUhFk7 XRlJp1aOxvzJqHY+ESEMXGMqz/Iz5tXWqDrzzfjIqZRT7e8Fbr8mmrO7HBtG1XiTr5oB nKnZaIUBK+hgtPqAAGgKEO7tNv1q+7nZg40bqDYIhXihB6xGRvWGblJHFBUyAec5KMBT QwR6NmBiEQkTl43YUWUPeVB/gvfaYBRvKDcN9GSqPKCZbfAVrbKC7SwgK70BGDaWgNQK wJFnrfD0JYoscu9Mxt/WCY3KqTs9+fs6ya2+S8jsJq7IWqJGp9/YtBhZunSDhRWzemci u3jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688178659; x=1690770659; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3Ob+FZ4fA6VG52XzFvHyLcnVNU56SrdMD6T/b+Jb8JA=; b=Cj2DMRzrp/DBfiAOhjPVFWfQWJ6XKsevIfMXUWP1Zg6FanrWTRS3GaUGeJszG4MMA8 y1e9ri4vEBCZ4rk4xXENa9ZN4oLA8lfXI3OmZ43Uad/KR+UoB9O16oknVZKD7kCPN8Ox kywVgJaVXnmHlVdXceVRzKRfv0eOoT3KOJFj6fNU8/CuIRHm3BgtrTyv7LXD0StGTkdq 06c+ColZk3FUJi8AvDF19vX81K2TGE/BqNaA12SLkzQxzyYcPjhfyuzQ79D5EIPBRqGQ TMcAuFUPkWngo3XV3YHFz9eI5Au+CXMXRQGYbq0FNCkF+0GxJ0wZp/PcpKF+YMa/b61t Y8hA== X-Gm-Message-State: ABy/qLa92hYOW/D7xF5WutJbLQLrnyK/wZsZSATXcGk8Cs0rW11ZK0/P xypQXGq1PG3YMPvM7gKBBR4= X-Google-Smtp-Source: APBJJlHOPh535Audj4FRKUHnRJsM96gTu34DKKHF2ZvLLB0I71bCIIUGB94zruNDG5T2T87REnRhGg== X-Received: by 2002:a05:6870:2112:b0:1b0:6500:8045 with SMTP id f18-20020a056870211200b001b065008045mr4689902oae.1.1688178659228; Fri, 30 Jun 2023 19:30:59 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:7f0:b380:973d:d9ad:37d9:2f8f:1d81]) by smtp.gmail.com with ESMTPSA id w18-20020a056870a2d200b001aa1779d0besm9725933oak.7.2023.06.30.19.30.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jun 2023 19:30:58 -0700 (PDT) From: Fabio Estevam To: trini@konsulko.com Cc: marex@denx.de, u-boot@lists.denx.de, francesco.dolcini@toradex.com, Fabio Estevam Subject: [PATCH v2 1/3] sunxi: u-boot-spl.lds: Pass _image_binary_end Date: Fri, 30 Jun 2023 23:30:51 -0300 Message-Id: <20230701023053.747972-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 From: Fabio Estevam Pass _image_binary_end to make a standard way to indicate the end of the text section in SPL. The motivation for this is to have a uniform way to handle the SPL boundary checks. Signed-off-by: Fabio Estevam --- Changes since v1: - Newly introduced to avoid build failure. arch/arm/cpu/arm926ejs/sunxi/u-boot-spl.lds | 1 + arch/arm/cpu/armv7/sunxi/u-boot-spl.lds | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/cpu/arm926ejs/sunxi/u-boot-spl.lds b/arch/arm/cpu/arm926ejs/sunxi/u-boot-spl.lds index c10873681157..cf65e8c46281 100644 --- a/arch/arm/cpu/arm926ejs/sunxi/u-boot-spl.lds +++ b/arch/arm/cpu/arm926ejs/sunxi/u-boot-spl.lds @@ -36,6 +36,7 @@ SECTIONS . = ALIGN(4); __image_copy_end = .; _end = .; + _image_binary_end = .; .bss : { diff --git a/arch/arm/cpu/armv7/sunxi/u-boot-spl.lds b/arch/arm/cpu/armv7/sunxi/u-boot-spl.lds index 306a4ddf3cd2..fb7a789b28b8 100644 --- a/arch/arm/cpu/armv7/sunxi/u-boot-spl.lds +++ b/arch/arm/cpu/armv7/sunxi/u-boot-spl.lds @@ -45,6 +45,7 @@ SECTIONS . = ALIGN(4); __image_copy_end = .; _end = .; + _image_binary_end = .; .bss : { -- 2.34.1