From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 504F815808D for ; Thu, 21 Apr 2022 06:40:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB737E07FE; Thu, 21 Apr 2022 06:40:14 +0000 (UTC) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EBB12E07FE for ; Thu, 21 Apr 2022 06:40:13 +0000 (UTC) Received: by mail-pl1-f173.google.com with SMTP id c12so3948430plr.6 for ; Wed, 20 Apr 2022 23:40:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QvANX8lKLrXKQniV27iDcLoZ19fnHmRxJkAVG0gjonY=; b=2hov0sXTTqAyAfxAjFxtnjMElV+6JCsqmx1GjPa/mNJSqrc8glh1zNcYpw8LA7dJK6 6S7JqMVg64zdij4Zd7aLPDAWTQj8J2VQJG0BWEaZBaS8BGreK+MZlgzuGaqm6KTjFzF3 N9jTGn/McGbNtVEFfPNg7tHBzUZKFxN0hu4OHoO6wrp656T1KQI62f99Sl7JnERJqqba DsRL5BhexLTLQ7vTuLemFz5JYJVwfqE/NrPee2TerqspjPs6yIv+hlhyFxheksffCbXT TIZ8plhl1oH/SEf9h0VgSeabuYnefTN6xoY5qAOf3Rf9aqv1gqeZGV3bSJHXeoGwjMMF o3Vw== X-Gm-Message-State: AOAM531v8qpUeRTtjltgpBNCOaeo1V33nUO7grrSferh1XYRBEkhHZA6 2CiJRNiYxeovbUUjbSfFi1PkDhOo2hUkuA== X-Google-Smtp-Source: ABdhPJz79LZ2lrVwVOs0sWJa5I7eYasezVaLcZ61vGI7PhVHGyIuHRMRlAFVX+nk1xYc/JU6zGmvew== X-Received: by 2002:a17:903:240c:b0:153:c8df:7207 with SMTP id e12-20020a170903240c00b00153c8df7207mr23997120plo.44.1650523211069; Wed, 20 Apr 2022 23:40:11 -0700 (PDT) Received: from localhost ([199.247.115.17]) by smtp.gmail.com with ESMTPSA id lp5-20020a17090b4a8500b001cb978f906esm1418110pjb.0.2022.04.20.23.40.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 23:40:10 -0700 (PDT) From: Matt Turner To: gentoo-catalyst@lists.gentoo.org Cc: Matt Turner , Fredrik Noring Subject: [gentoo-catalyst] [PATCH] arch/mips: Compile mipsel3 stages with -mfix-r5900 Date: Wed, 20 Apr 2022 23:39:52 -0700 Message-Id: <20220421063952.1020156-1-mattst88@gentoo.org> X-Mailer: git-send-email 2.35.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 41f3e5ef-ed19-4f2a-b3fa-ea60cee912ed X-Archives-Hash: ede28a47143c8320420bc5df38250582 ... which will make them usable on the PlayStation 2. Don't bother modifying the n64 ABI configuration, since it will never work on the PS2. Suggested-by: Fredrik Noring Signed-off-by: Matt Turner --- arch/mips.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/mips.toml b/arch/mips.toml index a10ee799..22c9a22a 100644 --- a/arch/mips.toml +++ b/arch/mips.toml @@ -72,7 +72,7 @@ COMMON_FLAGS = "-O2 -march=mips32r2 -mabi=32 -mplt -pipe" [mips.mipsel3] CHOST = "mipsel-unknown-linux-gnu" -COMMON_FLAGS = "-O2 -march=mips3 -mabi=32 -mplt -Wa,-mfix-loongson2f-nop -pipe" +COMMON_FLAGS = "-O2 -march=mips3 -mabi=32 -mplt -Wa,-mfix-loongson2f-nop -mfix-r5900 -pipe" [mips.mipsel4_r5k] CHOST = "mipsel-unknown-linux-gnu" @@ -172,7 +172,7 @@ COMMON_FLAGS = "-O2 -march=mips64r2 -mplt -pipe" [mips64.mipsel3_n32] CHOST = "mips64el-unknown-linux-gnu" -COMMON_FLAGS = "-O2 -march=mips3 -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -pipe" +COMMON_FLAGS = "-O2 -march=mips3 -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -mfix-r5900 -pipe" [mips64.mipsel3_n64] CHOST = "mips64el-unknown-linux-gnu" @@ -180,7 +180,7 @@ COMMON_FLAGS = "-O2 -march=mips3 -mabi=64 -Wa,-mfix-loongson2f-nop -pipe" [mips64.mipsel3_multilib] CHOST = "mips64el-unknown-linux-gnu" -COMMON_FLAGS = "-O2 -march=mips3 -mplt -Wa,-mfix-loongson2f-nop -pipe" +COMMON_FLAGS = "-O2 -march=mips3 -mplt -Wa,-mfix-loongson2f-nop -mfix-r5900 -pipe" [mips64.mipsel4_r5k_n32] CHOST = "mips64el-unknown-linux-gnu" -- 2.35.1