Arm32: restore proper name of .dtb section start symbol
PATCH 1/1 Arm32: restore proper name of .dtb section start symbol
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 <[email protected]>
---
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 ...
xen/arch/arm/arm32/head.S +1 -1
@@ -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. */
Hi Jan,
Quoted 7 lines · Jan Beulich
This addresses a build failure when
CONFIG_DTB_FILEevaluates 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 <[email protected]>
Reviewed-by Bertrand Marquis <[email protected]>
Cheers
Bertrand
Quoted 16 lines
---
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 ...xen/arch/arm/arm32/head.S +0
-0@@ -162,7 +162,7 @@ past_zImage: /* Using the DTB in the .dtb section? */.ifnes
CONFIG_DTB_FILE,""xen/arch/arm/arm32/head.S +1
-1- load_paddr r8, _stdb + load_paddr r8, _sdtb.endif
/* Initialize the UART if earlyprintk has been enabled. */