[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 2/2] xen: Populate xen.lds.h and make use of its macros


  • To: Michal Orzel <michal.orzel@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 5 Apr 2022 11:29:14 +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=IM0WjWhCvNW9c+LjtMIykjleIdq/y4xbeWXDJ6rNR5c=; b=Mh1XT48bRERjMz0Xk2CY0XvvuZnkru8cOHV4cPS4KUV+qhuSOHLpR9Acr6aByvbOA2cUsOhWsrxVCG4cKKNKhohVADvhSW2ysk/YperNb2YxTeLvGF7UyvI+Oq5RxBrNSIB151Yls1Nt/F7F2n9GJaDTJCeW82qmZGUEMc2XqR7o2+oltZAg/lVYIA5CoabVm1Zd3tGF48ay3xIyL+H96apbIVdYJrJ0f+GF/S7kh0qdhOWMXnsB9Q1sLWPkjOQHiEziOR10s6tJbwwqSn2wgG20vMoTUXo45fQTaHp9DVBqUkLLZojkZJEiXTahgJI2I1/mkBMxyUR846BzK3e7Vw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cUpUmcImDFsXBAkMa3xW8wvi/pLPebHzMyL83m/clx01sN1i0HM1XQZJJVmldckYdEXdy6V58hyHmsogQXjxcl/cSCDEMJ6m2ZZy6Ba3zr6xPbpAehBlypO5Z4qLdVA5ZEbzQW4DxAj+FBf8RMEVu3YUPmPQnc+0VZPVZUtm1v6RWrJkelP4Tje0kOj1KiFYa30CJC+DbbUPR/dY6Xvpdc/xTGWa37R+WVqxnZ5V28HZwoVTX+3vMEBnNsv22xK6z3kjT+evO3gr44ZDmCUC3p0A/RyJiKVRPEaHe7UC5D56Wl4pUcmYRoQUP5sbD0hH8eG4FDTdALP234W72APDeg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 05 Apr 2022 09:29:30 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 05.04.2022 11:16, Michal Orzel wrote:
> Populate header file xen.lds.h with the first portion of macros storing
> constructs common to x86 and arm linker scripts. Replace the original
> constructs with these helpers.
> 
> No functional improvements to x86 linker script.
> 
> Making use of common macros 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,
> - extended list of discarded section to include: .discard, destructors
>   related sections, .fini_array which can reference .text.exit,
> - sections not related to debugging that are placed by ld.lld. Even
>   though we do not support linking with LLD on Arm, these sections do
>   not cause problem to GNU ld.
> 
> Please note that this patch does not aim to perform the full sync up
> between the linker scripts. It creates a base for further work.
> 
> Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.