From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6C500C43219 for ; Mon, 21 Mar 2022 08:22:00 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.292787.497182 (Exim 4.92) (envelope-from ) id 1nWDIH-0002AX-AO; Mon, 21 Mar 2022 08:21:37 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 292787.497182; Mon, 21 Mar 2022 08:21:37 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nWDIH-0002AQ-7X; Mon, 21 Mar 2022 08:21:37 +0000 Received: by outflank-mailman (input) for mailman id 292787; Mon, 21 Mar 2022 08:21:36 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nWDIG-0002AF-5g for xen-devel@lists.xenproject.org; Mon, 21 Mar 2022 08:21:36 +0000 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by se1-gles-flk1.inumbo.com (Halon) with ESMTP id ea1ffe70-a8ef-11ec-8fbc-03012f2f19d4; Mon, 21 Mar 2022 09:21:32 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8803C1042; Mon, 21 Mar 2022 01:21:31 -0700 (PDT) Received: from e129167.arm.com (unknown [10.57.72.68]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1ACA03F73B; Mon, 21 Mar 2022 01:21:28 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: ea1ffe70-a8ef-11ec-8fbc-03012f2f19d4 From: Michal Orzel To: xen-devel@lists.xenproject.org Cc: Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Bertrand Marquis , Volodymyr Babchuk Subject: [PATCH 0/3] xen: Linker scripts synchronization Date: Mon, 21 Mar 2022 09:21:11 +0100 Message-Id: <20220321082114.49953-1-michal.orzel@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patch series aims to do the first step towards linker scripts synchronization. Linker scripts for arm and x86 share a lot of common sections and in order to make the process of changing/improving/syncing them, these sections shall be defined in just one place. The first patch creates a header file to store the first portion of the content mutual to both x86 and arm linker scripts. When populating this file, we are taking an example from x86 script as it is more improved and up-to-date. The last two patches make use of the common macros in x86 and arm linker scripts respectively. Michal Orzel (3): xen: Introduce a header to store common linker scripts content x86: Make use of helpers defined in xen_lds.h xen/arm: Make use of helpers defined in xen_lds.h xen/arch/arm/xen.lds.S | 37 ++++--------- xen/arch/x86/xen.lds.S | 86 +++------------------------- xen/include/xen/xen_lds.h | 114 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 134 insertions(+), 103 deletions(-) create mode 100644 xen/include/xen/xen_lds.h -- 2.25.1