[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Arm32: restore proper name of .dtb section start symbol
- To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Mon, 25 Jul 2022 12:12:24 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3KdE9xaqCyFWvZiVbiYAF/eDuRclX4SXpIVmBkhtA4M=; b=IGfGs7+F29ViYlezeco/3ZgSm8Dm7LrqA+L9AeAfcoEgDKxBckMthZ438RHmo/13MdU76WB0MpMpexCl9m3xdiRcAlTIuxx9rRL/QajJ2SRSZhczPihLmxo4iT7IsQ1Xb0/jvcqrEtF3bNgE0127nPV9m4/E2AaqEwP9TWIbk3mgAdZDJtopmRWnChGI/MEhU5jMTGJsPxIWfSlXznd3WszfWwlt817O2Gt/rUN06XXO5pz7EmbdJTTXdnUoAmj2cOjGEZNWrxWzK00D/MlX3xhJyvylEqXRyt8fgon0+oJsYFuxeLYZwaDRw0pOJ6cnLWrwEw+5JoLvV+v1QiSaSg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MPqlv+TxzD4emqQUgJGFjAvVv9MNVU0T7ovGYNNMRo0v7qsS3+zFB7SDxtKD+zJO9lRIMs8L8lhke5LJ8mdqLnQ7JTjlh4JcOJ0m5ik/LRfQulyXsaOzx7QwFirmdqU20aUmkshkYHL2vlpVQM1MQeh90nXnYFRqXGyy1bpiRzOjcu2DFURXiQ0nbA+BIIRr/820If5wVio51XveRaBwXIpE2sk/M15c37BMO3XQee9AvOoXSgijf26RaRWhLrt3xdJPeMKCeeXKaBy8hMHRRltk4/86GRAsJvx0nnPa2mOn+yo6fXJfeYIRMFlvAeWSuQcpS6vnfPjq/1YRcAeJiQ==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <volodymyr_babchuk@xxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>
- Delivery-date: Mon, 25 Jul 2022 10:12:35 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
This addresses a build failure when CONFIG_DTB_FILE evaluates to a non-
empty string.
Fixes: d07358f2dccd ("xen/arm32: head.S: Introduce a macro to load the physical
address of a symbol")
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---
Of course this really would be a prime candidate for avoiding the
use of linker-script-defined symbols in the first place, by using
.startof.(.dtb). If only Clang also supported that ...
--- a/xen/arch/arm/arm32/head.S
+++ b/xen/arch/arm/arm32/head.S
@@ -162,7 +162,7 @@ past_zImage:
/* Using the DTB in the .dtb section? */
.ifnes CONFIG_DTB_FILE,""
- load_paddr r8, _stdb
+ load_paddr r8, _sdtb
.endif
/* Initialize the UART if earlyprintk has been enabled. */
|