Message ID | 8f385c36-cfe5-1b0a-45b6-ea6c008b20c8@suse.com |
---|---|
Headers |
Return-Path: <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp5592224wrr; Mon, 28 Nov 2022 03:29:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf5aJWEBkkjizUi1sm2CbYQlnOUP605aTnrjZH2yiIs5FnQ+LcpEy+tGLy7avlbQPHgtdESK X-Received: by 2002:a17:906:a884:b0:7bd:15a6:27e8 with SMTP id ha4-20020a170906a88400b007bd15a627e8mr12099730ejb.78.1669634979637; Mon, 28 Nov 2022 03:29:39 -0800 (PST) Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id ss2-20020a170907c00200b007add0e1a187si8034865ejc.594.2022.11.28.03.29.39 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 03:29:39 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=NonIVD8a; arc=fail (signature failed); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3171C385B19A for <ouuuleilei@gmail.com>; Mon, 28 Nov 2022 11:29:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3171C385B19A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669634978; bh=ayjUfe95RlaK8oTzue8rlJZYdBU8S3Qo+3iqYt5NTms=; h=Date:Subject:To:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=NonIVD8aL/BTGg4LnoTov7bRb+9y1JG3YdqPyTdu8yHahmZf13kzhZweApVIYKn2F 5fSUTpV3cH+ijAOmwoQHWEDS5Dq2TYiCgLFYp+JAISJO8ROAkLWjdSs8/QgoA472qw dwexDGBwCuKbbf1MmkyEVN7G0Twp215Gvz7c41xo= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2047.outbound.protection.outlook.com [40.107.8.47]) by sourceware.org (Postfix) with ESMTPS id 594BA385781F for <binutils@sourceware.org>; Mon, 28 Nov 2022 11:29:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 594BA385781F ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bS/AQk6QGEUiK7FOpk1820GRKu3gXFpnVSAsAZToZu3FOEG/sPzL733nHX7J7H5xhHGyX44Icp+xZ8SAn0+KQLw6gv6AfXg390/EbL7wUMIDYP91gEE7FX6ZvFwAIK/Swu3m/izjI0tHXp5B74dcoSUuBJXUihRXs6/nZwAOsQei7VnlD6J1UDFBE528jkF2pryJ9jdPj/hfI5/hz5+5EFYC+lkJS5PwmAy30O8ydZy7a88A1RXen5rgnNmh1mCyQGwroc1S6UaLObJD7RR/WbXh8cbk1do7yr+RBUwxfdWjCLrVlRXF/mMq4kbDbYMPqf6jh/96Pv4A6JmpyKTdLQ== 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=ayjUfe95RlaK8oTzue8rlJZYdBU8S3Qo+3iqYt5NTms=; b=MArMW0H6+xl8gfnOu/r7v9mXywMyfWnktoLaRhtn3vzK2x+AAZhp9JVeI0JplRBYP3bs+Fslkkdg7ou0pEV+ERxEpWKC/kPXa/enrPt0xNZMv8tZYsg26a7uH+h10jf6HSQQRScyDx9LMECN59XRmg0sZoVo4goJs7QusD8rO4bxrxL/C4ccfVq7H9rXHxVl3geK2TwdlS664xz1SLWqHurpp6ltM3+oiRi+cdD/sSqg0/5WkIJzQcdUXifrQiVACm9eOv1ZOhtYTrzlMP/Me4s1u1x8wcGvvVo1epglet+AkzC/jEWkNVOgtvo3/hiVkB3xPLWboKuhHXrcx8szvQ== 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 Received: from VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) by PAXPR04MB8543.eurprd04.prod.outlook.com (2603:10a6:102:216::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.20; Mon, 28 Nov 2022 11:29:27 +0000 Received: from VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::4da2:ea8b:e71e:b8d8]) by VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::4da2:ea8b:e71e:b8d8%4]) with mapi id 15.20.5857.023; Mon, 28 Nov 2022 11:29:27 +0000 Message-ID: <8f385c36-cfe5-1b0a-45b6-ea6c008b20c8@suse.com> Date: Mon, 28 Nov 2022 12:29:25 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: [PATCH v3 0/6] x86: break gas dependency on libopcodes To: Binutils <binutils@sourceware.org> Cc: "H.J. Lu" <hjl.tools@gmail.com> Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR3P281CA0069.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:4b::16) To VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6560:EE_|PAXPR04MB8543:EE_ X-MS-Office365-Filtering-Correlation-Id: de9e5eb9-10d1-4adb-651e-08dad133cec6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SQUQW6PvQavAZob1xN/G6IaiVcOvOfQ4CRuyBQJUfaJEODbdVX5oYJTiuufFKaAm3gRkQxohZDyjOYbYHutbhHATd+DEDZoAW/AIDqUTNXUTR/fhhaKYDrEUDPdsJI4xsyR7LUm+p5WaozSu6frCwVu1AV/RnpFJhQdEoEo/cBdMJR+nNtLYfHuhh8zTBYeGs45ZdOzmfU0JVSmaR3oX7R5yID0US9y5wCtnlnZSItBz4jdPJEiK6Odsyf+rNu/5MZfQFhR0UUHPfPrqGZoJXdAm7VZZ7wVJUmYgNX/z6JJ5+HooS77PcNexH6vA4oVNU2woL9SJUg3lcCUJ+jEVhVkhHiWpnDraBYReIN2k11+3R4wrhO9jGlr+08sRszxmZDSnz31JH9QepA7WDIOOiAHmal/l0CsaHzW6hoIg6CvTFOCp7ES1BC0nshalS6fWhNQzotdO6qA+WNiA/UD8s1z91CVG5Im5BSrNR7267aZoXXjZ1RYCG0wRpq07ifVSEK2Coj6B98/Rhbj+7kdhZlY0bpRgNfwUHrn0WrdE8vKS7kjNOIc5tdjJPDfCVzPBHIZlRCWI9BvH2UTQjGDlgnGOhhakDgxPiU7R6uhHJHUasD5OJayBsLKqgEM5Cok+LOr3M/QphO1t3/mOYEqJUxd4qHD+hizuEjWQaWP/yil3wyrqDOzfgr7FhC8cDyl9YGMvMCMkwzyxwmEqwJLoTxuj209DwtsW75uMDjUVM7E= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR04MB6560.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(366004)(396003)(136003)(376002)(346002)(39860400002)(451199015)(2616005)(31686004)(2906002)(83380400001)(6512007)(6506007)(38100700002)(66946007)(66476007)(41300700001)(66556008)(8676002)(6486002)(36756003)(26005)(478600001)(186003)(5660300002)(8936002)(4326008)(86362001)(31696002)(316002)(6916009)(4744005)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?nZIpmqzTKf09AbGkUdI40xVbMETk?= =?utf-8?q?8zDY2VmsgHu912IK+QSLz9TOKGBjHrHA2n//eAPjorTxlAAH2TXctdhuM8n3Oojmz?= =?utf-8?q?DICMxtikSiS/cLJdqY42Ljf9qMpWWdEGF6gZqKplXzEF9I1quGfktrOjXgNLQvHlV?= =?utf-8?q?yve5LaP2d9B39/mhhDagJ0Saod8DRDqgEkLe+kOfLbpdb5OhiBvSrOMq6E9gzVrH/?= =?utf-8?q?sCF56yTtzccdMhrufTsMyKF8TMAYJNBfBOOSpACytF64uZS7nBOnwNLZz/TO5lJZC?= =?utf-8?q?xXPbHEQ734LfhHLJJ7RmXgnW51m+t1Ci833or47ewralmB8QxT9AQD3CRvUEgfgRv?= =?utf-8?q?LqKcwv9FY19EsILmF1Za80nEcor5eoVYKEGEeXVkyKtRiFV/WyDo1miyf7f8ekwnp?= =?utf-8?q?xwEXnBWrPL7FezKo9lKc4tJO+mEui+aVmiWOAVIbqXJhHmGS7IZnzhO2Fqj3duMOI?= =?utf-8?q?unRMiuHGX6z+9MqwYqYvKB8umkFC/pArIcOb8qK5cwApigrzRkzt9x6nG9+fK9jbP?= =?utf-8?q?9nRBZGMWb2txok4mBEJom9tFaLwk9otnGCKyFurNQ2VsablpZ4gxgag8huQ4lkH04?= =?utf-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?= =?utf-8?q?rGm/YrUVlD6wIDXTHLFSFvaxbE3e9C/qBjESpeJirVKhL+gnkC5WDGaSFzKrLA3Cu?= =?utf-8?q?b66rIKqAWPhY?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: de9e5eb9-10d1-4adb-651e-08dad133cec6 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6560.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2022 11:29:27.0710 (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: ykt2PzmOEILg8WSAN8Ku06I1b+ghmbjC9OJJADj+9Bcd/R8jpOQ4bwg9uJ3pJwBFSaoBTBYL7hYM5UVrCbAWIw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8543 X-Spam-Status: No, score=-3029.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> From: Jan Beulich via Binutils <binutils@sourceware.org> Reply-To: Jan Beulich <jbeulich@suse.com> Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750739168290581509?= X-GMAIL-MSGID: =?utf-8?q?1750739168290581509?= |
Series |
x86: break gas dependency on libopcodes
|
|
Message
Jan Beulich
Nov. 28, 2022, 11:29 a.m. UTC
Unlike many other architectures, x86 does not share an opcode table between assembly and disassembly. Any consumer of libopcodes would only ever access one of the two. v3: Two new patches (4 and 6). Correct an omission from patch 2. 1: instantiate i386_{op,reg}tab[] in gas instead of in libopcodes 2: remove i386-opc.c 3: break gas dependency on libopcodes 4: add generated tables dependency check to gas 5: drop sentinel from i386_optab[] 6: generate template sets data at build time Jan