From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 29 Jul 2019 21:24:56 -0400 Subject: [U-Boot] [PATCH] Drop linker-generated array creation when CONFIG_CMDLINE is disabled In-Reply-To: <20190729072453.6711-1-andrej.rosano@f-secure.com> References: <20190729072453.6711-1-andrej.rosano@f-secure.com> Message-ID: <20190730012456.GT16910@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jul 29, 2019 at 09:24:53AM +0200, andrej.rosano at f-secure.com wrote: > From: Andrej Rosano > > Linker generated array entry is not needed when the command line is > disabled. Remove this code in that case. > > This is required as the commit 80a48dd47e3bf3ede676fae5a630cb6c80de3e69 > breaks the linking stage when CONFIG_CMDLINE=n: > > .. > LDS u-boot.lds > LD u-boot > u-boot contains unexpected relocations: R_ARM_NONE > R_ARM_RELATIVE > make: *** [Makefile:1775: checkarmreloc] Error 1 > > Signed-off-by: Andrej Rosano Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: