-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
universe/libunwind: fix error on loongarch64
[ commit 7ffe0d54e25ac6f4a53bdf0e7d7814802ee0548c ] see: libunwind/libunwind#740 libunwind/libunwind#741
- Loading branch information
1 parent
b7b2b72
commit bf5b9f8
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
universe/libunwind/Remove-the-useless-endina.h-for-loongarch64.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 44359b80a85cc2fa5bcb7c9c82d68a94fca3bd33 Mon Sep 17 00:00:00 2001 | ||
From: Jingyun Hua <huajingyun@loongson.cn> | ||
Date: Mon, 8 Apr 2024 15:57:15 +0800 | ||
Subject: [PATCH] Remove the useless endina.h in getcontext.S for loongarch64 | ||
|
||
Fix issue #740 | ||
--- | ||
src/loongarch64/getcontext.S | 1 - | ||
1 file changed, 1 deletion(-) | ||
|
||
diff --git a/src/loongarch64/getcontext.S b/src/loongarch64/getcontext.S | ||
index 3344fc2e..c568832c 100644 | ||
--- a/src/loongarch64/getcontext.S | ||
+++ b/src/loongarch64/getcontext.S | ||
@@ -25,7 +25,6 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ | ||
|
||
#include "offsets.h" | ||
-#include <endian.h> | ||
.text | ||
|
||
#define SREG(X) st.d $r##X, $r4, (LINUX_UC_MCONTEXT_GREGS + 8 * X) | ||
-- | ||
2.27.0 | ||
|