On 21.03.2022 09:21, Michal Orzel wrote: > Header file xen_lds.h defines common macros to be used in arch specific > linker scripts. Include this header and make use of its helpers. > > Making use of common helpers defined based on x86 linker script > improves arm linker script with: > -explicit list of debug sections that otherwise are seen as "orphans" > by the linker. This will allow to fix issues after enabling linker > option --orphan-handling one day > -re-arrangement of ordering/sorting in constructors section to match the > default linker script
As said in reply to patch 1 - I don't think this is correct on x86 right now, and hence I don't think you want to propagate the same (at least latent) issue to Arm. Jan