[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 2/6] Arm: split xen-syms linking rule
- To: Jan Beulich <jbeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: "Orzel, Michal" <michal.orzel@xxxxxxx>
- Date: Mon, 21 Sep 2026 13:39:40 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=suse.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=KzQ7LLWlZC3JrWkqZmzW7lahXvFV5zhCK8GWBe6fcVA=; b=Wvnina/dgpnJATiiw/9fltoBxO9+mRe4m6ym/rJ9ifQJzeivsFmjk1BpduynbseGuOl0uyKFG/r0GuTegyW40QwjCLUNwerQVOp83CKvuzNXE+xQQfihj2XOWJbalk7vff5nDKh70o2C5rZCbdHKZOdDTplQGueG/7Ig9vuPXQxrVPgHYUoFPYXTgmdPRGJUkvmPOAGTSKPelgmkWqNxfvH2C1LIXFJbZcKzuiyeTrIpIktWJxX9ttJNgf+kZbhpn2efN3vjZ4JlRoOJbvr3YDZkHbHcwVkBU5elM47TYDt07SUBJdx6N061JNhT4ZFnxge5Jx6SpBMEW0xZHLOJdA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KzaZvVI34vZB7J8aFNL5J2ogwBYt9MYSaOFgozyveQN6Nq5Y7bB5KTEwWQmkvzdb4VoJjRysOXGQm9X5qVfhf3k4WZWPe/LEFiXkxCF/Bi6TFSIuPSwzuHTa/o9NKrEPjUdq0X35MdeBgFkP0Wp6xzfAg6W0PqqZyayv238XoxBhXhpOXvL/FJT+BjRzac3ju9G/9SU5J0l/LisPlXi9ah0cqPNosr214QvCl0uKiCT1g2rRc0wlV/fvuxy85fLdNA84LifVkJsOZflg8Vg6ue4tLH0/Yaq2hq3NZG3R5UqS+nKmuYHfZFOoj28bz2Ychutc8jX/rIEJCVPm9hTTYQ==
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=amd.com header.i="@amd.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Roger Pau Monné <roger@xxxxxxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <volodymyr_babchuk@xxxxxxxx>
- Delivery-date: Mon, 21 Sep 2026 11:39:51 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 08-Sep-26 14:28, Jan Beulich wrote:
> Doing so, besides (hopefully) adding clarity (not the least by way of
> [re-]using pattern rules where possible), also avoids explicit recursive
> $(MAKE) invocations.
>
> By re-using the generic rules introduced when the respective x86 rule was
> split,
> - the .map file now isn't created after the final binary anymore,
> - --strip-debug is passed to $(LD) during early linking passes (for
> consistency the option is also explicitly added to the optional linking
> pass rule),
> - CONFIG_{SUPPRESS_DUPLICATE_SYMBOL_WARNINGS,ENFORCE_UNIQUE_SYMBOLS} are
> now properly respected.
> Orphan section checking, otoh, is getting suppressed for now, until the
> about a dozen warnings which would result have been taken care of.
>
> While the 4th linking step continues to be avoided when possible, a
> redundant invocation of $(NM) and tools/symbols (plus the assembling of
> the resulting .S file) is hopefully deemed acceptable.
>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> Reviewed-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
Acked-by: Michal Orzel <michal.orzel@xxxxxxx>
~Michal
|