From patchwork Mon Aug 28 03:49:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YunQiang Su X-Patchwork-Id: 136997 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp3097841vqm; Sun, 27 Aug 2023 20:50:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFLIt0LE5FjySvP3jXYmbkxJWiIed+PARisQFQqq4Jv7gyBWoOWzFFdlM/Y90BDrj2nfZFo X-Received: by 2002:a50:ef0d:0:b0:52a:250e:a04f with SMTP id m13-20020a50ef0d000000b0052a250ea04fmr9723485eds.33.1693194633086; Sun, 27 Aug 2023 20:50:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693194633; cv=pass; d=google.com; s=arc-20160816; b=Wh50wKUUP/Vh8RJoBZJO/mXM9r0VY+M2tVzhsMcyn7jAqevbxSVDVMa++py218Mr6C S8jas+bno7coE1l5aa+YWvtMyTi7vs1rPDkPl5XUDZJVMNbNZ/z6TBKI3EZ3VXUOpa8b 4qqBwHS69Ajn7MiW2znc1eLjuBpS1SLuUn1zLR0YM6q3YWmMNijCS1FeNsmxCK4h9nIR MYB2A8iWl7JupOs5nsaP57xe9BVrRVT9VAuUE+U5gE8nYxDWzhHnDER3865vHzpsLm+r xOTiIk4wUmhHJpSnMkWBSShDknmmJvdLPyj5V2I22e/ljwGnvorqNszD5JaJqvH/neGJ QWyA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:message-id:date:subject:cc:to:from :dkim-signature:dmarc-filter:delivered-to; bh=NCcE2ZBpxXL8toPVLtzlabDzMlATFt7sPxPUX5Fpx2s=; fh=sT7QJkKMiMgzlfHKzqKsfXEaRdHlymnKRKVxBfatNUQ=; b=XJ1vcqwrJVstMatV0j+s2rViEkQs2QfivvS2PTF1mM6+wQV8vs0RLk4OEsk9wgF7NG otXTd0O5YFN97mecGWP8hnyzX9lX8Kecdd7mGnIO2O3BrMRmFlSnHaeZlwkDuENEespJ gWyp3Yt5p88sweQliHVga8EK2PrkFisjw86DAGpXf554LhwEsYiXf/9+BoGassKEe4JA +V/FoFInojbjM1JpTq3pXR+tk3MX0v1GibNBDdGuH1rq6cFgZ2XKXpE37HbxiDO4vfRC OKXETY1gdD356nONmjhkTqMSijxZAUVQKBObQ+tzB5KtMddINDXjJliQsBJTXsZAhCPw xeWw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=CrR6onEx; arc=pass (i=1 spf=pass spfdomain=cipunited.com dkim=pass dkdomain=cipunited.com dmarc=pass fromdomain=cipunited.com); 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" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id bo28-20020a0564020b3c00b005257c333566si4180267edb.77.2023.08.27.20.50.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 20:50:33 -0700 (PDT) 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=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=CrR6onEx; arc=pass (i=1 spf=pass spfdomain=cipunited.com dkim=pass dkdomain=cipunited.com dmarc=pass fromdomain=cipunited.com); 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" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 46AA13858C50 for ; Mon, 28 Aug 2023 03:50:31 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2132.outbound.protection.outlook.com [40.107.255.132]) by sourceware.org (Postfix) with ESMTPS id ED3383858D33 for ; Mon, 28 Aug 2023 03:50:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ED3383858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cipunited.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cipunited.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Li3NiYvct6Oq8o4bJpwuDMlKhen+aInVABxit7g8TLAD3ML8iPR2CcJyiJnOCoBIxENvzY17ndY+5ReEBk1KtpHSxqGIzqQMALE879U9DjOBk1v3+4sA38udDDCnaP56M++dp77wkACqRXFfCiuB0KuZTzXzlEhBZlzIJw1zcsJGYn2kYWb6B7rE3c/hU/FxLZ1y+V4ppzZaJElhw8MTAO/fejGq0WfzEDf8oiw759QBZpqRq6NnjxHyqdqbLRjxNnOpftWByfpn04SPApwpRo0Ztpt5rfkD3NdTbxeSiRHbTSeDykRIdXQitkLN6ED1O3eTLudU/DAoWeVLY5BC3g== 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=NCcE2ZBpxXL8toPVLtzlabDzMlATFt7sPxPUX5Fpx2s=; b=NFtwE1ks2aTFf3wNAmfuKtYqOEtSgSnPhf4Gj2nzYrpMhohSZ/BLRItCDbZ8YqQ0gUASZ6VQ5k4EyQfG/01kae+xlbPW5NQJjbUg7X/vIuyy62WyGCrazP7s/Pn9Hqxvy9bW0k+jOJ15P6BUW97B4VSLx4b3U59Men20LHkTUr0i0EOt5PU+IxlGMG9mifMT8FlPoMXGFNqXBOeVoaEboKlCVQ7VIO4V90w/tf+ps6/2aPwF3X+jdssFNJYfzYHzhp82RyxvgATTS1iWDqG7GW20RSF4cBpncnw6ajij3/5HxWB9kcXmT4swFY3ztS/2+oerX30tSWtVTnhRWXDxzg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cipunited.com; dmarc=pass action=none header.from=cipunited.com; dkim=pass header.d=cipunited.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cipunited.onmicrosoft.com; s=selector1-cipunited-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NCcE2ZBpxXL8toPVLtzlabDzMlATFt7sPxPUX5Fpx2s=; b=CrR6onExfBohqOjZxPyxBWjW8h9HZjom1B2wamXO5wrxqxVezU5KBIy7TvOSlDxd26oiAksl6Pko/+YSQ2+0uUWdrJlfZDdm92ujlv1KJeJY+x+HY85NSbqiVwdIhokVncuxGY/T00jiPBYF+dTH0PxY8RwnRDFwQ1jOk/PDqFY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cipunited.com; Received: from TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) by KL1PR04MB7164.apcprd04.prod.outlook.com (2603:1096:820:f9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.34; Mon, 28 Aug 2023 03:50:17 +0000 Received: from TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::b15:a53e:604e:a735]) by TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::b15:a53e:604e:a735%3]) with mapi id 15.20.6699.034; Mon, 28 Aug 2023 03:50:17 +0000 From: YunQiang Su To: binutils@sourceware.org Cc: YunQiang Su Subject: [committed 1/6] Gold: Add targ_extra_little_endian to configure.ac Date: Sun, 27 Aug 2023 23:49:35 -0400 Message-Id: <20230828034940.2056275-1-yunqiang.su@cipunited.com> X-Mailer: git-send-email 2.39.2 X-ClientProxiedBy: FR3P281CA0113.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a3::12) To TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR04MB6117:EE_|KL1PR04MB7164:EE_ X-MS-Office365-Filtering-Correlation-Id: 023383c1-91b1-4b62-4068-08dba779e48c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 619Moj2OjqFp3C0LSrl1JXqzO03Fr/+2k6ULTFgf1xhbTx1N6coC3QEotp311qHeXstdhbKfonYkShoTvTt1bu7KsCWEqNUOYZr1R06BnPHaKNx5guXncH+XqK1JXH0ReFGpquvZ0sdaz+U0Kgju3lvRWw1lhBbiv0RXxi+qk6I1H6Epbr/eFucI6MLMc7rxrDh6xAIUSjeyUEqCwYqDX/bW+3ydbfNaienRyXsjQQSXAVcHDl6nwG/pnPQiJ5uhCSMiksIz7Vz/8wkfpkRxGyWHb1wEayKGZrcmr66PhyITf/M3u84kVLJSwkBsALtQR7rMLBdCkCz1mUQ6MgCxWAItBf6dDp9F+taXoCbdezcUDgDSUNRV1YChfwB/XMwS3pjPiuzACCp2YhDZpwhfAEY8Hzow7hxHw1yQ70pL3fKn7LvmEFlWighFhXlHf/fgaO7UN8MrIHf7CJi4GaR8HjvgOz9eAjAkIAeru9iVDlRBz6WGe45xPu/8FpC5FZ603etP44WXaHdGHVBgb2Y/F8bJvn+fdNUyzzm3bf30zojI6DOCrgCJoEXaaPOo8jQ2QkDuuHqHjLI9x8vMP+GfAb0jGqDCopNhtE74y0aLjf9D0CStVejdT28fdNB6rFll X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYZPR04MB6117.apcprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(136003)(376002)(346002)(396003)(39830400003)(1800799009)(451199024)(186009)(6486002)(6666004)(6506007)(83380400001)(52116002)(2906002)(26005)(41300700001)(1076003)(478600001)(6916009)(316002)(107886003)(66556008)(8676002)(66476007)(8936002)(4326008)(5660300002)(86362001)(36756003)(6512007)(2616005)(38350700002)(38100700002)(66946007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 1zmz+oHfDXX+h+HgcOwDq3dhUHmZtfohk0dCKQiWQD0ox5lLPlf1InnB3W+lhZjDSGb5zDDpAVukJbsZzfHHW3g999UJ03xwXu+mBwLlEt8j0TSyFOJOVZDzuSv7TqMrrt9k2xudMYA1VFi5nMc+tbgJsAjcNRz2l+jcYjNch+jFSKUY5tdyb68uwFhlW8vochpBxezQ/KOvGXc25pgVGFTAjFCXR8h5LsiS4j5Tv0+rR2Kkg3Hg7zUX7xjGOHcIhYUIWN9VftozGr6PN56/juaXbBT2D+6bVhv49qVcKrm7fMU5jnq2BHfsnGiu+F6/8TaBMy+f7IEhMtA9OK3nM1KJBaKt/PQDSv1KUnJ+140eRB3DFbs6+W/sN3wbWInhqC65pvjeTssk08x71TppWVlznw7om6bswBqTqnTLEXkPdFYXap+eTyvpLfbuT0t5i1uq68XmK0ONB4FIQYeijEe10rFHyBwN/l5n9OvSMoveX8Us6ixg4S4GdQcj+YJHhh1bvSWEUxahMEHdRSBqtC00F7I8t0jK+/7xHRXCOvNrRUeIuDvmM6a6j5Mb3+C8NXpa18vzPxFHHW4AonlBctO7V1NffM7LoMBnoR1IaHG98CwSLYv6QySPccxI2EKKWAVKxNTKFEYIyMlxrBjbnTbVu1EWTJieiO2avpN43as81X81xQMbxPlQGhiFfjSctuvHhT7/K/IH4BA7/BRW91M5wGvB2A5QaAql0fN1V2X70NENyZh0gqZOt0MqWsC8q/CX4sB/D9ADXsi9Jzsp+kF18MxXoVi77XVGYRWxwsFJeX0TvvEieljUb2gexzn6g66ucgk2EiZjGIvm9oCAIA2ieqdMadjUvgCblOdWGLpcauRmjHn+XGe9dBOsYRE3prpfVFkK9Y+9O2N/Hlbhl0K1IZsGb539jSiY2U2sDT/9POhcVBxIjoJA2MJfg3spJY+ovFWrVsscG7k/t3FuPmt5jgYrYA+f1ZKyxLFQObCg/PGvy1Qc77/71Eqr79vvFAn9H2prNqZCGHdfd8tGtnbWypL/CO0VXtAd4UNo0pH+i7KrYWqkyR3lHBOYyqZ4w0LTJKSBo+U/c4lj/AlYqO0Ya+xT9ChDjgX2YxtYLAZ0e1bndaFR3CChn0VELCiQj74Nd0iTDwfo150RR5GHjVhrRI5X7cyewAPwHU+YpWZMxtjgo+vQo6DDhk6wyyZi17rHlO5lDaQHw3pczofzUSO79hUphR5d7S0MB98LMfY1fF+uCzm9ApUH5gllMPJXnbrTecYdgTb+g8JUnrx8RbvOaqxUnI3ODVtlgkdeox1qwXJ9HxHXkWbBpnvQGXY5G/gCidYFJ6Lg1rfJetYsXfMpycKiIzT/8YsX1+hhF2GoWYpxBiMfD1+Y2en2+QNfVsDceOWoy3/wPuwF2p4ufBetuukNxDaMNn3rntarYsOskmZsdB9tLbcNvf8v/dVZ58deBbOUhKI6xhLObDHSLltc4b4WJpucVHNSa9Ym8MGgJ60LhUqbER85OZ3iuWjB1s2HwFjwUz0ZDic9RSJb0arriBNwMCGeyA1k5mHUeOOOk1Lknw9beZkdyxW9tYxFDEnV03oH9hjkiPu/t5jGSA== X-OriginatorOrg: cipunited.com X-MS-Exchange-CrossTenant-Network-Message-Id: 023383c1-91b1-4b62-4068-08dba779e48c X-MS-Exchange-CrossTenant-AuthSource: TYZPR04MB6117.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Aug 2023 03:50:17.3775 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e31cf5b5-ee69-4d5f-9c69-edeeda2458c0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: fHOZ16OewA67kjtrk4paOGDNXSg2xea2fuGKQDzYDu5updqE2DUHzCWDjsKypsGuStSEx0d/mHRzsyyx/5dyrPsYqIZ748Q+zD/xIvLxuGo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB7164 X-Spam-Status: No, score=-13.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, 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.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1775443255489308528 X-GMAIL-MSGID: 1775443255489308528 This option will be used by architectures which is big endian by default, while little-endian support is also needed. Mips(eb) ports are the examples. --- gold/configure | 8 ++++++++ gold/configure.ac | 8 ++++++++ gold/configure.tgt | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/gold/configure b/gold/configure index 5c6fe2a5607..ccb1f2269b2 100755 --- a/gold/configure +++ b/gold/configure @@ -5266,6 +5266,10 @@ for targ in $target $canon_targets; do -o "$targ_extra_big_endian" = "true"; then targ_32_big=yes fi + if test "$targ_little_endian" = "true" \ + -o "$targ_extra_little_endian" = "true"; then + targ_32_little=yes + fi if test "$targ_big_endian" = "false" \ -o "$targ_extra_big_endian" = "false"; then targ_32_little=yes @@ -5276,6 +5280,10 @@ for targ in $target $canon_targets; do -o "$targ_extra_big_endian" = "true"; then targ_64_big=yes fi + if test "$targ_little_endian" = "true" \ + -o "$targ_extra_little_endian" = "true"; then + targ_64_little=yes + fi if test "$targ_big_endian" = "false" \ -o "$targ_extra_big_endian" = "false"; then targ_64_little=yes diff --git a/gold/configure.ac b/gold/configure.ac index cafd3503b3b..e04e4086140 100644 --- a/gold/configure.ac +++ b/gold/configure.ac @@ -193,6 +193,10 @@ for targ in $target $canon_targets; do -o "$targ_extra_big_endian" = "true"; then targ_32_big=yes fi + if test "$targ_little_endian" = "true" \ + -o "$targ_extra_little_endian" = "true"; then + targ_32_little=yes + fi if test "$targ_big_endian" = "false" \ -o "$targ_extra_big_endian" = "false"; then targ_32_little=yes @@ -203,6 +207,10 @@ for targ in $target $canon_targets; do -o "$targ_extra_big_endian" = "true"; then targ_64_big=yes fi + if test "$targ_little_endian" = "true" \ + -o "$targ_extra_little_endian" = "true"; then + targ_64_little=yes + fi if test "$targ_big_endian" = "false" \ -o "$targ_extra_big_endian" = "false"; then targ_64_little=yes diff --git a/gold/configure.tgt b/gold/configure.tgt index 4b54e08d27f..b472b8f0bad 100644 --- a/gold/configure.tgt +++ b/gold/configure.tgt @@ -165,7 +165,7 @@ mips*-*-*) targ_machine=EM_MIPS targ_size=32 targ_big_endian=true - targ_extra_big_endian=false + targ_extra_little_endian=true ;; s390-*-*) targ_obj=s390 From patchwork Mon Aug 28 03:49:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YunQiang Su X-Patchwork-Id: 137000 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp3098264vqm; Sun, 27 Aug 2023 20:52:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF17LiiPYyTbxO288P0TYyVkaFf/4esUNWhvfbs4TP1QoZdM5YGLrLEX1tOdDzmsxK0DPEI X-Received: by 2002:a05:6402:343:b0:525:6d6e:ed53 with SMTP id r3-20020a056402034300b005256d6eed53mr16931961edw.27.1693194735198; Sun, 27 Aug 2023 20:52:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693194735; cv=pass; d=google.com; s=arc-20160816; b=K2b904gKI6kTuA2T3tJ9IuNYXuHL7uBI3qPcGNwBSxjnJUJy0nn7HwTt07YqAGF4T0 /fLymi4nSbqgvGTBROcazpkmRx4XxzYtULb9CcUL+eFcrspto4HG+XuyasknyiTie9uu yd8HJbcbBa2AH5P1KIUmXuDttwDNptUKVsYH+Kxjmp9FOZFveX7k0/D0P8VwQt3fla5J LDbvDU2jp2HQgvZG7o/T/xrgnM4Cw7Q4APiHnMC5n5Yv6bxCkeSrkztNTR6b5PoENeIs 1Fd0Uvbjo9Vq3lTw8TBi3OeOiy5apTXV93yYEP8FmTEu//678OxOzqA6zJgYj1Nc+PIU dwWQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dmarc-filter:delivered-to; bh=MMBrmtDCXljA2qzRizUADX/mMm0ANY+9rzxmNxU3gsM=; fh=sT7QJkKMiMgzlfHKzqKsfXEaRdHlymnKRKVxBfatNUQ=; b=vpLd6du4b8OWPXeOKn8/jzbskQMCo5hiB3LFtuADaTIT2BFD3RuEcNg/q6fWERWYCI NKuU8Fwuz2Kz5ZNagw1Z6jBSo+AwtwilNfs18h7hFklpjFaPy9WweJqW5lYE/aAq1Uxk pN8INMNBwW6nOuLEU88MvhuzJM6whsQlN/jgi7MHH7WT6D3wUzv+irsJSUqrg581CPyQ 5rjtj5Pz2BgVgc0nr27lbf+RkuM/mgPmu/3KC2FDPSu7gT2YAty7nfGABJgbhbGniXoO Zk0soHx17kN+xDS3uuPsNCiihgEdMly5vh1jbDLQRrI/M4LcFhQoxx7KiKETW5VKonAP wHPQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=leE2aiiG; arc=pass (i=1 spf=pass spfdomain=cipunited.com dkim=pass dkdomain=cipunited.com dmarc=pass fromdomain=cipunited.com); 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" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id v2-20020aa7d642000000b00529fbef0386si2036084edr.591.2023.08.27.20.52.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 20:52:15 -0700 (PDT) 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=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=leE2aiiG; arc=pass (i=1 spf=pass spfdomain=cipunited.com dkim=pass dkdomain=cipunited.com dmarc=pass fromdomain=cipunited.com); 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" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 05BB73864831 for ; Mon, 28 Aug 2023 03:51:09 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2132.outbound.protection.outlook.com [40.107.255.132]) by sourceware.org (Postfix) with ESMTPS id AF6223858D28 for ; Mon, 28 Aug 2023 03:50:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AF6223858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cipunited.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cipunited.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Sx92YynpkdhzLp8NEuA9IlHymXfDQ/W/o4ADPd61NtQVczUaQ4sfSyoPmU3jtIlpLWPEVSjT6bP5a1lp1DH4Y8roSHKbl1aTi/b5cTS/7diBdQbc8J7p+MxtPrNjTpTlDbtFkes3ydHXOMXcURF8sH6awENF/Z5ZXaapSWtPza80Q2c4RMGwcN+ioB6woGqKN5OTLqwjSpw0n+NbWENs4wuBbi5HsmGh0NGPawYr5RFyPSLZk6tp6E6hMiw+NfZKEuURzA9arY4IONk6C2aKo6JPeKNaoOKKF8bx1fnWAgObkY73jJOSiJz+29GzrEhXp5qcUR3OtOinWywV8IEwTg== 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=MMBrmtDCXljA2qzRizUADX/mMm0ANY+9rzxmNxU3gsM=; b=RCl2dwyAGbPjgBlkCze0xV2STJp8YKpShOE8uavjGs7xbSmxubhcYRzTrPEtHB/GO2kSse/p1LIfW/d6v+WX4I4hemwDoh3UCbQn1Y+yqGGZATMJgjK6gmgaug7V+k43w4pLD9D0FKLnt+DklZV9fi2VPrLNlBPQaBpNvVQdzoI8KfBnXeJnzo8TBUTbCkcpfI4hiVxAC1q+WoPlWg7OkK8qxxPNb5tfqe0XURxK0g90uFs1K38M1fZvkIBrY3RefZYwWak/zKNyWtApECrmitnprEVAItwVlT5FS7nNVPuQWzODdpnCyYPHyF9IuCC6wZ0RzUbQ7KBIbgJ007dckg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cipunited.com; dmarc=pass action=none header.from=cipunited.com; dkim=pass header.d=cipunited.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cipunited.onmicrosoft.com; s=selector1-cipunited-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MMBrmtDCXljA2qzRizUADX/mMm0ANY+9rzxmNxU3gsM=; b=leE2aiiG6SSOdbP/D9Ol5MrzMb3RSGyWVci7EBoPuiFFNGEPrwXdvF07vP8byeW0euHhYQ4r33Tbb0FdwMbsZEIPbHihYihnCrFF82fN1oMepqFo5b4V/GaMd4c+vEclx/Gh46slA3wa4L5chhCI67kO8x96OueMIy2il8nfDq8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cipunited.com; Received: from TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) by KL1PR04MB7164.apcprd04.prod.outlook.com (2603:1096:820:f9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.34; Mon, 28 Aug 2023 03:50:22 +0000 Received: from TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::b15:a53e:604e:a735]) by TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::b15:a53e:604e:a735%3]) with mapi id 15.20.6699.034; Mon, 28 Aug 2023 03:50:22 +0000 From: YunQiang Su To: binutils@sourceware.org Cc: YunQiang Su Subject: [committed 2/6] Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian Date: Sun, 27 Aug 2023 23:49:36 -0400 Message-Id: <20230828034940.2056275-2-yunqiang.su@cipunited.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230828034940.2056275-1-yunqiang.su@cipunited.com> References: <20230828034940.2056275-1-yunqiang.su@cipunited.com> X-ClientProxiedBy: FR3P281CA0113.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a3::12) To TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR04MB6117:EE_|KL1PR04MB7164:EE_ X-MS-Office365-Filtering-Correlation-Id: 0420d218-51b9-440b-1533-08dba779e749 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Eq5TCl+MGidTLBzIPBEmQuaHaVafIE9nr1tlqPY3+JBx7iaA5xS3V33vGOPhL4az5LVcznsk6UINh2i1KgauqOVZIY3JN/4nvNfg/qDGoWFJuG+deUZuxxwfDmiaNSWPq2IwAy1ApvXVtzLxBAk6TP8gumdwqI696AS4OMTmCc4bvFAtEULN4jYTo8E3cxSTn//vMm0BeM1IMbjFtv7pqJi2ZqxnacRfkoDaEunWqRXLmXWSEhpadViokqN6n0665KutXhN9KxaIU9IJhZazDtbR3hq658rnMGDN1R2kMzPNJcecazZ0OOSLQEN4HR1uv7loX8bj1yWVO2pqw7HaUREYYwxo2GF0C8KDmRrbJ3Jf4lVjDpzWHo5yeFClP7ncHtuMkUrAEm9QOWdvUdN9GwupXrE5D2euWpFx5LBtvuER8Y/gytMASaU8HCuiRYaitBruuzKI2fchrehBJFxmxKQ1HQzpzyN22I8KyOitg3MqeQ3lyjv6y0vsmBKv+lPZPohp4AFCUIuSttFIhFADkLi8X7hy7UVNyjQ6lapqOhdoPNY9CRfM/rU6ix4+VM/jBSq4zfVmehpcu6d7qebnxH60KNnYVypi8oaCZs4Rz9kphaocklw21c0wvHdwqQT1 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYZPR04MB6117.apcprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(136003)(376002)(346002)(396003)(39830400003)(1800799009)(451199024)(186009)(6486002)(6666004)(6506007)(83380400001)(52116002)(2906002)(4744005)(26005)(41300700001)(1076003)(478600001)(6916009)(316002)(107886003)(66556008)(8676002)(66476007)(8936002)(4326008)(5660300002)(86362001)(36756003)(6512007)(2616005)(38350700002)(38100700002)(66946007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Io4oCcjo++O5gWZv1tO32bWQKELIFfhFNNGu23zj54QVEVIgV45kd0hLwV1Rofi6QxxqCmlXDfB5/DUpAE71FtfBIC07EipZuqoyvubIKWSHdymeUKEyAEeUclPiAbib7QR8idJnJe3jg1YPZqpKfZGeb7iHERX2VFZhcyXVwDCNCUBZrjwq2DZwMzSRbUBLIRJVRDy7MJsHDUHWkApDk6UN6yIypyrXeMXgvJ2GSoQe6nKcFwjnw59t7nej+Ub3D4aNSyHqlmE5Sxv9JdulNzvbAUiDvJGjeKxAMtFAtjmsgTR3uhE39NqeNyhkNMt2wL7OxwOlwzvc5F+oal6aZ3dZNl7JVtHrqrSjSrqwOonJKZ+NxjfA4kz9ifN2BATm/dglL7uW/xxHE1J90cfkpwV++CeaQOfhgSrU2HAkXDKEywfDl6srXcCFFxIyTZ8W5QQL/3bQGekk8Rboztsuxsuf2BXq90rqk5CPeC/Lvdp876jeqcpCAtMdFm5/BhIj8xak3P171UyVAleXufdoeHAILny19ZjIdnuO8GPlza/olqtaxO7+Vj+5UBKHR4hg1piyjwRbY0LEwg6xsBiumC1jRPXYZajeTarCqgsKieK3KVmppn9AnOZn/bKU/N8J4viY8Ss+g1ADGpRIlG5VyYwoUaJahFTxSAw3wXPBLDpM9YhpMJcFC/tiY4iZDP/LMGXsvWeJJOniemyK8rtpffjwYeBADlSUpEr5UWycQRlhzB/MDn0DiM6HUYWINW0aZfA6p92zoS9dEPSXjiemx513CaHeKHsHzM4E6gZ7CO3TTNWcBKSDOZrQ3ZeGL3riw5Tvu0nFEjNGZ7Xmu2xXhQsO/N/qrtyHjkHTaNP7pn4/0Vl7NtkIfB5zefCGk9whqW1gy6qAPOaI3e/8yhsJzol+ezDGlulpQKMcwWMZkPWOzit8xDQJC2S0+udUTZx+K5kCc5u0D8s6LZjgLZ7lj0Y4qoKXjEVYRhT5f5CpVCoe9Kx17lipMtnC9AtbXJ8YSTYGHo33MBk4Lj9A1U0bAcX3IrQLhHQ0FnEP2TrZQfiLHce1TVTa0B1Le7miu2qPWfGpkozSZlxLD0U+v/ZFxRaIxJ5HcpLHvTDpqHvku6ypjO2rDV9h+owD5FbBfhcUIa57dTWS6sOApczcXDFrXonFkTNDnZUE8Hzusf1Z93ufoNIkAY55JAvL6yrG8A+h6hoGJqRUZxSRMFR6SO5rqCzKPNJn7VYB4funp1Q95qEux/X0hWL8bm5yUzSvb5xc8qwDqetAVSN556f1kfZsNmKVJmh+m8oj0JTfQkBM3iVTSfnbR76SWWG/k+5ZL9UrIERWXabNSN57LxP/dlZzX9+xFhc8h6TOS8COSJCIWE+eMHa2noVpWsvK7BGOlsYBS5YqNs/jmZIafSnZ1QhvbL0NwXlKixMSuG9lj1dyF5d0etXGWTo6t3HXIQAMxmiMe6hf8qwzpuVXt1k85j3cxsR1nA4aJyn5S68cpB6T5drVcpghIw5ZLBQSr6/M6s9LHJyukmWB7EOfkk8XjBL8Tx21hYScGYREl/R/fvGXk4i/nEYJy/DML+la/hWmy37mFunTb4EDqfEEQg0B0KBkIQ== X-OriginatorOrg: cipunited.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0420d218-51b9-440b-1533-08dba779e749 X-MS-Exchange-CrossTenant-AuthSource: TYZPR04MB6117.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Aug 2023 03:50:22.8255 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e31cf5b5-ee69-4d5f-9c69-edeeda2458c0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: VHwyvZxXU+zcbjK9x3PuCpr5geeb9wTnNsk+5SGGejY8JlBmEGtx7WYvo6n4ac/E4I56baqt617dJClyxIpEqbZwCaXZ+AFylH9eOuVFMMk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB7164 X-Spam-Status: No, score=-13.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, 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.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1775443362933638412 X-GMAIL-MSGID: 1775443362933638412 EM_MIPS_RS3_LE has been deprecated quite long ago, and in fact most of current LE ELF files are using EM_MIPS. This problem didn't make some trouble for us, is due to that gold is a linker, and all of the inputs to it has right EM values. --- gold/configure.tgt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gold/configure.tgt b/gold/configure.tgt index b472b8f0bad..996bc901d1d 100644 --- a/gold/configure.tgt +++ b/gold/configure.tgt @@ -155,7 +155,7 @@ aarch64*-*) ;; mips*el*-*-*|mips*le*-*-*) targ_obj=mips - targ_machine=EM_MIPS_RS3_LE + targ_machine=EM_MIPS targ_size=32 targ_big_endian=false targ_extra_big_endian=true From patchwork Mon Aug 28 03:49:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YunQiang Su X-Patchwork-Id: 137001 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp3098545vqm; Sun, 27 Aug 2023 20:53:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGB/iLMF15NUYJyS3F3+NmQOqHramiLq3VpIfUWCYlTXrGZvW+2f5PfibeW0K4zXVxl9qO8 X-Received: by 2002:a05:6402:6d2:b0:52a:1c3c:2ecf with SMTP id n18-20020a05640206d200b0052a1c3c2ecfmr12281271edy.28.1693194795115; Sun, 27 Aug 2023 20:53:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693194795; cv=pass; d=google.com; s=arc-20160816; b=MghpUnXDEFKJiNV84RqDXJqwC0+F65jJGbzS08M3gGNsAkbSZKJ3RAh8fABrsvL/M2 rezZC9DQhQYZoauccLWTVj9O5VJHEh67QWvLmm80mGm1HdHuYVIcvaQT0oVRd4MhN13c LR8PTkzv3zAgfKlvhjEWeAhArA6cJm+/qpIij5MWmRIx9mit8W8lMNLq7XGObFpuGpp/ R8R4IZUjj9//rmkg+WWDuCWqfyehSqGVutVU3MmgADX/UfUevbqD+M/atdDDlRRwm5Gf u+q8Z/CejWab4e+MK6FVbq4x0YItvTBx6cG+216uIZ2xS0KmxVCLj61IDCIxbMtNfY+n qmow== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dmarc-filter:delivered-to; bh=fnrd+fKE0K35+8+rNe6LMk+LNSs/vWqW6zP5NvLTYOY=; fh=sT7QJkKMiMgzlfHKzqKsfXEaRdHlymnKRKVxBfatNUQ=; b=h+lTJFrUAuxezhx4rWw4ZFcjFVdwGyNtETK60JLdiqL3DEuc1/pia5xslUGFPKl0eB SJIZdqWXscesbsXLSQHrM6z7DE6zysUePLJrusUh4yeyFM4bdGosnB2FBhYQ1oQXfJrR vMLqle5pS0jXFPyFYVy1HJ05rQBXoZiIgtqdDi5sKg3MXGlf2Qf6ngwU6RA/xDjXrakZ oHBR3Jj0rHvcmVzXqZFy0IdTi2HnnOL+4hqKt3q7ke4lfthod504WYKE5E6/p9HxLCrK unTz1q0DXjPthtD13OnxHz9WTeldhfzbJ+v+h1gyy3uZp7Hiq6zs05ZSwGujmztXybYG JH9g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b="nAuV9L3/"; arc=pass (i=1 spf=pass spfdomain=cipunited.com dkim=pass dkdomain=cipunited.com dmarc=pass fromdomain=cipunited.com); 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" Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id f25-20020a056402161900b00525782668b8si1900526edv.498.2023.08.27.20.53.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 20:53:15 -0700 (PDT) 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=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b="nAuV9L3/"; arc=pass (i=1 spf=pass spfdomain=cipunited.com dkim=pass dkdomain=cipunited.com dmarc=pass fromdomain=cipunited.com); 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" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 878D738582B0 for ; Mon, 28 Aug 2023 03:51:41 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2132.outbound.protection.outlook.com [40.107.255.132]) by sourceware.org (Postfix) with ESMTPS id 1BB81385841C for ; Mon, 28 Aug 2023 03:50:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1BB81385841C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cipunited.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cipunited.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Er2ReHZ7Y0l5bmX2LyCxekQRIK1sDlw+CJJZpfFJ6MkU0wdDWtwPNXLioffbfSzwYy/vjkvmJ2+G8maWhf48VojhyCc5NU0fj/FuKNlqS2JzjAQRG0S0+5ZNLzcgJRCEpHUOXhAau/ujSCjkO9UEcz4EW//8C/rp27sZYJszvgDd0qUNRsPBj/nS/s9pfDV21iAF4Eu5nAAUrU7JyAZce4+z7uP9cOnLaAnJPZi09vjNJJjb6itVrsFPXAf8XOTow4z57l72iosp83aWtnRGrZHGCbNLmZkbPIK3CU2AjTWLRHYsd4Ilb5Xs4zFSWeEITpxDw4FIZQTvKfm55cGhIQ== 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=fnrd+fKE0K35+8+rNe6LMk+LNSs/vWqW6zP5NvLTYOY=; b=SlMlCYO+pCvupNwff1/YOhW5WpCKulHTjBHDgSN/qyGdcm+yIg8ZtdzKVUikxQN6XgJWjmhwGrOXLwVINtQtBKyXD5rYB+3KuBAO8JB66fz+5SKCdScGVeR6fANbaUfb6FqPlSnHttQg/I4FiEyCTnELzvUYJyePrMzdXsCUWK7M8hI38SIYl5TjxOOwsgVDmB6YicEGasQmVE1pS6TSnNNp4uV6n6n8UcZip8oErOAsrDVj721S/D6bIskU/St+4Sg7N9gxkPYVpdhhoIKkqPN6qsDf2s/NJ/RvZXLuQw8Jw/XZLpV4QPa+fPHZxA4mVmAFGRFjPD1GDVAHolGaMg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cipunited.com; dmarc=pass action=none header.from=cipunited.com; dkim=pass header.d=cipunited.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cipunited.onmicrosoft.com; s=selector1-cipunited-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fnrd+fKE0K35+8+rNe6LMk+LNSs/vWqW6zP5NvLTYOY=; b=nAuV9L3/KnN63bAux//sFxpj0VHKd8fQjHJVJxgatErqBLl69/4vernCHREwQonGywOzPQU45QbeqIiu7YoE53b/ScPE0KR9GeolwfplL57Oz7NhHxrKifHD3/4dlEuSt7pZ/tGG5rakl/ir/r10tZTDNUrEFxE7Lg0NikpLnVg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cipunited.com; Received: from TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) by KL1PR04MB7164.apcprd04.prod.outlook.com (2603:1096:820:f9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.34; Mon, 28 Aug 2023 03:50:26 +0000 Received: from TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::b15:a53e:604e:a735]) by TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::b15:a53e:604e:a735%3]) with mapi id 15.20.6699.034; Mon, 28 Aug 2023 03:50:26 +0000 From: YunQiang Su To: binutils@sourceware.org Cc: YunQiang Su Subject: [committed 3/6] Gold/MIPS: Drop mips*le/mips*el* triple pattern Date: Sun, 27 Aug 2023 23:49:37 -0400 Message-Id: <20230828034940.2056275-3-yunqiang.su@cipunited.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230828034940.2056275-1-yunqiang.su@cipunited.com> References: <20230828034940.2056275-1-yunqiang.su@cipunited.com> X-ClientProxiedBy: FR3P281CA0113.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a3::12) To TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR04MB6117:EE_|KL1PR04MB7164:EE_ X-MS-Office365-Filtering-Correlation-Id: ee4b1dd4-477b-43ab-edb5-08dba779e9c7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CFW6rv1QSa2bbsjrrUsxnOK/WvEx+9cKIfNkCUkCZQNDfuszVsc/NGiaYnNLNFCBpu0BfgU8RLOLU0AWxWqBDAmINrPhQPC3f2BrsWjvjD80L8WqklgsGjOumw666sDeWM+qwpf/0zJjSKpl4Pv5sxp6979Ve4eYLMJXLt3pBCsTmQdN44uiayLlDv+FulZiJubMitvMrifMp4HOop7DWxMmv/VaiqMxP3DSts8Xs4ILEZVrXaWBnLr7Avy31Nkfnn5xf8Wx+dvIYBUZ0DvueQH3R1JaUd2fPho+mluWtpvyaBmMpBuWHmYY/mX2F1Og9WtiZbphpMt3/ngERGtq8M6psS1Ck/0fQr74tqkXRmrOuu/E5l3rBc0kItj+45TXS1FkJXFyih4I5pnXWFrBsdE+wSBHbXnZ9GcNHY81l+TojAYDQcpmPpcKjJZde2x+oOVVgvjHZ7Ph9vPc2JyBQefxWGZLoo5uflgHmjXSvPhPABrJuRmHz2K3AubwoAzHu+KgNIRbwTHidN1RXz5aNgamMm4tSoVtsrDuZT5HjYsC9XjzVI4i5fomnO3M0A7LdFQnVd1uQOAkFZJpq2AsVe2582VOVWASYrtpQWzfdiupz2Y8RUlfXOqbPNLnRTSy X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYZPR04MB6117.apcprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(136003)(376002)(346002)(396003)(39830400003)(1800799009)(451199024)(186009)(6486002)(6666004)(6506007)(83380400001)(52116002)(2906002)(4744005)(26005)(41300700001)(1076003)(478600001)(6916009)(316002)(107886003)(66556008)(8676002)(66476007)(8936002)(4326008)(5660300002)(86362001)(36756003)(6512007)(2616005)(38350700002)(38100700002)(66946007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8VBeWR2C1JxeSmRYNmxCMdORnJyfQCSTGJGd36dl/5IgWEK35vT4+Uujz1Fjvnt8/mUBX7Y023AUpPZqc9liCPhXKIV0FTvk8NvnsBKGEpiWUtSjYnqmVxHqM1/G6VhV1ixGZ46nAROaHeYGGtbbhgbSi6GqgxVMf+LjhS78fQX2HQAKwuLFQVZDAFtCc3DB2GsXwl97jlOox59ORz6qUPnVnTXLk5mVnQLq/B5JbwbjawypzABthw9cGH29c3geYu3Jaj5KN9Ivd3bAoivfRsdCvPsXb/BkMJw6zG1Rjw50Ah1GeXN5HDtzFOLpVjeFqqmQJ0EnsmsfW6r3QIpNFAwdZ9k/aBL3sugudO8Kk5jdlAx+QJvmvaP8FUlqrJX750ueFQn4Bl99/uXXgp15Xy662ERihYKKE2PK+gPV96DzSttn1nu/5WlJ9jcdFlpqogfvwWpru4p2jKbjm0Gm42DGYxnRkc0YanjLy3Fll8NKUbSyJwB5T8F4taUeqmXP450cUv9z+xvyD/+EO3DgmsW+QeX4XuxxoeehYua6R7GbGNv+x/xy7WRDBU1cz3cr3HR7iIURdbYjSO5f/q/6KBLEBkKHp+vPHiItihrhNEm0NUgN4nyecfY0uiWu+dLPKq0uvtmpcgu3rV/B8BAS/NMebO0SX9nqzm1YCdhN4IQohhd/pXlCSoi5Lfg6AGZWD7Vx/BlM+dLUoBfIemmiNQEmoaH4Z89/Q6NeYMZQrWlj9E9si2U0YkNZZJp4l8nOUkQjYqM3QbgLSXvL6i8dEx/2LWmlooR9Am3EFG4AXe7uqF6kVqPQaVDAEz+7AAJjL1L9cC/bw59GqpN0Og3fker4akuqYxcuzIjC5CAGEXYeCLAN9157ro7PnJF8yIsFJaPWUOlwN/CpBWBvK62eAtE5QMYYb2slt3avOclg2GLm3Hh3+8irJxXD8P+rFC4EagYStQCP8FBsspRx6qj55ozWWaWgLeOPVv5ziUhUpehLRW/T09AdPFv9f3fS9+Tcv4ite1GpRSLFh7HqQB7Armsk1hQ4MBZLYUXUQpdrQbUxnpKOM/3gv4hzJYyGXAc0XJBEnBcl/9gZCmcITny0IW/VTZHt8cYIr9Esbti34aMAJ7Em3qFrKozydn5sltfTDFtSNOeytXgOH7jmq37g5v96qw6DG0xACWQuOKBJhISBLSrqOhW5ixySVimkcaiXsfesCCtrT9dQPfRXUiOxvdWVk7qIq7dru8ItU0KKrf/TY5En+o+5QQgHNVfQKDq+Lk51W5t4Qxug1j8B8y/TzfID+9xai/Cox7wKS9TknaMf1cdLWfoxiMIlbte31SdqPPy7ocEzfzA2gZhw272oL/Y0UuvCWeatE+2AV55TRBKtM4gHH7nKl3gjUgfPyiM7ysKAzr42Q+6f4DAD7ABMdIF7KgQXzYKVix1wzyEs/dnqGesueE3EefRmAmlVdxaH5W7ePtFqZb8bXyjneIgB3lwdlLVWSqI7oZGp2bEIOkUKQhMAXjue8J5fg0rehNvzbBPUEpsTEbwkrn3m5Fi32C0V0atqnBPXGmAP4r+WCOXRsInQbzchmnB40xRoXWmmW514vwPD8i79lu8LCaQXew== X-OriginatorOrg: cipunited.com X-MS-Exchange-CrossTenant-Network-Message-Id: ee4b1dd4-477b-43ab-edb5-08dba779e9c7 X-MS-Exchange-CrossTenant-AuthSource: TYZPR04MB6117.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Aug 2023 03:50:26.1454 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e31cf5b5-ee69-4d5f-9c69-edeeda2458c0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 4F8OeOx930AQDsHjzKKzS1WNafD4IeE5ykIUk//UBUgV7A4xkjQG83FbIhvjiSg189rZAasEX3/bpZIZc5cI+In+gSC9niXZ8YS2brNmB2c= X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB7164 X-Spam-Status: No, score=-13.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, 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.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1775443425456015327 X-GMAIL-MSGID: 1775443425456015327 Only mips*el triples are supported by binutils. The mips*le or mips*el* may cause some problem with other components of binutils, since they will consider them as big endian. --- gold/configure.tgt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gold/configure.tgt b/gold/configure.tgt index 996bc901d1d..8f0f21bdc03 100644 --- a/gold/configure.tgt +++ b/gold/configure.tgt @@ -153,7 +153,7 @@ aarch64*-*) targ_big_endian=false targ_extra_big_endian=true ;; -mips*el*-*-*|mips*le*-*-*) +mips*el-*-*) targ_obj=mips targ_machine=EM_MIPS targ_size=32 From patchwork Mon Aug 28 03:49:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YunQiang Su X-Patchwork-Id: 137002 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp3098683vqm; Sun, 27 Aug 2023 20:53:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHuRl5ArbgPg9sQuDuYanyud85RNM7/7M5CjaZ0pBoWbPkxWzA/9pTUBrmUogQS9Vob1fV+ X-Received: by 2002:a17:906:10cd:b0:9a2:26d8:f180 with SMTP id v13-20020a17090610cd00b009a226d8f180mr8202904ejv.70.1693194832166; Sun, 27 Aug 2023 20:53:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693194832; cv=pass; d=google.com; s=arc-20160816; b=k0XXiCUoUhGub1mquB0jXIDM5g7H3bbSxXCGjc7xX2dTPfMcMmPpDUy+6ZjynMN4hf mklL9bca2EQewoSko1b9SpoYKYLtxnHR2uCc/ArQZreaqyoBdJzDIxVoU/VByGN9wWd9 98izX9iT78wuHNaKGt9h/O92umdbSK5z+IO13nJ0u1P8/uEEmZQGE79n5wehv5WoAHHn oGh3LycATOdOQlyXV2LC+8j4vXmtKSBI8/TGPN+4OcxBtJ07y+sp5rJsadbxTa2yOKQN jZPe8xO0V5A+nWsALJ0eECv3/oNYfLrFmBNCu+/J54s5M3ufTy8SRZkoR7O7zcDxQKKf hCFg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dmarc-filter:delivered-to; bh=dkmB4isB7WfCtFIhhWXcYlJvvqkOl0Y6ZMzLH4Cd2Ic=; fh=sT7QJkKMiMgzlfHKzqKsfXEaRdHlymnKRKVxBfatNUQ=; b=WO4CDP7hlI0e8gsJvT68jgV2c/36St9Qtigyoysb4KxPMaiOjAZJX515fM9m42xCs6 oZ1/v2oAlBNE559s5kW9EaJ/YUqWHuqPTK/g3aB6COnMaNYrE8GZ1XdZhRocXacVStG4 5y/iCFlpqs/rEcvf/cPhMz2oEy22Ec1Vd0b7TaDO0UDf3HJUmgCfrYjkiQzVDdG2ht4J SFk/hgwXwkhq1SpyW0sXn0AzhGADTbUbIvN+HadMa9tyKPmnkHUkrbil6Yq/3+lJx4TS 9jrozTXUlwpyL+Evy9XJft7SrYE7P7vwb8lyvk20Ret2bZz7R4/89VK27f+vwHt623eQ 97nA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=uPxJfSYP; arc=pass (i=1 spf=pass spfdomain=cipunited.com dkim=pass dkdomain=cipunited.com dmarc=pass fromdomain=cipunited.com); 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" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id pw7-20020a17090720a700b0099bd68129dcsi3860062ejb.760.2023.08.27.20.53.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 20:53:52 -0700 (PDT) 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=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=uPxJfSYP; arc=pass (i=1 spf=pass spfdomain=cipunited.com dkim=pass dkdomain=cipunited.com dmarc=pass fromdomain=cipunited.com); 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" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AC4523856DE7 for ; Mon, 28 Aug 2023 03:52:19 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2132.outbound.protection.outlook.com [40.107.255.132]) by sourceware.org (Postfix) with ESMTPS id 6ABB4385840F for ; Mon, 28 Aug 2023 03:50:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6ABB4385840F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cipunited.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cipunited.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XZnintRf14nl3qZKAgGw0wBitSuhB+ebIBtSCPON5EFXeASltVlSkWTN/0v+YHqjkkqt28DSccX/QLL3yt90OkL1XRKyENLEJpTR8LHsslTIS41mPx+J+CPmFHT+vYI4J+M4EweBKBvKj01R9FOIurLjNzkXpA59F03LWOhTMpHOJ6epRWa0FCxzvgrd6MfUEIdjTPs0ABK3mavTGiiiGIgtJnK1sCM88HsVII2idkv3Rq1fAWqKsvrzLCxQE7iNs41LhtZC6N9bLMuu3tQ/WujDw5KyUZN9O1cYfCUqkWlwHYD4Z4jW6kOdt6HiSWY2xyRgfMs4+FF1qFVPaL+RuQ== 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=dkmB4isB7WfCtFIhhWXcYlJvvqkOl0Y6ZMzLH4Cd2Ic=; b=WDIEfVSOanarklhKNxQYDZBKNdmvX4+8Hj1yrwofKs9dFt0Jnz5f1QJ9vECrXsQrAnElN9ZVIX1bTi7DSKyXzik1FYKWKnByjbhxD0k4NtZc2HBpvb670ickSIETuI+Nie0qDUnHoaSUDkJGv5rAfNzwWMcDo2z/Tc0S/s7BRPFQ2V0TuUZiJH2Pyc1TraxAEvtHgM/2CJLyNBEz7p8PEUAoSnwqoz/sgzl2IETfJDWFYdOSZOXprMgesej1j+uCY476WCGXPj0hrr784H+EKvg7thQ1dVQEHThe62/sqee54YR2s3hPRPjl2la3tMMayDCRkfuDIbRByOj2X59H+A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cipunited.com; dmarc=pass action=none header.from=cipunited.com; dkim=pass header.d=cipunited.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cipunited.onmicrosoft.com; s=selector1-cipunited-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dkmB4isB7WfCtFIhhWXcYlJvvqkOl0Y6ZMzLH4Cd2Ic=; b=uPxJfSYPAuPiZVLIbQqhF6AaUEukmzYccZxUMPx25dtvxDLyWqdppkHrC74aPKS4fi+Ri5dYIpNDzjypwDLpLTMnSJv5mXOdnlzbeS7P0bHNyxcmyvjB0D1JQdna21JpAjh3sRJ1giVp/y0EjhI5P3zgXIiaaPz0J932cyOt2fs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cipunited.com; Received: from TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) by KL1PR04MB7164.apcprd04.prod.outlook.com (2603:1096:820:f9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.34; Mon, 28 Aug 2023 03:50:29 +0000 Received: from TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::b15:a53e:604e:a735]) by TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::b15:a53e:604e:a735%3]) with mapi id 15.20.6699.034; Mon, 28 Aug 2023 03:50:29 +0000 From: YunQiang Su To: binutils@sourceware.org Cc: YunQiang Su Subject: [committed 4/6] Gold/MIPS: Add targ_extra_size=64 for mips32 triples Date: Sun, 27 Aug 2023 23:49:38 -0400 Message-Id: <20230828034940.2056275-4-yunqiang.su@cipunited.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230828034940.2056275-1-yunqiang.su@cipunited.com> References: <20230828034940.2056275-1-yunqiang.su@cipunited.com> X-ClientProxiedBy: FR3P281CA0113.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a3::12) To TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR04MB6117:EE_|KL1PR04MB7164:EE_ X-MS-Office365-Filtering-Correlation-Id: 5bcf8e69-59b4-4a16-4a16-08dba779ebc1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: feoUMlwxn2Br9nWTN67nlah418YXOXJfcZGnbfBIZ1Z8yCwc9JEAjhqQJjbk2lBNqB/XFkiB3rRSpRYFhgkAVrj4V0O3YKcllzjMGuUFOfbQOLlqakLeO6Z47ElwuNh4Klx3MKT6kbMRp5rD2LrQv/qf5w2nrBWBk0/Ai31RG/29etrkeXdBHGBM1yFouBZHEsUwLy5HUf+YwnRreQxKUyaFbNa4t5B6FUmok667mSYkqclGb1Khs04XULfkBgufaiM7mgKoplWeahECuddC6GbJHxk1Qg5UJeOjDsdo4Tz8qPt+b1lli8nsRZDOez2RV+6C7uAtOxG6/Tig7d6wqOkAxfAjyVJQik9XrQksq0kb8miP+bjusH1DfRkWX4d9G9fsrEJ6n8XoQoSdubO8N0rW131YqIC9BGMwtoHOmiaafPQj45nWdlD5PaQz0v8oCcvPQalAQkRD95wGJYS45vX4IE2EbHUKJ6+vdd/QwseyODBYqRtijwOwWvG/KYsKEagHQvVdL58R5U37OjBI95+kGblZp19kb9unGVQ1efxhltzBFQyRWLgglCCPgfYHJ6Ki/HnWIFpiPnSGIz8OPyaaC8tI2dZ9+CR8njsngT2BKHswUK04w3PFulPheuwh X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYZPR04MB6117.apcprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(136003)(376002)(346002)(396003)(39830400003)(1800799009)(451199024)(186009)(6486002)(6666004)(6506007)(52116002)(2906002)(4744005)(26005)(41300700001)(1076003)(478600001)(6916009)(316002)(107886003)(66556008)(8676002)(66476007)(8936002)(4326008)(5660300002)(86362001)(36756003)(6512007)(2616005)(38350700002)(38100700002)(66946007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: GQ6T2GI5EaEf2lTL8Rlo0/hS2f7MAl9ZKgWKxcfIi/g7iVsYidzlLBKW3KR0YJy8lEhiA/ErIcHt3P6tZ70cmkYemoyX0H0xL6QXmYuwU+WrvxgtpelWyUnYSSZsCeH/Pl2jRQO3Mx4EfnDWboXffsUY/kjAehvd+8PRr3r9A8K0RTRT6DR0ONiTRVZsAf2P6oSRCEquEaYihiGO2ZAydhxHXXu5SLhMVhtczptruCupgKq1qnW8F+6CQ15CIGqjuLcTxe/ymeEZg+JcW5JEFGpb0j7dS35txHgjVZ5AseJ2dAjcjuJFPaI39PJhA2UnPM2HHO0T8hm490vdTauLFpgTL4c5Gtw15ZWMq0+N9mnpkMRdfPoKe9JMEwtK7LYzAr8WvCRzwLsaTA5g2psbYDOqy+Am6Az0olrdSRvB4RFVG4JxCN8mCk6eVMyZaoa+ysD77VVPm27+wG6a1hGTv0xEUImbDy3cbPHyZL8CfWS/ut+0qRxZfNT/e1FzpntZlW2sjg511purkpb27dlwBRXFLeOcr+iYEF2r04ZfOZZLnsrZM7x5BVbQQcdcBKMuMaachGHYgx/HRCGucPqTMm/Z9QD25V/QusITLf/lJnrHNTZU/FxmSzvNT1Hwnts2HZ0Uw/TxZgWx3bF/ChbMfm/pv6tzfUrdURNQK2G5Tg/ZOCZBJMVYec2/H38rZFzTAmtcWKU/V10TjEf9o+C9hpMuddsAUeTngiMRZT0PvFmxiw6w0qmjrgfaz2qgqpABlfjBf+CSQnUU8YzxCKdTuoZy5xZFejUG7fKaEnU5jlEooHTmgG0eQLxcCMQqJ9Vy3BMpi2cFkejf12trZJBfxPw3lfKfof2xu6rDaUl2sINZd7KzoaG2ffPSux85yy7z7l1r14RxVtXmjLbt0xAEc2S1rGkznVj3soZNJ3xEDei2ptyIRXR2hu4JYPoBe4rzZvwgKZJ9cwdZWd29e5TItelRRIrba+tsjvPUnfuVE4zIUtX8TSyvEUVCcmDqYAQfGcKnyByePYGoj0ysnZguhSHo4tYzcZEBKIjkKIA5kO3NAgIcQmyr/BO5D8JYmqhS3t1BM6dzXsY0brEfgs5MnpVFGKBlJcQsXQR5QTzJYaCZuWL3FYNAzirekhO/Rsh0T9Z0jKAqaKlWqtOqdQSnwT0C0wTq+qInFnslctnOf8qfLLM4yI0kKlUFyc2JMdd+wikxHbYN54GUX1NuO5kvmw78DZtGy488xjZNIfLIT7kR2kgSfPudGSSImxndo37Ive9u2dM8UlttNuedirmRRFYhbaOMRqHgPc6KFkYzRWngvQFD7pWFNNdI/wA+cLAndJ1nTV8msV3gXFfVxG6XFwpUFa2X+fANwdDKoWh/g43iUcxlgDSvVnvarZzDS+UL+dFF3pkqTbpLC3mhfkX7Eb8auZ+UE3RZjQsxb/a9YQfil4Sfnp2otDiqcOklzuIzZvWAbPoomlVAKTanNPLWULHzDbFaAH8JH6VZhAAjWHAu0l0CkT53/IEk33qW21oQxh1rCq1xnbtJPiI+gtNT7CxreQ2085K2iXdnevNDeM4n8pNpzBj0KBCeQXP42n+CgvLnilQL4u+dgbxSydi7OQ== X-OriginatorOrg: cipunited.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5bcf8e69-59b4-4a16-4a16-08dba779ebc1 X-MS-Exchange-CrossTenant-AuthSource: TYZPR04MB6117.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Aug 2023 03:50:29.4572 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e31cf5b5-ee69-4d5f-9c69-edeeda2458c0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: rtFQQZoewa5Yilm3m8Tr+xL6xJuurg7jw8zQHcfIL2L8fewgMVgqfc7NejKCYDxV1YTYems3zjjE0LeYjJRjo2LVMSPLQsnIECyOjTRU+Ag= X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB7164 X-Spam-Status: No, score=-13.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, 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.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1775443464175822747 X-GMAIL-MSGID: 1775443464175822747 So we can enable 64bit ELF support for MIPS32 toolchain. --- gold/configure.tgt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gold/configure.tgt b/gold/configure.tgt index 8f0f21bdc03..4b16634ff4e 100644 --- a/gold/configure.tgt +++ b/gold/configure.tgt @@ -157,6 +157,7 @@ mips*el-*-*) targ_obj=mips targ_machine=EM_MIPS targ_size=32 + targ_extra_size=64 targ_big_endian=false targ_extra_big_endian=true ;; @@ -164,6 +165,7 @@ mips*-*-*) targ_obj=mips targ_machine=EM_MIPS targ_size=32 + targ_extra_size=64 targ_big_endian=true targ_extra_little_endian=true ;; From patchwork Mon Aug 28 03:49:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YunQiang Su X-Patchwork-Id: 136998 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp3097923vqm; Sun, 27 Aug 2023 20:50:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEa+yzMbSV1mmIwluxk5KLeC+J2urs91Ce7sietj7+LhCmBrLtoUkJsSI9MyFpo/ihIOqJf X-Received: by 2002:a17:906:2192:b0:99d:decd:3dde with SMTP id 18-20020a170906219200b0099ddecd3ddemr17620356eju.18.1693194653004; Sun, 27 Aug 2023 20:50:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693194652; cv=pass; d=google.com; s=arc-20160816; b=x6MdK/BMO1z8Eu71vAq+VX9hZ62Lbc55gohKdIvQuuqdT2q41aayT6+LpEDDRAAZ1O sr1SL9U5yEKQHl5hnJRr4mcaDHGU77Q7hzIpYeu6HirVk3bOYDVhVNP7XbvFYWEXu4fI MMt+1/E4Tf2kiD543EPrPsMK1zfpyTQpvOTBq0oo8g7uvxGqNrdmJ8xStBjdq1/eCXgR FtjpPQt+7m/TYqylyI/GVGLFFQFNn4PIaeAnwoP5QDmZC4nGUY2pK8rnzMNQb2Uu/QY6 WUrxZgnTvzUbekG2vMd9Kp848zpRXRHcdXI/rKFbvNKZeOALdf4Q8KeFNgNuNgqlseyi yDhQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dmarc-filter:delivered-to; bh=ytzEObPTj7hc8MVo4gPSpr9l0hrh7CWWzNy/mLo6Ve0=; fh=sT7QJkKMiMgzlfHKzqKsfXEaRdHlymnKRKVxBfatNUQ=; b=FgH3ISkBtImMFtOAGNwTF1LqChT8WgEzb3PpFlgP7RKPYb2S3NfuYVD1Y1HPKKxH01 RLYjVf+atjKxzbNO/AkPoXAHj09njE/TNE/jQeNgtkDYK2Vv3BgpmPNF3QMUPi3JAFgr lyNCdmDvTcnx8tuwHpNRywfyvv80SW+i5jYV9hf/hnp/a7cssxgUlqPZZaK7InWeJriL zq9MBStSeRP9ah6Bke/cXPK5t54C3h8rrGY2IlbDAvynKxwzSlTMSH8ePdskmgR9TKVv 6NDFr+XXYQ+3h1Nl/EBJKOacvUbe5jJKegAbjzyplYF7RPyoEdP6nhK511UXDwdRjvdB BGAw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=eEVOUGu7; arc=pass (i=1 spf=pass spfdomain=cipunited.com dkim=pass dkdomain=cipunited.com dmarc=pass fromdomain=cipunited.com); 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" Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id p5-20020a170906614500b0098dfec24292si1889747ejl.829.2023.08.27.20.50.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 20:50:52 -0700 (PDT) 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=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=eEVOUGu7; arc=pass (i=1 spf=pass spfdomain=cipunited.com dkim=pass dkdomain=cipunited.com dmarc=pass fromdomain=cipunited.com); 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" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 26A47385772D for ; Mon, 28 Aug 2023 03:50:43 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2097.outbound.protection.outlook.com [40.107.255.97]) by sourceware.org (Postfix) with ESMTPS id 4ADF5385841E for ; Mon, 28 Aug 2023 03:50:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4ADF5385841E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cipunited.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cipunited.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GF+/xezY97KVuH6YZdIK5ohocxOrzhAjsY3RzexzSFx26KFvW6RBxT3zPV0xK3jYQJyNQfK2BLQLreBxJIejTNzgNC4CApKM9xYj4P5CHxpILA1pK2s1NlZzcU7lz5tlowY82m3+86asOK8aMZfixMViOa8pD2ELFBWsRNIhxUeWrGMkN9inyBI9svfAmGLkINE/ZldeftqPhkx2COzkMlZxisbushNSyjq5NxTSYphvX8hVOV7qlaVbzIJO//2GFy5+VVJarDFIMoxZU3aIqEXXAHhUBM+wNhcIMM3YzkSBGNPGx06RzTw8419g09Fe+3ELeKFfmcn+1qbXRXq4UA== 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=ytzEObPTj7hc8MVo4gPSpr9l0hrh7CWWzNy/mLo6Ve0=; b=b4sTeh92fADCnt4M3agJvDUkSoodCNzL/nzabY7j8s4LDxzRNWVeQ96NLVQy5SlCnqwHVl41GYG4netQFGZXTv5qPLLghFzRRmWRD3lfPkN4+pfmf8XaYeH+x5ZDBVrvz8K5WbZnI6V9oYNEZyjALGnGPOI0EnYr+BjdUlhJP+U2RVwKVX+p/6ZpFOKqM15UUcmIMDSlqR8q/Q8tbepGFSyu/p7+AIlRB0BVjwf2Y9s9h8BngUlZbVwUOLshdwXNZFfVOsDX0x/g9Eishmm1BDwg9Jjk8tGz3Y5oUO8zKjqjrVVDn4tjU4cV+1bMXNiYLQ1Hbj+sw1kldwEj8JHKUA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cipunited.com; dmarc=pass action=none header.from=cipunited.com; dkim=pass header.d=cipunited.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cipunited.onmicrosoft.com; s=selector1-cipunited-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ytzEObPTj7hc8MVo4gPSpr9l0hrh7CWWzNy/mLo6Ve0=; b=eEVOUGu7cMDRGHkYTlgYg8sXod2KzZu0D+4vcjpPUdKaqRkvSpwELA0c7GUBey7Kjz0XtVswBx0vdN0IxTCgWj4IPbQ2gIsAHJOdzvOMQHo0a5PbPyZnPkiwSKhnFzAILtkNnAQ20Ep8Q4K2pLYLAcJb8t/K/FydlmZ/wJU0154= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cipunited.com; Received: from TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) by KL1PR04MB7164.apcprd04.prod.outlook.com (2603:1096:820:f9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.34; Mon, 28 Aug 2023 03:50:32 +0000 Received: from TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::b15:a53e:604e:a735]) by TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::b15:a53e:604e:a735%3]) with mapi id 15.20.6699.034; Mon, 28 Aug 2023 03:50:32 +0000 From: YunQiang Su To: binutils@sourceware.org Cc: YunQiang Su Subject: [committed 5/6] Gold/MIPS: Add mips64*/mips64*el triple support Date: Sun, 27 Aug 2023 23:49:39 -0400 Message-Id: <20230828034940.2056275-5-yunqiang.su@cipunited.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230828034940.2056275-1-yunqiang.su@cipunited.com> References: <20230828034940.2056275-1-yunqiang.su@cipunited.com> X-ClientProxiedBy: FR3P281CA0113.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a3::12) To TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR04MB6117:EE_|KL1PR04MB7164:EE_ X-MS-Office365-Filtering-Correlation-Id: 99776a55-84e9-4a57-a515-08dba779edba X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Cy+89nu6twvRvoPSf+nMu51F0Y8tjdkNZvkfFQ/bKT92YgYDCGiBXIUtJw8mQQq5Y1okYFf/IHGJF/1s+nmaWxMCMOOgIfbkicDV1JdytxsfHPNhl0LW6ZucutemPu0haFFjMyllOP2io97n+g54yTsYnZxjlOq+Ns9IjiRzAQ4a4e9iQDLR9UeZnZ9IJb6bcFuNaKGf/FSxYgA2LdMYyhr9htkq9VzE49JwOlA200FmSwOtxhF8ZO0aNPqSTsQk1ATyZuHBjbRcsqxpF0a/1d36FApwNdqhwz3Hm1stSUUOdw8Tw03NMSEkHeuZhAU/ZTGROKKwJxDyfmcYDyvXnFbNhvk/DTzYKISZbfdoNuCC2WYeN8TtrMY4He4avbrdpjJ1dTtRJjmkl2kONlv6wTB/0806WYrWaBPwGmfzgIgQoIdtCrCrL8z4eboa4oTlFRCBNl+nyEfXR7HUcVQLbSPuzOdsFRnp+2ZqheHL3TFcgsoFc7eg7H913Elv0InJzXwcFJnnon1KXRkgralgNSSIudMZGsOlp1Pt1govPQK7Obd8ZBvehIa+J54x3nS7bbkOqMXSAleVmaObPXxuVgE15VM8lBGLBNnE93Oh4uLW4JjfgQ/eIsYI+FYGX1xW X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYZPR04MB6117.apcprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(136003)(376002)(346002)(396003)(39830400003)(1800799009)(451199024)(186009)(6486002)(6506007)(52116002)(2906002)(4744005)(26005)(41300700001)(1076003)(478600001)(6916009)(316002)(107886003)(66556008)(8676002)(66476007)(8936002)(4326008)(5660300002)(86362001)(36756003)(6512007)(2616005)(38350700002)(38100700002)(66946007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: k5r7c+rdzc2wlhiWe3lltnqkM9B/R07Rnb1A+O4lGdv3jrI5BLT7JDdEACwmiyESlPIwJRacwJ2Hzuy7yelNg/juv9C0soMoHwIS/RS1HJA0b7UKdKqucyaqs25Ta5YCuFq1Qx5LB5+Kbh0JloPGfMmtiIrRPFMr3cjSZY1BhnB6IFFQZuy3iPm49j1IJ+R6+/QfBvJPgmoYo9shKALQTN1fhoKtqkbbHH5E7MleeKQ2S1XDTv1tlDVHuvyalxfVZnxFhWBO4PFqymyZmGwdD4B/EmhuDjO/WfO+ReWyoSXc9mDPNCaZ0HmrJ3ODUYwU/OmddPiHb5aHLM2qk8Km6ATButS+ezmvcon05+dzuGSIljV1qvoNxm13lGEKY3A3nRhLFe+McV6aO1JAdMyhAicPBaPYaXTI7+KqItPlqRb9gEBfYehALFvQIY9R3LIl7a0meCC+6gOVqFTpm6r/YlXRRZJ4DPuy//9vSe1J520nrir3xMZngyzlWy7iPLC51QD1bpT5RORE/1eSXLvbJEYKL8rSwEPf7FCApKr7ochzPw8rcGs3yhrQP7shMCYVvvdPhq6o7Ys5yqFCdNsyhLSPyCHUQywtTO6kv4CGbNVO48fj3h1pdNag9QQZyetRf1/Rjf9KUBhMS1OPky6+DHoclaSlqrvVLjbWSsS7EIrhXvOH0MvNpZZNL2LP0iFS1d067ZJ1a7aZ7qVFlcTyvnz/qa+blbGRaEIzWFCYdDr/s0ycbfE2QZwBELKxvcxnAlTz86dOqwvXr0clC232MrlbGrjzt8gs7Zfuqg7QamJ6zU0sLOigO8Z+Qan56jC03GX0HHlH8IljDyVq+CRemynM58jMxvnv1N3DJOZjuh4HaZDy9Q5WZd2UeZsLL+4RZlr3EtQ4Zd8C2lLLl1EASokl2lD7JPawArZhh5LX5cTcYm8jicQYHknFaAX294GoUitHj2/AN8iP6LwNYvsX8NZlP+uQlhvCONQ0JJNzvl/5HQwBQndg9qdZ9Bi3tNQ6+z7pN919nU4pjfL3g1lzeiLT03bZL0D3uHBjIcA3miMoVNIIsLYHwdBcCo6Q1P2uFSZexif+ZFeIC/CvVgHR91gLW2OYn7e3q4BuFNBEE0I8Co8KhTvirqp0VitlE6ncDDxb+ts1Z6GurXWK02hjbyyYqSCBpG5okJ2Pzo0LNWpCyy28lXiEeyTBcoYbIUKPcsx51icz5zBsZBAEb51+OcvhLWoLdkqx/pH4mTvchUNLgs3M18H5/eCehk2fx29ceceqn2Td7VXALt+qTLsf7FWKn6YobjbIb1sreT2QnZGwKYHpW4+ftBn/fHAp/euLKPhZpAzCaGqyXGtKUIEeZKiDG16DfQc6erIAJMtXxiXYlYQjlvwcduC6cOmeqIrWynoVd44q6awYJKLdzvivUNyTYslpd/ZOyaR/tv34yG6mo9hd1VagMBJoYCj7kGeALFQOd/kle2XQLTrqex9rf4YL3mTAgUKBkekO/RVbDVARhjwyWYdXf1NvFFP6oqGZZBBpaIk20Ws/0uLSPoY9w3HaDnGsQ8/lHVuvkEn4otf37hcrPDPgfgWwkMwp+aEGv6oozc+RglUiNwFfwds8JQ== X-OriginatorOrg: cipunited.com X-MS-Exchange-CrossTenant-Network-Message-Id: 99776a55-84e9-4a57-a515-08dba779edba X-MS-Exchange-CrossTenant-AuthSource: TYZPR04MB6117.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Aug 2023 03:50:32.7801 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e31cf5b5-ee69-4d5f-9c69-edeeda2458c0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: XU4zubnejuv2Y47gL66DqIjuaNvKdKZZlOVGhAdLiTqiVucd7PLA6WitWOMG9ujJFEJDfaO/98Fauo1aQZwmceoaykLFUe5w225WA2jrp9g= X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB7164 X-Spam-Status: No, score=-13.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, 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.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1775443276577358894 X-GMAIL-MSGID: 1775443276577358894 Use targ_size=64 and targ_extra_size=32 --- gold/configure.tgt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gold/configure.tgt b/gold/configure.tgt index 4b16634ff4e..e2e131bbd84 100644 --- a/gold/configure.tgt +++ b/gold/configure.tgt @@ -153,6 +153,14 @@ aarch64*-*) targ_big_endian=false targ_extra_big_endian=true ;; +mips64*el-*-*) + targ_obj=mips + targ_machine=EM_MIPS + targ_size=64 + targ_extra_size=32 + targ_big_endian=false + targ_extra_big_endian=true + ;; mips*el-*-*) targ_obj=mips targ_machine=EM_MIPS @@ -161,6 +169,14 @@ mips*el-*-*) targ_big_endian=false targ_extra_big_endian=true ;; +mips64*-*-*) + targ_obj=mips + targ_machine=EM_MIPS + targ_size=64 + targ_extra_size=32 + targ_big_endian=true + targ_extra_little_endian=true + ;; mips*-*-*) targ_obj=mips targ_machine=EM_MIPS From patchwork Mon Aug 28 03:49:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YunQiang Su X-Patchwork-Id: 136999 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp3098006vqm; Sun, 27 Aug 2023 20:51:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHLZGuugQbZ+8DpuqEUo06n57/KkSvXpI/dCcg6CUP9qI0LphJbabuAymYYchhlnmlB836W X-Received: by 2002:a05:6402:3447:b0:523:bfec:490f with SMTP id l7-20020a056402344700b00523bfec490fmr20551436edc.0.1693194668192; Sun, 27 Aug 2023 20:51:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693194668; cv=pass; d=google.com; s=arc-20160816; b=BfNlwTvArk4iuq3p5AMLn4LVlCL4ueQAmgUh8LzfAoZNQ1xzxORZws/P1B3efxOzF8 kN0eG2AyHEqUibaklj20HwWKSPkLRARM2hfqsUZPOmxiCYdSOY71oWiTkTOhEmAVbHse PvT0ovRjlpNQNAGE4ZyB2U0dMeZzMt6dnrcakUuHAt3gp0tKoAQrqRkCy1pvGg8/mZH7 aXJ6Kgz5u8e7YVt1s42bUOmUlkT+zbSmjkt7kS1WsZz903B6WxkhMd+P2/bS79uE+W3z 59Vd0K+aKcM98zl8lU3kOeBS8p6vB/1DlaX3XDe4cuGkbBJAvl/+r5S1Hkdr7rj68FzM D4oQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dmarc-filter:delivered-to; bh=Htn3/RZYNo5zn08DjQYWQ8x5I7bfmjm2ogteVPpB9U4=; fh=sT7QJkKMiMgzlfHKzqKsfXEaRdHlymnKRKVxBfatNUQ=; b=sY3NAZTb2i84abOtqk7DZr2LouFCfZiEgV3v27GmdhwjR5zpi7Tmh8FB1SRlc87VUZ AerQK4spft6I8ebMc3wSfdJQZ+Jbv+oiGAR2l21K4tVTX8P3Rl+FXemQo5OJxJ1qjxHf F8xnG79QlLaoXH25RbbRI17kHkoulzdbo96PnpZTjN5wT28eiz2bUCGlXJfu4wVk0reE H1fo6cxoWK/v7B+BoWIuAOevwzoLN8QZkkXuWu/lHZrefJfR0sHUS4Z1UWNXaXeoenwG jiQY8o4qjj//aheM3StIcp9zDuggJEPZ0hwOxmzaIayQRHAsG3oOMmElhwamZwiOL5/w 61Dg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=dc8xCUGm; arc=pass (i=1 spf=pass spfdomain=cipunited.com dkim=pass dkdomain=cipunited.com dmarc=pass fromdomain=cipunited.com); 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" Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id t9-20020aa7d709000000b0052542edc0afsi3906265edq.256.2023.08.27.20.51.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 20:51:08 -0700 (PDT) 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=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=dc8xCUGm; arc=pass (i=1 spf=pass spfdomain=cipunited.com dkim=pass dkdomain=cipunited.com dmarc=pass fromdomain=cipunited.com); 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" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BE34A3856DC6 for ; Mon, 28 Aug 2023 03:50:47 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2139.outbound.protection.outlook.com [40.107.255.139]) by sourceware.org (Postfix) with ESMTPS id 3356B3858023 for ; Mon, 28 Aug 2023 03:50:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3356B3858023 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cipunited.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cipunited.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I925GjZy7YyX7EfmHGnXkXVTirWdhwwWJWP4pS9EWUyFG3UUfB9YEDPw2FRQ8ECJcr3GXPNNcc6V1SFSF83nB+BQQf7My/m7Ih6tM8eXrmRHOoLScQnpBIkBTik6d6PwwhgoGBobWuswaN8go6rz2zpfwVy1PSKuHKEZzfkQF7zLhSSGrsvAjUW+/lVfBjORuxSzFycX3B8QpwXp+Uq7Wrbd4pUL6Zioj5GVQgCK/YucSvEPyhkPDVyTy3fT7r3tzYZDgDradbUA23WAeBjp2kO29Ttr0m4vpHidZt6d5EgrmtR69o1W1CdfEU7TiOp73X25EoZ0I9slD/XS/E5irA== 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=Htn3/RZYNo5zn08DjQYWQ8x5I7bfmjm2ogteVPpB9U4=; b=kRMhR04RBWsfCkfNWjctoDniz2bx1sqv8HkcVtRyygFDLU69Hit0JvEngW9mCvJTU7caOHGpHAApDRUV9BtWBaxx56L4hIa9nA5yqYW+cuJA5ex3LS25lvoT32xc5Dm+PQAwlKhSyB9B3h+AA/CAin1O3afkKFYemFbajytdAC5YfD/mQzxlew4OYnBihkY1eF5RtFmDFlsbFIL4ECo1s2PHqhjKl4E6X4/0MxUDclIJEUavNCHUNNwkzkZJjl+3Z60rKV3f+pdAy7vIeW4XU/2+X13g2VdnrJkBvNoArijz76tKhLqdar+In5+KSMPqVJ4XuUR1hFCmTYWv38fmtg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cipunited.com; dmarc=pass action=none header.from=cipunited.com; dkim=pass header.d=cipunited.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cipunited.onmicrosoft.com; s=selector1-cipunited-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Htn3/RZYNo5zn08DjQYWQ8x5I7bfmjm2ogteVPpB9U4=; b=dc8xCUGmn2kkIeL9Do0zfYjZZEdcfUnvyZyOSaLlxvJem3RM3LtZIRpJFJyiC8pHBj9qHfAbFSL7Akblry9uoEv1M8A9xk0QPxybTFCkB9IYnwt/nQezK9+qi720WLxcNqZl57WPNGTFyusUQr5TkE8hlTzKd2hEwsKejGrLMJQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cipunited.com; Received: from TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) by KL1PR04MB7164.apcprd04.prod.outlook.com (2603:1096:820:f9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.34; Mon, 28 Aug 2023 03:50:36 +0000 Received: from TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::b15:a53e:604e:a735]) by TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::b15:a53e:604e:a735%3]) with mapi id 15.20.6699.034; Mon, 28 Aug 2023 03:50:36 +0000 From: YunQiang Su To: binutils@sourceware.org Cc: YunQiang Su Subject: [committed 6/6] MIPS: Use 64-bit a ABI by default for `mipsisa64*-*-linux*' targets Date: Sun, 27 Aug 2023 23:49:40 -0400 Message-Id: <20230828034940.2056275-6-yunqiang.su@cipunited.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230828034940.2056275-1-yunqiang.su@cipunited.com> References: <20230828034940.2056275-1-yunqiang.su@cipunited.com> X-ClientProxiedBy: FR3P281CA0113.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a3::12) To TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR04MB6117:EE_|KL1PR04MB7164:EE_ X-MS-Office365-Filtering-Correlation-Id: 8a85a266-29e4-45d0-aa12-08dba779efe3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Af8ewMl2p3rWovCLr2qJd4gDQeDusAejFDujojb1LJi2YMoBrMLoi+bJLdc2k7mDEZ7vDIjhv0OyLMlqxpfvgmFwNskPoHYQGBxdE8GDu6lvc5qhEWw56p469iCys++c7TCUKIMHn179vzouopIRetKA6BVTdAVkg1FSNdWdKlmZ0TCVBOMbbNv0tss6w6WPyPzmZWvqEql6c7HQultXQwq5g2ReQ2qXsnR0aGYDR0xgpAy/0U/GnKNXqDehLAInggGZSP1pMixPIfPy6oex7bYwQjXp07gXMNH6IpzWMZWPaESOip1RG51/CPK8LsXYQP3vmHaGH6DMZhIpUnHuhflQpZ6gS2w6hChUJQ0o+FPD8AyDaq1eqyr8Y1W6enpWrsGQTXKeWEadULCYU3Y/4/0nka9tTV07D+YItHwPfWrLicq5NrYbiJm/v3udbFtMqvSUdzn1FvoJZLnAUjVWppUQxOXWzoK+LGD5tqz+CPPS4ki0c50bi311JpzjNXTnhuttCw99GbCunh4l67X9oMYAQ0KtliuXQZQCYUaVdOL/0lyycx5ePzjIKE4d7tQXZ4cXrpPviEb8l9rPARz1uC6Xt84oDVm0l+n78IvTOFmAXe72jrGXuMXxXD5ITQlFoJr0NTJu9nrTNnWGzWSegg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYZPR04MB6117.apcprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(136003)(376002)(346002)(396003)(39830400003)(1800799009)(451199024)(186009)(6486002)(6666004)(6506007)(83380400001)(52116002)(2906002)(26005)(41300700001)(1076003)(478600001)(6916009)(316002)(107886003)(66556008)(8676002)(66476007)(8936002)(4326008)(5660300002)(86362001)(36756003)(6512007)(2616005)(38350700002)(38100700002)(66946007)(81973001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qEwwOgEPN8/foLSefE0E2H0bI6dD5UgZIboGGTvpGhrgKaiv+jembl05/L9emysi/lyyvTWU7H2cxd6rLqoqz2psZty191XGs5rDt3LP+F8hYHmf6pXBmDArm8bl+Lg5WsxoW49ssEIPo26mYpuUZyJhJK/S9GYZEAlrlVVOv9ulS0VoGGL3f3LdAMls80sE/fMkGdt4Yw9xXJ+hE1f4/KCeYBp6oEQW3feS+UaoDQvuGImcuobSLUAtDoC2jXsrjNVkHj2qH4M+u2ksFaN+ITH+KI2VTJD7Eg/Uajsl5bRasE9b9frltZOFpHxGpYWsnz5vbwnBITgOmOlSKrP5gipnwNVNJahqEZHpzq+gysU8cz2UyfKfSlHnCm1J/zE2Zj6vqpzeAWjBc1daTiI/gG2Hn94rFyYYA/2/utt+f5Z42kj+jocNLN+V+YLmhqpWEnvUgJm4aS2QOpuFyHhNeY0nOC6FdYyzzyBmYSPoKsgJ+MH3d74e5/11vVoByEFXUHaMoFgZai+DESGT/OCfhoFSKRBE714XFt1K9rSWhj198M8TpajgYzkMTUzAupIgYnp8Bc7mg9B0NvEgqSK2g4eMquXuWBJ1O2AJTIFGKVAVxYvnXpJR6HlM9naPUFkQjSdMQcQd1uinKoy958nHrGQFHwMYaz3jjzM3/+ZAwBDP1qpbEfpLPSAAVHML/q6SOlzBnJdEKGFyN4s/bKUIJbPOe9DWH3rhAza0/MpuBg/lfBl3k/49fM+M13x5ukvaIXZ9ov4LtL46vrkooUolNcUZvpB/Kvq6c7hA9dihbj/YB1DSxUu6U1MIv9nWKXIIia0dtf3apcKAs+X49A0uDL0wmqUXPFvog7w4N17JzTrj8MkyKzLQTS/gTXvomtSqVEyTxLaV+utuwOeom3+UjKvoKDDDu58pB6QHNmzXEYGE0IZWh3BAFuZy7Hs1/SzBRvAzsBzWBjJw5RCNlTL67JvGrIoOshPVycaEYEgYLE+MCBl3gXyvxM6DgTXR+/19iRfV8YodIKlgZvt7N02cMFuCM9ukthNZBg3ed07em0D8iwuGtoW+CQTuh2CbKKPCxrefpUZNfMCU5iFbR8ClfF2Tn6Xi5CWlrHaJGF+eOmXBrKnODcJmg4tpCMpSLw6eo5N+eOCsOCqRlIE/8ZNUY81QYOqeO+90Cu/FtkWjDsbNXFLFhmNF4ozDvCTZiQRqtRjZywXPHLohZTiyzUGg9SuX4yt9QWoJ9dtEvLKLtQ4e08kOACNIaza8I63tbnFHDn2WBV6pKsUXxNLkmKKjp6bX6hfYfqJqVGtZTDfjrW3u2Bl408FSRM7Q8qi9+CAorngkJRgOwzTBmMkxjM25fDfFKJNtEFyko0RyVlp+57BjyE+avd7N1QrcWwCmG7gAoQNlMZJUaMbYsTf/MGXpizKwQm8LFTuuV2g2m1Axvw6jkVR14hABflJmA5X9eg7YG1bIzgTkJZSQgQ8SykuOkcHjM3p+ESOdBgKY/pWECIIEiXs0Q9gR2NKl1pyqMtgEcDuSq+uPlwwgyddxLlJPtM2rK0pveQjx6cToVo2Y4UXqCW93zz2CuB84euKefTZXGzYC5NGQL3G2j9+rdeSrvA== X-OriginatorOrg: cipunited.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8a85a266-29e4-45d0-aa12-08dba779efe3 X-MS-Exchange-CrossTenant-AuthSource: TYZPR04MB6117.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Aug 2023 03:50:36.4158 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e31cf5b5-ee69-4d5f-9c69-edeeda2458c0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: tqG/Ix22Vz0CdDPF/M8yi/+k0Dtw4npfB8PAuvDg+qeIZwfC/0Byd4BFpV4mK7ECzCoWiFgnYOZVeLJCxORLQRxqtQ9s6Gf5HpGGORG8zAo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB7164 X-Spam-Status: No, score=-13.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, 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.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1775443292333113910 X-GMAIL-MSGID: 1775443292333113910 Following the arrangement in GCC select a 64-bit ABI by default, either n32 or n64, rather than o32 for `mipsisa64*-*-linux*' targets, just as with the corresponding `mips64*-*-linux*' targets. --- bfd/config.bfd | 8 ++++---- gas/configure | 6 +++--- gas/configure.ac | 6 +++--- gold/configure.tgt | 4 ++-- ld/configure.tgt | 10 ++++++---- 5 files changed, 18 insertions(+), 16 deletions(-) diff --git a/bfd/config.bfd b/bfd/config.bfd index 08129e6a8cb..55fd02e787c 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -956,21 +956,21 @@ case "${targ}" in targ_defvec=mips_elf32_be_vec targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec mips_ecoff_be_vec mips_ecoff_le_vec" ;; - mips64*el-*-linux*-gnuabi64) + mips64*el-*-linux*-gnuabi64 | mipsisa64*el-*-linux*-gnuabi64) targ_defvec=mips_elf64_trad_le_vec targ_selvecs="mips_elf64_trad_be_vec mips_elf32_ntrad_le_vec mips_elf32_ntrad_be_vec mips_elf32_trad_le_vec mips_elf32_trad_be_vec" want64=true ;; - mips64*el-*-linux*) + mips64*el-*-linux* | mipsisa64*el-*-linux*) targ_defvec=mips_elf32_ntrad_le_vec targ_selvecs="mips_elf32_ntrad_be_vec mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf64_trad_le_vec mips_elf64_trad_be_vec" ;; - mips64*-*-linux*-gnuabi64) + mips64*-*-linux*-gnuabi64 | mipsisa64*-*-linux*-gnuabi64) targ_defvec=mips_elf64_trad_be_vec targ_selvecs="mips_elf64_trad_le_vec mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf32_trad_be_vec mips_elf32_trad_le_vec" want64=true ;; - mips64*-*-linux*) + mips64*-*-linux* | mipsisa64*-*-linux*) targ_defvec=mips_elf32_ntrad_be_vec targ_selvecs="mips_elf32_ntrad_le_vec mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec" ;; diff --git a/gas/configure b/gas/configure index 3c80fe5741a..1827e38690e 100755 --- a/gas/configure +++ b/gas/configure @@ -12256,11 +12256,11 @@ _ACEOF esac # Decide which ABI to target by default. case ${target} in - mips64*-openbsd* | mips64*-linux-gnuabi64) + mips64*-openbsd* | mips64*-linux-gnuabi64 | mipsisa64*-linux-gnuabi64) mips_default_abi=N64_ABI ;; - mips64*-linux* | mips-sgi-irix6* | mips64*-freebsd* \ - | mips64*-kfreebsd*-gnu | mips64*-ps2-elf*) + mips64*-linux* | mipsisa64*-linux* | mips-sgi-irix6* \ + | mips64*-freebsd* | mips64*-kfreebsd*-gnu | mips64*-ps2-elf*) mips_default_abi=N32_ABI ;; mips*-linux* | mips*-freebsd* | mips*-kfreebsd*-gnu) diff --git a/gas/configure.ac b/gas/configure.ac index 3a04c39d344..ecfab6bf510 100644 --- a/gas/configure.ac +++ b/gas/configure.ac @@ -394,11 +394,11 @@ changequote([,])dnl esac # Decide which ABI to target by default. case ${target} in - mips64*-openbsd* | mips64*-linux-gnuabi64) + mips64*-openbsd* | mips64*-linux-gnuabi64 | mipsisa64*-linux-gnuabi64) mips_default_abi=N64_ABI ;; - mips64*-linux* | mips-sgi-irix6* | mips64*-freebsd* \ - | mips64*-kfreebsd*-gnu | mips64*-ps2-elf*) + mips64*-linux* | mipsisa64*-linux* | mips-sgi-irix6* \ + | mips64*-freebsd* | mips64*-kfreebsd*-gnu | mips64*-ps2-elf*) mips_default_abi=N32_ABI ;; mips*-linux* | mips*-freebsd* | mips*-kfreebsd*-gnu) diff --git a/gold/configure.tgt b/gold/configure.tgt index e2e131bbd84..99a5fcc91ee 100644 --- a/gold/configure.tgt +++ b/gold/configure.tgt @@ -153,7 +153,7 @@ aarch64*-*) targ_big_endian=false targ_extra_big_endian=true ;; -mips64*el-*-*) +mips64*el-*-* | mipsisa64*el-linux*) targ_obj=mips targ_machine=EM_MIPS targ_size=64 @@ -169,7 +169,7 @@ mips*el-*-*) targ_big_endian=false targ_extra_big_endian=true ;; -mips64*-*-*) +mips64*-*-* | mipsisa64*-linux*) targ_obj=mips targ_machine=EM_MIPS targ_size=64 diff --git a/ld/configure.tgt b/ld/configure.tgt index ff0aaaae257..34d20e05bc9 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -586,21 +586,23 @@ mips*-*-vxworks*) targ_emul=elf32ebmipvxworks ;; mips*-*-windiss) targ_emul=elf32mipswindiss ;; -mips64*el-*-linux-gnuabi64) +mips64*el-*-linux-gnuabi64 | mipsisa64*el-*-linux-gnuabi64) targ_emul=elf64ltsmip targ_extra_emuls="elf64btsmip elf32ltsmipn32 elf32btsmipn32 elf32ltsmip elf32btsmip" targ_extra_libpath=$targ_extra_emuls ;; -mips64*el-*-linux-*) targ_emul=elf32ltsmipn32 +mips64*el-*-linux-* | mipsisa64*el-*-linux-*) + targ_emul=elf32ltsmipn32 targ_extra_emuls="elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip" targ_extra_libpath=$targ_extra_emuls ;; -mips64*-*-linux-gnuabi64) +mips64*-*-linux-gnuabi64 | mipsisa64*-*-linux-gnuabi64) targ_emul=elf64btsmip targ_extra_emuls="elf64ltsmip elf32btsmipn32 elf32ltsmipn32 elf32btsmip elf32ltsmip" targ_extra_libpath=$targ_extra_emuls ;; -mips64*-*-linux-*) targ_emul=elf32btsmipn32 +mips64*-*-linux-* | mipsisa64*-*-linux-*) + targ_emul=elf32btsmipn32 targ_extra_emuls="elf32ltsmipn32 elf32btsmip elf32ltsmip elf64btsmip elf64ltsmip" targ_extra_libpath=$targ_extra_emuls ;;