From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqVDi-0004q3-HU for barebox@lists.infradead.org; Wed, 01 Jul 2020 05:23:43 +0000 Date: Wed, 1 Jul 2020 07:23:41 +0200 From: Sascha Hauer Message-ID: <20200701052341.GH15485@pengutronix.de> References: <20200630205344.27786-1-cleger@kalray.eu> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200630205344.27786-1-cleger@kalray.eu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] kvx: remove duplicated dtb symbols To: Clement Leger Cc: barebox@lists.infradead.org On Tue, Jun 30, 2020 at 10:53:44PM +0200, Clement Leger wrote: > dtb symbols (__dtb_start, __dtb_end) are already defined using > RO_DATA_SECTION. This duplicated dtb section is a leftover used by > Kalray internal tools to patch the dtb when loading the elf on a > target. Remove it to keep only one symbol definition. > > Signed-off-by: Clement Leger > --- > arch/kvx/cpu/barebox.lds.S | 9 --------- > 1 file changed, 9 deletions(-) Applied, thanks Sascha > > diff --git a/arch/kvx/cpu/barebox.lds.S b/arch/kvx/cpu/barebox.lds.S > index bf92564cf..77ebaf0ae 100644 > --- a/arch/kvx/cpu/barebox.lds.S > +++ b/arch/kvx/cpu/barebox.lds.S > @@ -10,8 +10,6 @@ > OUTPUT_FORMAT("elf64-kvx") > OUTPUT_ARCH("kvx:kv3-1:64") > > -#define DTB_DEFAULT_SIZE (24 * 1024) > - > SECTIONS > { > . = CONFIG_ARCH_TEXT_BASE; > @@ -54,13 +52,6 @@ SECTIONS > RO_DATA_SECTION > } > > - .dtb ALIGN(16): > - { > - __dtb_start = .; > - . += DTB_DEFAULT_SIZE; > - __dtb_end = .; > - } > - > _etext = .; /* End of text and rodata section */ > > .data ALIGN(4): { > -- > 2.17.1 > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox