From ed97f9f23c4ee163a2bc4c528aa9649896ab506b Mon Sep 17 00:00:00 2001 From: ticat_fp Date: Sun, 24 Dec 2023 07:50:28 +0000 Subject: [PATCH] =?UTF-8?q?update=20=200036-Add-LoongArch-ABI-2.01-support?= =?UTF-8?q?.patch.=20=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E7=9A=84?= =?UTF-8?q?=EF=BC=82#else=EF=BC=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ticat_fp --- 0036-Add-LoongArch-ABI-2.01-support.patch | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/0036-Add-LoongArch-ABI-2.01-support.patch b/0036-Add-LoongArch-ABI-2.01-support.patch index 6168230..de49e8e 100644 --- a/0036-Add-LoongArch-ABI-2.01-support.patch +++ b/0036-Add-LoongArch-ABI-2.01-support.patch @@ -17945,7 +17945,7 @@ index 1eefccc1a..0f2458d9d 100644 the load out of the loop, so always run this test with -march=zEC12 that does not have load immediate on condition. */ diff --git a/gcc/testsuite/gcc.dg/stack-usage-1.c b/gcc/testsuite/gcc.dg/stack-usage-1.c -index be1254a73..07f0b1df3 100644 +index be1254a73..ffcf2d088 100644 --- a/gcc/testsuite/gcc.dg/stack-usage-1.c +++ b/gcc/testsuite/gcc.dg/stack-usage-1.c @@ -69,6 +69,8 @@ @@ -17957,13 +17957,12 @@ index be1254a73..07f0b1df3 100644 #elif defined (__AVR__) #if defined (__AVR_3_BYTE_PC__ ) # define SIZE 251 /* 256 - 2 bytes for Y - 3 bytes for return address */ -@@ -103,6 +105,9 @@ +@@ -103,6 +105,8 @@ #define SIZE 252 #elif defined (__csky__) # define SIZE 252 +#elif defined (__loongarch__) +# define SIZE 256 - 16 -+#else #else # define SIZE 256 #endif -- Gitee