Message ID | 29f404eb-e5c9-fb1a-e60a-47d4dc77578e@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <xen-devel-bounces@lists.xenproject.org> 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 5331CC04A6A for <xen-devel@archiver.kernel.org>; Fri, 4 Aug 2023 06:28:13 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.576867.903498 (Exim 4.92) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1qRoI8-0002Rk-E7; Fri, 04 Aug 2023 06:28:04 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 576867.903498; Fri, 04 Aug 2023 06:28:04 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1qRoI8-0002Rb-BV; Fri, 04 Aug 2023 06:28:04 +0000 Received: by outflank-mailman (input) for mailman id 576867; Fri, 04 Aug 2023 06:28:03 +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 <SRS0=VoTD=DV=suse.com=JBeulich@srs-se1.protection.inumbo.net>) id 1qRoI7-0002N8-3y for xen-devel@lists.xenproject.org; Fri, 04 Aug 2023 06:28:03 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on0626.outbound.protection.outlook.com [2a01:111:f400:fe0e::626]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 0f856222-3290-11ee-8613-37d641c3527e; Fri, 04 Aug 2023 08:28:01 +0200 (CEST) Received: from DU2PR04MB8790.eurprd04.prod.outlook.com (2603:10a6:10:2e1::23) by PA4PR04MB7549.eurprd04.prod.outlook.com (2603:10a6:102:e0::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.20; Fri, 4 Aug 2023 06:27:59 +0000 Received: from DU2PR04MB8790.eurprd04.prod.outlook.com ([fe80::e5cf:5743:ab60:b14e]) by DU2PR04MB8790.eurprd04.prod.outlook.com ([fe80::e5cf:5743:ab60:b14e%5]) with mapi id 15.20.6631.046; Fri, 4 Aug 2023 06:27:59 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion <xen-devel.lists.xenproject.org> List-Unsubscribe: <https://lists.xenproject.org/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xenproject.org> List-Help: <mailto:xen-devel-request@lists.xenproject.org?subject=help> List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=subscribe> Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" <xen-devel-bounces@lists.xenproject.org> X-Inumbo-ID: 0f856222-3290-11ee-8613-37d641c3527e ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OmXQcmb5VAeeXY7500tmOnrHEZ7BMb0QH1HdJ1bZJBb7B6L1uarMCpYCjdVO1nk7m4qm9B1OH+ySoFy2mQ3Ca+oGaI+/6hIijYtbE/hLMUZNjhyVUYJePIAlLk1uo+OFIZoaBfLf5FEVnESmoYHHkJFWQILM6fMIqqD9aHbKjEdqtVqn7JmOkZEv3EO7vZyNoeQoHY7jZRqZml9XIOjVNVwvB2dEglHWpO30TxmKpRMfbgd5Kol0yh01DlrWM4j8fXHjCj4tH0gGMne4dvgWcw9w9CO6vaxG0Xe+5cvUDo2thZqHuyCzkrSApHfucJBLs3WGzfthwndPm7/KXYHsNw== 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=bxqTYAMqHDtwTsaXt5W2izXbr1PoTAZ70AuZ6hPpGqA=; b=Hzeq8KGKWMKgaTZq4tO5BLrEPSwV0dIW3/04kJUAfiVN0ClNJz67iP4Asv4UfjBaRUpuC7NpIKZ7C+bTmcAuKFv5zCUa858worpdhMN+g36GPba88ul/aTDp+/wGcNdXutNFpdcPJHNu0tbLIbD1/r4/wc4HeNjJrQSEoO7lZThbKRFMI+O+u8BHGuEdfV9h6/DCLbScONIcUEKOGIGB9iL7DWDOmw5pI3scE5lAi6c6uA8dgrvF5wIyv7EjyYovPptO0M86a/w+8N0miH2wk/d2FRTC+xG4zKB2paBLwEMjsJdzrhf7IZOjqqgWc9MrJ11jATOQ3b32gfr/HSfAzQ== 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=bxqTYAMqHDtwTsaXt5W2izXbr1PoTAZ70AuZ6hPpGqA=; b=IdUvyZWUWUnfYBIqNaqq1O8tiAOM5N90Gg0IUpzsuu8NmnD2KNqr79fNMMlGnvaZUCkCci5eIgsjT4yD7DDWUAS0cb+ACjS7j4l92+q2MOBl+1SthyWay32gKkquvsMbDGR6eCNUMCA1KdH84Rsmov/2q+E++4VdTblu1AaMmOaLsZiT4G3gu/nuk//qanBeoccA5ZDCiATEewKyuN3XCPcWwjzJYGcZYItu3dgOekpBS64aJXphwH+ru0IMP5d7pqN8+VF/gUkgnGS95hisFL/8SJ2UoMTbYGpMfhhV/AEr8XzAN2XUYq2h2ybEsy+fepaARJCLDRrdxdFMaKuf5Q== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Message-ID: <29f404eb-e5c9-fb1a-e60a-47d4dc77578e@suse.com> Date: Fri, 4 Aug 2023 08:27:57 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1 Subject: [PATCH v4 3/8] x86: also mark assembler globals hidden Content-Language: en-US From: Jan Beulich <jbeulich@suse.com> To: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org> Cc: Andrew Cooper <andrew.cooper3@citrix.com>, Wei Liu <wl@xen.org>, =?utf-8?q?Roger_Pau_Monn=C3=A9?= <roger.pau@citrix.com>, Julien Grall <julien@xen.org>, Stefano Stabellini <sstabellini@kernel.org>, George Dunlap <george.dunlap@citrix.com> References: <e4bf47ca-2ae6-1fd4-56a6-e4e777150b64@suse.com> <bfc597f3-c61c-727a-159a-859f57997d02@suse.com> In-Reply-To: <bfc597f3-c61c-727a-159a-859f57997d02@suse.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: FR0P281CA0018.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:15::23) To DU2PR04MB8790.eurprd04.prod.outlook.com (2603:10a6:10:2e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8790:EE_|PA4PR04MB7549:EE_ X-MS-Office365-Filtering-Correlation-Id: 0ced7ace-56d8-41c9-db83-08db94b3f2bf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Rl4RFUex+Nm08t8dyQ0ELwJIMCxxc4nDVySDnhLQklu2sUUrK3STQYg0wchr7WHWjAR477MYagGiH0Lv04++W50IZJ/GF5sn14sDeqpHel6vrzOwo4FRd/AomnvHvSLMHTYM48WWlxJnh/iiTKzd4rK/D7eI1BYzrLZCYWQlJXmA5XVvGdUGdr8aX2QOeRjZ1jxBJcW1giGLTw4rNWPzdvV8pPbcoFm2tij3mY3rwuOTl8vZ7wUwESp4ke1ZAV24TB756NMCoQDFBgZOF0sq1NHybLFs35nDAIb2vFZ5SPr7Vj6CDg6VcJhzBgqEb5pLRBkYuCQ8CFdz1krtl15Qz9aZv8UPE1Eyb5ih92/o/lfphxpW40sY2JrUnpVSlwNudHRZCvkui5cO7ZzNI6Z4QYxjH7MHcSkawq3fVx7uiqEmXrnTdHLPrYX4BF2Ny8kTCQ0eNpQHBcT9je1PoT3R4HBsX/EGNw5wLa614vWpJgXvj/AxNMhmdpq0hvvtZfHUb/j2awAH/MCy0zqNhmR14HkfULIgByjXOYvWdBQc55RIfwU+zjJSN1pAdGEqZ+pAPEXckQHvYqjqzVxscEzSDJTJfWPN7Fgfo+tD62vXd+dhmHrJ3tJvjLk49Gta1hNScjV3CwPWQd1gRxpBqTmlqA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8790.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(136003)(396003)(366004)(39860400002)(376002)(346002)(451199021)(1800799003)(186006)(4326008)(6916009)(316002)(2616005)(66946007)(66476007)(66556008)(5660300002)(26005)(41300700001)(6506007)(8676002)(8936002)(31696002)(54906003)(6512007)(6486002)(478600001)(31686004)(38100700002)(2906002)(86362001)(36756003)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Kh5lq+pu2DiNkzd1Ufm31JGjf/BW?= =?utf-8?q?hChBah8oYsQxhdl17b0BnPAw+ohfk7yAfX+HM4oThd0VJApMC+nK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72NcgY?= =?utf-8?q?W0Krv5xNckAzCwTXWqgUJzoO/MRKbVsEn5j03FcOxQuHphZzh3EgwuNQNUF3TjjwV?= =?utf-8?q?s7lHFCf7fhVa4azCrATPkRTd6IjCN78mukqGbAXgDwnyVbpIjUnIxa/g/7MrU2FAR?= =?utf-8?q?H1KWIpmfhJ1TmMC2HShpz9l+pHcPVXD3XGbYqJ1AAJh7NEcCE0fIABESnITRisSZy?= =?utf-8?q?4X3Hhz1z1gPmZPCsQCLxcr4Abl8Ja7bbXpDpHSAtqadvR3x3529cb2TUp8xBZbVhZ?= =?utf-8?q?/UvoTr9kraMO60rxy4SQntVDyDcKruimlhJrN0czi6VDM47TQwj5ZuXnGEtsF5UfK?= =?utf-8?q?mvpgMqLobR0y7ozYrUJOvT54TbdioukJKCy5ao3duh2ah2Zmf7nGVWn4iE+/uhSRZ?= =?utf-8?q?/awc3WtzpFxome87/KAZZq3VzApPUVqvH0o2uatMTI3kgLRN+1/dakT/LiLPgKsTH?= =?utf-8?q?OobKnZyEYoNkv+7+nL3vffgOGakYAOTv9V8BbnLwmnsUKgk11cWhlRwaxlJ2Iozo7?= =?utf-8?q?X7S03BkEtYPyhwYqfWsoBvyGMlN3J85yiKoNTIJFiq70oQLV348wOVpcZKyLRx+HC?= =?utf-8?q?4dpf8jxlI+Ro?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0ced7ace-56d8-41c9-db83-08db94b3f2bf X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8790.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Aug 2023 06:27:59.7027 (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: 3D4AWl7BLojvCUKyhf9Z5B67qSTKpxebycLVSTdXNGhweR111Ope2gEOAzgh5GTKyZkisWs3kMeX3wVy3HFewQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7549 |
Series |
annotate entry points with type and size
|
expand
|
--- a/xen/arch/x86/include/asm/config.h +++ b/xen/arch/x86/include/asm/config.h @@ -47,11 +47,11 @@ #define CODE_FILL 0x90 #define ALIGN .align CODE_ALIGN, CODE_FILL #define ENTRY(name) \ - .globl name; \ ALIGN; \ - name: + GLOBAL(name) #define GLOBAL(name) \ .globl name; \ + .hidden name; \ name: #endif --- a/xen/include/xen/linkage.h +++ b/xen/include/xen/linkage.h @@ -21,7 +21,7 @@ #define SYM_ALIGN(algn...) .balign algn -#define SYM_L_GLOBAL(name) .globl name +#define SYM_L_GLOBAL(name) .globl name; .hidden name #define SYM_L_WEAK(name) .weak name #define SYM_L_LOCAL(name) /* nothing */