From patchwork Fri Apr 29 09:36:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Roger_Pau_Monn=C3=A9?= X-Patchwork-Id: 12831671 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 C4365C433FE for ; Fri, 29 Apr 2022 09:37:25 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.317071.536224 (Exim 4.92) (envelope-from ) id 1nkN3k-0005e1-98; Fri, 29 Apr 2022 09:37:08 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 317071.536224; Fri, 29 Apr 2022 09:37:08 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nkN3k-0005du-46; Fri, 29 Apr 2022 09:37:08 +0000 Received: by outflank-mailman (input) for mailman id 317071; Fri, 29 Apr 2022 09:37:06 +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 1nkN3i-0005do-Jq for xen-devel@lists.xenproject.org; Fri, 29 Apr 2022 09:37:06 +0000 Received: from esa2.hc3370-68.iphmx.com (esa2.hc3370-68.iphmx.com [216.71.145.153]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id ed1c12c3-c79f-11ec-a405-831a346695d4; Fri, 29 Apr 2022 11:37:05 +0200 (CEST) Received: from mail-sn1anam02lp2047.outbound.protection.outlook.com (HELO NAM02-SN1-obe.outbound.protection.outlook.com) ([104.47.57.47]) by ob1.hc3370-68.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 29 Apr 2022 05:37:02 -0400 Received: from DS7PR03MB5608.namprd03.prod.outlook.com (2603:10b6:5:2c9::18) by DM6PR03MB4825.namprd03.prod.outlook.com (2603:10b6:5:187::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.15; Fri, 29 Apr 2022 09:36:59 +0000 Received: from DS7PR03MB5608.namprd03.prod.outlook.com ([fe80::5df3:95ce:4dfd:134e]) by DS7PR03MB5608.namprd03.prod.outlook.com ([fe80::5df3:95ce:4dfd:134e%4]) with mapi id 15.20.5186.026; Fri, 29 Apr 2022 09:36:59 +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: ed1c12c3-c79f-11ec-a405-831a346695d4 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1651225024; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=Rop4v5R40LGeUzCkE8sILGrwn1lXGmJdPUUUxOkBq90=; b=Y1zvaa15Obj5LgGdHBe9bcnh2s8SKwZRqeOg/JnDN4l2pQjU5PAYuVRZ yPzczcrmbSyrpxf8pzkMSFk3NZy+wCMmQ136yWhWB5C3P7//s0bKNfT/e od2XHwxUMZqdsEmMIf7oLfqsO4KN11fMZX8REFNAfyByrST3xsAwVRjvD A=; X-IronPort-RemoteIP: 104.47.57.47 X-IronPort-MID: 70238441 X-IronPort-Reputation: None X-IronPort-Listener: OutboundMail X-IronPort-SenderGroup: RELAY_O365 X-IronPort-MailFlowPolicy: $RELAYED IronPort-Data: A9a23:H4ItIatledGlUf7Lbhf3+Aq66+fnVEpfMUV32f8akzHdYApBsoF/q tZmKTrTbKuCYWD2L9pya4nn/BkD6JTVmtRhH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iTniw6uaogkc7qevAotqOXq01oumM mkmWZUAyzeg0mhD12dkF/I4U3NwTwu43jtxRuzmn34u/H0Qzo8Fo5omZ9ZWgGx0TttgPhMlI Zwm06JvZteCh3N2A7n4cLTah1snk2o5VI/jO8oiWBFW4d2Us4dkWUmxjIaLH48JlO61Gh+e9 MeTP00pcwmO29yVkqp8VWGm7eXLzcO9hTveDlxhiXa6UkVoJlD9Tpm+CUupAZ9yHsDceg72w 29CNUPqFhvdL5jUUsvPpZ3fSOIYla9MS7kASa1HWnNMp0hFjbkl6PXiY9Fl91CPqZ4h6cPpA == X-IronPort-AV: E=Sophos;i="5.91,297,1647316800"; d="scan'208";a="70238441" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ITQXWxpe0ImC3GChbfaXl7/lB2XfWAOQ3N40ArVPEPrnlrzw0H5puQOj1nbmYZIPaeTVwO+LotZ9WborQq4BHUDmpP2kHuE09u5vdF2xebBsL9iV5iWJ7/XVgcS2iRQ48V9kRT26cdSa1zsFugNI4Nbv1ctCkzlpscXrEfKBOOQPrTqVLnzSv956IqQUgNlADXQd6MfYgv2lqkDH5OoUgELBNzuwvcUYa68AIg+NhgzfMrnF9/y+exhRZtHmnO9rm6nRSdwsfF8cYniNFqBgB1cS0GJQQtn3hBFsZiMrvhGP0FE2+i8+xM7E8VxjzE/5EIgPCTSsntYkK1ZAKIV1wA== 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=L930wC+Zn/2IbXAp8S80W4g1JAnY9tSi/j7OYIXn7tA=; b=RRyIBPAglkhFs2vWbF+TemvKWRFaYY1z6a4s+y/cxaTeOLFqXK1mWyp8J00octoh5LUguUUOJV/+7m1Ji1UTaOZvTtARn3j3qQpBMIpFGZudsKusQb7GzAbFkhN0NiBuixMb7TDvz4YbOknig1+CA1knebEOJkTBUPhu1CA/qOam54LIh0aNxho8Xt4avFlUesGH2XUmnIwBf6jAYFbszQfLz/l7YsYFUfgpjcwnQQajQ+bBNB29JjcfY1Sp92/PYWGM72SYRn1ort0GjT5x+MqGSqoLK62qiEe+UcGescA5E0oG5OBabhxkJaaj6nmRO1qP5USuHIqNQ9j4MvIEkQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.onmicrosoft.com; s=selector2-citrix-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L930wC+Zn/2IbXAp8S80W4g1JAnY9tSi/j7OYIXn7tA=; b=OMafc+poJSof5ACOZI/4UJiiw7qv8hcEa0eblkOXca8GQqGdMTYswFNc8ZQWpOD6TzjIIRAOcOveTOBk5iq1uX8wi+8YFNdvJ/F7z16PyBRg19TqVO5Kjj9Is5WzFCgsWVo3IX9s2rFO1sKTOagKfs0XyRaqWn/nQ7Wh+7w47pQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com; From: Roger Pau Monne To: xen-devel@lists.xenproject.org Cc: Roger Pau Monne , Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu Subject: [PATCH 0/2] linker: fix build with LLVM LD Date: Fri, 29 Apr 2022 11:36:42 +0200 Message-Id: <20220429093644.99574-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.35.1 X-ClientProxiedBy: MR1P264CA0043.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:3e::10) To DS7PR03MB5608.namprd03.prod.outlook.com (2603:10b6:5:2c9::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 710ed1b9-a2a4-4e5c-6e1a-08da29c3cf17 X-MS-TrafficTypeDiagnostic: DM6PR03MB4825:EE_ X-MS-Exchange-AtpMessageProperties: SA|SL X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DwssLMqMXkl5/PpPawZpCJMt1yPX656IOMbSZTFkxHvY96VirEgQBU7O9g74QdU9eM0q9TYt3okLMWnxsww51DlIznG4eNYOKjxorGZu/+Pr2+ggX+1KvtkYJyZ+EshcQwc9u2LvhHE7PsX24icKlX1kwu5J5U25/zF3ERVVKMxI+N7bV9lEfocHeKqtjF7FygZmrw8oD17Ngy/DduRq3tSpPf23nocGRTR0YO8CQXEh1loD+2yp6OX2020QCOxcVYuz4ydDBspxF2mHQ/HPAVrr05Ne09yzguALkyorHPqwf1h+ZWutMZKn07vf4ktszOf8g2jOUFK1faL+CmQhmoyi0CBpcs/DjGvIjaaCyX+s9i/jH68JzP4li6/GuubNMdV2qqtDjB0K54i0xb8LHPNGQdzdzkmmSHVoapyj+hk+V815HAYBxBNoLYfQBBeWBPB3Fa7SAKNoIF4yxbXgrb6yGCCsj4raT4AKXrKM7BYDhyF42nHZ7pVNUMqbuiKJgW6dajDLgexl/3zdACfZax5tFqI2NnjC9C/dNYL9Z4DLlBOBl4VjsHOe4aqSGdcCmwgp6HoIHpo+/btU5Eaz07ygIhEPj3Mu5DcaeZVj7y2RoUjHeZoFpibne+UWTPEkGeRrQ0Pi3iv0D68+pSpwvQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS7PR03MB5608.namprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(38100700002)(6916009)(508600001)(8936002)(36756003)(66476007)(4326008)(8676002)(66946007)(316002)(82960400001)(54906003)(66556008)(26005)(2616005)(6512007)(6666004)(2906002)(1076003)(6506007)(6486002)(186003)(83380400001)(4744005)(86362001)(5660300002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?VHsPUGNDZTSj2EO4Yotek2y6NdNK?= =?utf-8?q?0O2qqvTxfJxCUstjBpNYffH9m1WFkwdmOYNYolZSHh3uoBH8aMPUHTUXzXTvhoa+x?= =?utf-8?q?WW35d2F9CrSroahaFALXqgQhTHnrr4pl+T5+dOz6z3ZWX/d5k8lmOT8zQXig0BP6e?= =?utf-8?q?Y9gSx9iDwhJXVGqzhvDg036Y7AdnRl/2TxSwj7TXDA4xf+sySvs5544kWH33S7RKn?= =?utf-8?q?K+PMBnPLBerl2GoqSZxrilhgOXoXts3zNiBGHaZTp0LkCPti2KhHHI6rh0mB2f9b7?= =?utf-8?q?e44XnnN87fF5StwmiK03QtXUvrnQE0j+t5JTa5RGiZvJj9upWf+G/IfwzPdtgFrdj?= =?utf-8?q?NtwsndUZsmL9/IbHhYqaH2xA0ua5YgIa02NVL0b9Tc8YlAjEGGBBowAa1Jr12Zg6M?= =?utf-8?q?dedlbuhOamYnsPN6PMYaHCb8tcQje5JVHNXT78bS+hxifjDkh+GWt5MR5jdFYocPZ?= =?utf-8?q?jklEVv8HQLRbBE3tmYHgqYdmE2jJDhWBCo1UATT9TSsCJOry7keqXK1Z76RhC4ATJ?= =?utf-8?q?YH6a/7roWK7X/yvU2uQEn1wL4tY90+s4ByiOtruJOH/tR8lxRU9//ow4S6/Yq4Vjw?= =?utf-8?q?iC4S6JhAYu6fWJEuQ2bk7fPbvm4fQkvF6H0Dtonep5Cfwo7owmL80AJr2ESgaH08b?= =?utf-8?q?fYbZbCJ1yGCky3GCFlVSrmaREdPqHEduLyvOW9sffYgXqa+7mXe1IIaSPSyDpAmkV?= =?utf-8?q?WWPhtvG9BY2HchvYVRGA34ibY7mdlbm7X4Mp4vlDTidMWd9x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=?utf-8?q?T19Ob0uoPdMtEl3rQ17vrNPBskOQuoEPKqfIocTuCZMM7BmvKYfx0=3D?= X-OriginatorOrg: citrix.com X-MS-Exchange-CrossTenant-Network-Message-Id: 710ed1b9-a2a4-4e5c-6e1a-08da29c3cf17 X-MS-Exchange-CrossTenant-AuthSource: DS7PR03MB5608.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2022 09:36:59.6921 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335836de-42ef-43a2-b145-348c2ee9ca5b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: s3vntZj3fEEx8byB0TIzeG6ZMbQTWwDwqPYhhCpXi6ipT2NOb6HPSloE91nhw2lo7SC7ISw9WPA47O1HniCEsw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR03MB4825 Hello, LLVM LD doesn't remove quotes from sections names, and thus the resulting binary cannot be parsed by some tools due to the quoted sections names. First patch has already been posted independently and got not enough Acks/RB, second patch depends on the first one and is the actual fix for the issue. Thanks, Roger. Roger Pau Monne (2): kconfig: detect LD implementation linker/lld: do not generate quoted section names xen/Kconfig | 6 ++++++ xen/arch/x86/xen.lds.S | 6 +++++- xen/include/xen/xen.lds.h | 8 ++++---- 3 files changed, 15 insertions(+), 5 deletions(-)