From patchwork Mon Jul 10 08:57:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 13306496 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 3E951EB64DA for ; Mon, 10 Jul 2023 08:57:51 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.561126.877470 (Exim 4.92) (envelope-from ) id 1qImi4-0001Uf-B1; Mon, 10 Jul 2023 08:57:32 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 561126.877470; Mon, 10 Jul 2023 08:57:32 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qImi4-0001UY-7q; Mon, 10 Jul 2023 08:57:32 +0000 Received: by outflank-mailman (input) for mailman id 561126; Mon, 10 Jul 2023 08:57:30 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qImi2-000090-Bw for xen-devel@lists.xenproject.org; Mon, 10 Jul 2023 08:57:30 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2062a.outbound.protection.outlook.com [2a01:111:f400:7e1a::62a]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id cca8e8f3-1eff-11ee-b239-6b7b168915f2; Mon, 10 Jul 2023 10:57:29 +0200 (CEST) Received: from AS8PR04MB8788.eurprd04.prod.outlook.com (2603:10a6:20b:42f::21) by PAXPR04MB8960.eurprd04.prod.outlook.com (2603:10a6:102:20f::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6544.24; Mon, 10 Jul 2023 08:57:28 +0000 Received: from AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::cbc0:69aa:c9a2:198e]) by AS8PR04MB8788.eurprd04.prod.outlook.com ([fe80::cbc0:69aa:c9a2:198e%7]) with mapi id 15.20.6565.016; Mon, 10 Jul 2023 08:57:28 +0000 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: cca8e8f3-1eff-11ee-b239-6b7b168915f2 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KqhmvAiGahJ8duQQHzJmRnOJ3n1Rg6hvRNaMtJ8e2iXR1VLHaGml/ujHjFsFYkDQeHyTK8ttM6N/3QuAfZGkGfjNkTylhhXuIvzGI9PcFRivFO3y964qABLn9SuRTpKQeR7VvqI3+Rfh0vhMBJE2RjWEtoxiL7Q9zAfuFiLgNIZqMiKBl7TdY3tm6plNcUtTIObxx47j4/EcdqIuG5UfLrnrOjW+2t+qcpztXpsTbpD59ZpZiQiZzbqfJV6S+T1QkGSsEt9pbYLE9dEM47RE9MH0yq1wIPQhlQ3J6OeYHoU8dDYQnuOLSho1ous+ETXgiOv+tCj/t9ZxBA0m6s/sGA== 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=NsniVDfE1jEbPDiRAa4YFhSNPmca1KwD931ycm8eIt0=; b=BYM3j4R0yhxRcPdJs5jjgo1tuCpsz6cv/Z+wtREnDZActYTjScJp102wu6W05lMUd9WTD8CTA773wYAkRaZ7mbU0dykYQWnXMSKqTdp86i6jKxCohR1gXxZfBiFAnDCy0hqMSt+re6WQ0QLs6Tep3AQzTaD/bx0ikF+Ab0fA6uOPXc+xaok+9hyhKu4t3cEk2z4kRh+P0VL63U+XHB8WVw6NsUpyGcnOK68IAcwDwv12bzkv48UwiLVjZ6Bu9IoxgTR5qlYQ0AIIzM8rPtWDGx6O0UnEgT7caX7794luGnS7vv/wFTDvD8wKXgnHedqqEzCUt1EEcW4ty8e5WNbTuw== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NsniVDfE1jEbPDiRAa4YFhSNPmca1KwD931ycm8eIt0=; b=bpEg4BDpgkgaIbGeGiYYBpwWRnrxzUb93VPtufmn9qSO7dh2Iu5rO8/9RJlcpGwKd4yj4jDStuBJS5IlPNZ6I3yzSCuq3Y5XbFAdHaaYUBFcufAuclE5yDSy8QvYqNj+OHxpEz4SOGuKBVbKTYV4XwtLZaH/1xlxzK2BmT8lUWmrh9INwLHhiqKW7D8SKr1RbweRmV3haPqE+egQg92AcFnWZSHfwVC4qufBYLjp7peaTrwd2d67gNHSXnP6EKx1jRg2V+IzNhHHe5dJhQE9e+P7KREVmS0KgPCrJA89P7zPW9Q/BZ5gJ+akvcCFvxhrElxunqbB7R6Tjhy6iQhinA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Message-ID: <84b2fd88-d852-b1e6-0f4c-cecdcb8c7943@suse.com> Date: Mon, 10 Jul 2023 10:57:26 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: [PATCH v3 8/8] tools/binfile: switch to common annotations model Content-Language: en-US From: Jan Beulich To: "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , Wei Liu , =?utf-8?q?Roger_Pau_Monn=C3=A9?= , Julien Grall , Stefano Stabellini , George Dunlap References: In-Reply-To: X-ClientProxiedBy: FR0P281CA0221.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:ac::17) To AS8PR04MB8788.eurprd04.prod.outlook.com (2603:10a6:20b:42f::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8788:EE_|PAXPR04MB8960:EE_ X-MS-Office365-Filtering-Correlation-Id: 91d91873-9b3f-4a8a-2c2b-08db8123b014 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yVhn8w4nJwd6URS7uBN1XHBU7MT9ohHrk1AVYuHvAoIuhlRg+Q1NQXmT0bs8LQ22bXtTUavYfHxSxm8qyk9sR/hoffg7mfiEEkpmrSsUE9MEtVFCUoMGbmq0eN57xnUZ53QJnKYNI7t8+sjQcu7YQ5W9ydQKI7FT628kJ/T94eYbV/HPkkDtSdfCCOBQ66c1QQ4hZRWkWfiQ6vY6WmrujGQ9HPXGWfjG3v4fKxDFE1ZA4YWJ9rvMop5OupipH8eFMHLsOz+jMSEEPvLGitE8ioNrQtWY6hFkkKTl+1xVSgsLpLXwVKx+DpDbn8W3RbspAdk17BNQb/KQNd9T10NlWasfVDL6aF4800tDjt9AYFT0FftDgN/qbb+CcLxWIxTY0SS/p2ABKeynXc1cavgzguXqJpHIbcj5RMndQ9nuOAL2yJQyOnhlRpEZkKlrGQkcHgh0krUu8hsUc3THW7tlzaoL1fenrlsECidJX7JRAAR+re/8aA6pgFuDWZ3ukNaUumNqDNLAlxYV8S9//63FHueYscrvl9z2q16j0Vq31eLzFrsnGsg5CClRmNVHOaWUSmlyEum1yRbHSPjlClz97Td0tcubaSo/+5J/KfaG3r/kU5x0rF1Bh2Fmz00yUN7mOEdCd9l6LIox6u4TemJXpg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8788.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(376002)(366004)(136003)(346002)(39860400002)(396003)(451199021)(66556008)(6506007)(66946007)(4326008)(66476007)(6916009)(38100700002)(41300700001)(478600001)(316002)(2616005)(6512007)(186003)(26005)(36756003)(6486002)(2906002)(8936002)(4744005)(5660300002)(31686004)(54906003)(86362001)(8676002)(31696002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?f2yiG21gojqAaSnZ0t4zDY0bmRs2?= =?utf-8?q?jRpwWX5G3Mzqzn1bdJHLQSmqeKwvLeuyIGdhs9W6eufwGsPtf4QMiKRzMec8H3ZzZ?= =?utf-8?q?6cq6wTscSa1jktGnXbDOMPJ/mH6gF+TtfkE3VLMziVcsE1Vj/MrWqsz5bl1zwumNw?= =?utf-8?q?6Q2Nn5m/tzZKoeFKWUdcoD0rn857sBk7KKe1fphI0zZvc0qV43u/bhfpqDUi5gw4X?= =?utf-8?q?u6dn1MbIfrf2K7WRAme86+iznG4SyRU3gzZ8CaORqpNW8RQMf73gCfC3sDo3EQ2Zr?= =?utf-8?q?n4RygVEw3WaT6dUQEfvt6q9M3Mpm307KSrt1trLu4KSP5MeRC48EHqR+Lz1kb06dz?= =?utf-8?q?OIUFPmaAc+pUquysN9xXKuouziCAhw0qJoEmXD/P6pd79GRuUF0s0CcieodE593Io?= =?utf-8?q?ScUYop/Mqqk5kVkb3TXCQCCeJpvCcZpmSyyMpM5vqPohcZYTsQu0rUEuAbogWGCWm?= =?utf-8?q?/EVJ66tKxsmoB45+7htAeV1fu5akHDlxFhvUnoWVgJ+8CaVlu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lSRuLvWy0J49AVe9?= =?utf-8?q?X4yNWOQKGL4BsT2B+PZYDmvitSVimcSqo51d8UQbZOQbUvE7ZbVG3/myGD31u02RW?= =?utf-8?q?+7Vr1+q9q9/5mFCSdEyXqFyHneAKl5PSX4a8k5HqGxJO1oU9tZ6D4MOYaNzgPk8jO?= =?utf-8?q?LZwh5iiVa08U?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91d91873-9b3f-4a8a-2c2b-08db8123b014 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8788.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2023 08:57:28.1738 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: X5S4axufVpW961kvUMGkkfhygwRLCpBkOUwJdd2cMyPI3I3e+EyQIKiBChmm2T7aBdn8x7JqHxeDGj1k0DIfZg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8960 Use DATA() / END() and drop the now redundant .global. No change in generated data; of course the two symbols now properly gain "hidden" binding. Signed-off-by: Jan Beulich --- v3: New. --- a/xen/tools/binfile +++ b/xen/tools/binfile @@ -29,15 +29,10 @@ cat <$target .section $section.rodata, "a", %progbits - .p2align $align - .global $varname -$varname: +DATA($varname, 1 << $align) .incbin "$binsource" .Lend: +END($varname) - .type $varname, %object - .size $varname, .Lend - $varname - - .global ${varname}_size ASM_INT(${varname}_size, .Lend - $varname) EOF