From patchwork Fri Nov 18 09:13:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 22217 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp79917wrr; Fri, 18 Nov 2022 01:14:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf6F6cK33U+7l01QTQd1fAHnZttCwnSduWHFrs8G2OvULtNeoWLPwOD2Nic5mgRc0UD7b7aZ X-Received: by 2002:aa7:cc12:0:b0:462:79ec:55eb with SMTP id q18-20020aa7cc12000000b0046279ec55ebmr5295317edt.151.1668762846321; Fri, 18 Nov 2022 01:14:06 -0800 (PST) Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id ae6-20020a17090725c600b007309a570223si2829888ejc.609.2022.11.18.01.14.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Nov 2022 01:14:06 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=O4Z5wqZo; arc=fail (signature failed); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c 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 6D5FA383F2E1 for ; Fri, 18 Nov 2022 09:13:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6D5FA383F2E1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668762832; bh=ji/LybRXyJjUK2KXELvkS+6VfOHhokEgFDyUwu2WnYY=; h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=O4Z5wqZoO1D0JNWVDVoVwlBcrcseBPa5HSVIQQWr8YZHgUR7Op8kUb64qom6op67M H2HxWBSwrSa0w9jXD2hkLK70dPHm23UELU/mruwsfirbtaEio/Io8NritL/3kSXhVx gqnEZku4/B7t2SqEu9hrwZEpuO5tP38gsefIuF0w= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80070.outbound.protection.outlook.com [40.107.8.70]) by sourceware.org (Postfix) with ESMTPS id A663B383B2D9 for ; Fri, 18 Nov 2022 09:13:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A663B383B2D9 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HQLom8kXEbcXF0+Dt+bkdnxPrZKYw0Gws7+6nRaGXjap7D4n1q6+59Kr2m4rOQHWBiqN9eFC0lNjXCZWeD7RaTgvLcYa6ZFBMj/P4HzwrBQ+C6BH6W/VAPw/DBicaBXI0rbLoWLVS1K6KpSVroeyS6OHHSHhSSai3ctwUJgpii85zAs/8+7dpADIzeOacMMfxmvlhwwbLvDt6KaZiR9JN/vLX6ZvwuvY95h0UiE34P4D14n9xtIumd30cSa1yLgY+/ujLOfveUsCUGafBdWu6YNiGrBDGNmnImpwa6KZ+UiKL2eArymkxKH+ZLMSsMJiK0EblNtV4+QVbY5TQ4o8jg== 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=ji/LybRXyJjUK2KXELvkS+6VfOHhokEgFDyUwu2WnYY=; b=PDWjeIYg5ORnks2BeZ+lSH/Xb9FiZ4TCTTCsdK2KwNKscAYWMAsgqex6iEYmNPWVnmFBRHZC6bB74eu6W2rdiIbAHvKnRaZrAVF3DGh3ZM8EnB1R4M1Zp6rop5OqVXKd2GcYXLctuMr2vvtl6LwXVH95JNLnBjxC/4r6pQb5TrWQUUyL6jLpqzUBpjIQfwnq3SLq7fmDS7U7OGHMASupHD6DCz2edxRs0zGDWxhRTq4F91pU3HZGqAARiuTTJcr4v/LDHsmJAcBMAkJS+aBW/tNlQKJvYPJ/CetQZoV7EgkKaFehr9axK9T0eegntjpLJ/92Fj1e3XrX69VJLWZizw== 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 AS8PR04MB9094.eurprd04.prod.outlook.com (2603:10a6:20b:445::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.9; Fri, 18 Nov 2022 09:13:25 +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.5813.018; Fri, 18 Nov 2022 09:13:25 +0000 Message-ID: Date: Fri, 18 Nov 2022 10:13:24 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: [PATCH v2 3/4] x86: break gas dependency on libopcodes Content-Language: en-US To: Binutils Cc: "H.J. Lu" References: <7a1ee76a-5b54-32a6-6301-a1741b5c1883@suse.com> In-Reply-To: <7a1ee76a-5b54-32a6-6301-a1741b5c1883@suse.com> X-ClientProxiedBy: FR3P281CA0118.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a3::13) To VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6560:EE_|AS8PR04MB9094:EE_ X-MS-Office365-Filtering-Correlation-Id: e18779fd-0851-43ac-bcde-08dac9452608 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: h6ulWXf6SZyO804FcGVAlB2fllGcQEw1YPnwt2eHn+7Zfh/Tlf4L5eJao7OROc2kji4Ue9astTK+5+/ye7rvRfK8UAvW5oiUul30yYa+znJgQS1WEjK6aE8bCcwZ8eQ7tKd4bOlmwatQe2UA+9/PwNDfVrzW1lIaBdjWQF0rUX1R2CxIE7SEQWhUbm1o0IyPt6YcKYLYTpq1QXa80h0Hw7WGZ+/1kqj7Uxj0XMpCXCZnS50xA+QWJrXWUmOxZGxkSSfda/44rW/EBE1h9pDEig7maLL8C7C/Aphaiy/+Th7+DQbBcNWgDuwfb5m/xS7SILAo30Z/jJ0GOAGT7Wjz59RmZPlJWaIjHFg2DAXasFNt4rvIb01bJv6naizUyDY2nUPH6cWwjH1tyxbiiCz1ribzjMRnOP2imjKVM6UeUKqNEvKXPv3sGoaVnMlo89PXSLCIE0GgNNdRhaEvnc3lcc3pWjYnGwjX4+mvpfRo9ixM2naWd6AYhJ/lncZMpk7wbHT/cXipshtlGXY5aB2xkn8zPsNoGj3tckI5YKT591R7r22XRcLRaW97ZJj4WwpvV1r0wmUEt3kDvggsfCecP6zbGp/d+cuBpA3UG6AuM5+7IeOg78GY4O2bjIILdWKh5s9l1249Ml9sV1eHBiH7FdXd3+qThifc2vJej3l/c0NzAblAHAkvmgw4Y2YykgbM1th+0LqWVu7YZ+YtkehPpjLIs1eXIPe0ng6PQQ6NBhA= 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)(136003)(366004)(39860400002)(376002)(346002)(396003)(451199015)(316002)(6916009)(31696002)(6512007)(26005)(8676002)(38100700002)(4326008)(66476007)(86362001)(66556008)(66946007)(4744005)(2906002)(36756003)(2616005)(41300700001)(5660300002)(186003)(8936002)(31686004)(478600001)(6486002)(6506007)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?fOuIp0cvfhxueFeGZfTZ7B7K/iNA?= =?utf-8?q?ZCgdRTR3UWzDSbNBXzkfUC+emzIAp36bDA69OWSWYwUq7BkVMCOOAkY61cJjM0qGN?= =?utf-8?q?Y3QG9VnR+cq+6KwrmO3bAZXVBBgNa1aR36pS8FlG1JXNHeFk/NWKpN8xZSMnNUDyz?= =?utf-8?q?WbhrgTjAfyGjA13RfC3HXhWF8qy0p8GITh12AqIqbg+L1k5B2PMTPysW7+Y1dSVc/?= =?utf-8?q?/fS2fC3jLuEdOSqkFO1UrNt7rGNg1IEuGlS5aOOVnOcDQsumCKRNVkTh6QmhhmibQ?= =?utf-8?q?BmsL9C0ERzuQcxdMvtbm1EPOWIRVWSDqM+XTH1utm3lH0EbK1J0l/nwEWfjzBys24?= =?utf-8?q?VBF6DLp9jshChsxojef8iSMQs3meagQwiCwSnXxv5ztFaonao4HxqHveJloVXXuh9?= =?utf-8?q?45oR9pZA1sHBJUvogKOc45dPMpiKDGV6GK2vAKGYyP5q33u73sGDU/uHf3sRokmiv?= =?utf-8?q?30p1p8pYsewPj707ecqewjlQeI6y0yPIyHGWe9zPPrS0wK1Lmrq7ZMBnP9Mh0u9sa?= =?utf-8?q?LE+5SPf6sQ93q7+Em4OAUab6bVfCR/ZDT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9qOT1A4pYyFMm1rdqsFq6zjKPfhX4OXEAWQ?= =?utf-8?q?TU/XOjUoVh89DliLVMT/3ENjroxoaWacxoLEcW7qW042mGDIFGisPj0SdspqHG1xz?= =?utf-8?q?OpQpUHEb+vZ5?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: e18779fd-0851-43ac-bcde-08dac9452608 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6560.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2022 09:13:25.6254 (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: W0lTN53/p1Ndu/lQ/gm2/Bqdc5YfLVPv76/rVZr1dAPvVWaPD80C97dFXjuWmeq0FgCSiHisnYhPffMRbZzMwg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9094 X-Spam-Status: No, score=-3029.3 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jan Beulich via Binutils From: Jan Beulich Reply-To: Jan Beulich Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749750038739366062?= X-GMAIL-MSGID: =?utf-8?q?1749824670575845235?= gas doesn't use anything from libopcodes anymore - suppress linking in that library. --- v2: New, split off from larger earlier patch. --- a/gas/configure +++ b/gas/configure @@ -12263,7 +12263,7 @@ _ACEOF # Do we need the opcodes library? case ${cpu_type} in - vax | tic30) + vax | tic30 | i386) ;; *) --- a/gas/configure.ac +++ b/gas/configure.ac @@ -420,7 +420,7 @@ changequote([,])dnl # Do we need the opcodes library? case ${cpu_type} in - vax | tic30) + vax | tic30 | i386) ;; *)