glibc/0019-Sw64-GCC-frame-desciption-for-sw64.patch
swcompiler 55189b18b5 Sw64: Add Sw64 ISA support
(cherry picked from commit 7c7ae25b26c3c937686ae3f686a768532b14ec36)
2025-01-04 15:06:39 +08:00

41 lines
1.4 KiB
Diff

From 3e80bd4c5ee9a026b0a143c808271779dd4d215d Mon Sep 17 00:00:00 2001
From: swcompiler <lc@wxiat.com>
Date: Fri, 29 Nov 2024 17:22:32 +0800
Subject: [PATCH 19/23] Sw64: GCC frame desciption for sw64
---
sysdeps/sw_64/gccframe.h | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 sysdeps/sw_64/gccframe.h
diff --git a/sysdeps/sw_64/gccframe.h b/sysdeps/sw_64/gccframe.h
new file mode 100644
index 00000000..1c9572bb
--- /dev/null
+++ b/sysdeps/sw_64/gccframe.h
@@ -0,0 +1,21 @@
+/* Definition of object in frame unwind info. sw_64 version.
+ Copyright (C) 2001-2023 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library. If not, see
+ <http://www.gnu.org/licenses/>. */
+
+#define FIRST_PSEUDO_REGISTER 64
+
+#include <sysdeps/generic/gccframe.h>
--
2.25.1