0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2025-11-06 09:14:49 +00:00
Files
openwrt/package/libs/libunwind/patches/005-loongarch64-musl.patch
Wei-Ting Yang cced09132a libunwind: fix typo in patch file suffix
Fix typo in patch file suffix.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20178
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-26 11:55:55 +02:00

13 lines
346 B
Diff

--- a/src/loongarch64/getcontext.S
+++ b/src/loongarch64/getcontext.S
@@ -25,7 +25,9 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "offsets.h"
+#ifdef __GLIBC__
#include <endian.h>
+#endif
.text
#define SREG(X) st.d $r##X, $r4, (LINUX_UC_MCONTEXT_GREGS + 8 * X)