From f1398b146a94d6509521fd7ce85144c36f53dd78 Mon Sep 17 00:00:00 2001 From: jchzhou Date: Mon, 20 Oct 2025 10:40:46 +0800 Subject: [PATCH] fix param missing in Ztso RISCV_EXT_FLAG_ENTRY in RISC-V-Implement-TARGET_CAN_INLINE_P patch #ID2L4T --- 0096-RISC-V-Implement-TARGET_CAN_INLINE_P.patch | 2 +- gcc-14.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/0096-RISC-V-Implement-TARGET_CAN_INLINE_P.patch b/0096-RISC-V-Implement-TARGET_CAN_INLINE_P.patch index 788e87b..dce6652 100644 --- a/0096-RISC-V-Implement-TARGET_CAN_INLINE_P.patch +++ b/0096-RISC-V-Implement-TARGET_CAN_INLINE_P.patch @@ -329,7 +329,7 @@ diff -Nrup gcc-14.3.0.orig/gcc/common/config/riscv/riscv-common.cc gcc-14.3.0/gc + RISCV_EXT_FLAG_ENTRY ("sspm", x_riscv_ss_subext, MASK_SSPM), + RISCV_EXT_FLAG_ENTRY ("supm", x_riscv_su_subext, MASK_SUPM), + -+ RISCV_EXT_FLAG_ENTRY ("ztso", , MASK_ZTSO), ++ RISCV_EXT_FLAG_ENTRY ("ztso", x_riscv_ztso_subext, MASK_ZTSO), + + RISCV_EXT_FLAG_ENTRY ("xcvmac", x_riscv_xcv_subext, MASK_XCVMAC), + RISCV_EXT_FLAG_ENTRY ("xcvalu", x_riscv_xcv_subext, MASK_XCVALU), diff --git a/gcc-14.spec b/gcc-14.spec index a1fcf54..87a67d6 100644 --- a/gcc-14.spec +++ b/gcc-14.spec @@ -90,7 +90,7 @@ Summary: Various compilers (C, C++, Objective-C, ...) Name: %{?_scl_prefix}gcc%{gcc_ver} Version: 14.3.1 -Release: 7 +Release: 8 # libgcc, libgfortran, libgomp, libstdc++ and crtstuff have # GCC Runtime Exception. License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD @@ -2318,6 +2318,9 @@ end %doc rpm.doc/changelogs/libcc1/ChangeLog* %changelog +* Mon Oct 20 2025 jchzhou - 14.3.1-8 +- fix param missing in Ztso RISCV_EXT_FLAG_ENTRY in RISC-V-Implement-TARGET_CAN_INLINE_P patch #ID2L4T + * Wed Sep 10 2025 jchzhou - 14.3.1-7 - build with gcc-toolset-14-binutils on RISC-V for supporting RVA23 profile -- Gitee