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/1eSXLv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wFfwds8JQ== 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