From 362ab9ff85f85f900f005aff1f40e368d899cfdc Mon Sep 17 00:00:00 2001
From: "max.ma" <max.ma@starfivetech.com>
Date: Tue, 14 Mar 2023 18:37:52 -0700
Subject: [PATCH 538/547] enable ifunc for riscv

---
 gcc/config.gcc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config.gcc b/gcc/config.gcc
index 5c378c698ff..1a41b84ade5 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -3624,7 +3624,7 @@ case ${target} in
         ;;
 *-*-linux* | *-*-gnu*)
 	case ${target} in
-	aarch64*-* | arm*-* | i[34567]86-* | powerpc*-* | s390*-* | sparc*-* | x86_64-* | loongarch*-*)
+	aarch64*-* | arm*-* | i[34567]86-* | powerpc*-* | s390*-* | sparc*-* | x86_64-* | loongarch*-* | riscv*-*-*)
 		default_gnu_indirect_function=yes
 		;;
 	esac
-- 
2.25.1

