mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
e030a19a57
Cleanup Makefile for consistency with other ones. Remove PKG_SSP. It can be fixed with -lssp_nonshared. Add PKG_BUILD_PARALLEL for faster compilation. Add zlib dependency. 1.5.0 requires it now. Refresh patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
46 lines
917 B
Diff
46 lines
917 B
Diff
--- a/include/libunwind-mips.h
|
|
+++ b/include/libunwind-mips.h
|
|
@@ -114,6 +114,42 @@ typedef enum
|
|
}
|
|
mips_regnum_t;
|
|
|
|
+#ifndef __GLIBC__
|
|
+#include <sys/reg.h>
|
|
+
|
|
+/* musl as of 1.1.14 does not export these */
|
|
+#define EF_REG0 6
|
|
+#define EF_REG1 7
|
|
+#define EF_REG2 8
|
|
+#define EF_REG3 9
|
|
+#define EF_REG4 10
|
|
+#define EF_REG5 11
|
|
+#define EF_REG6 12
|
|
+#define EF_REG7 13
|
|
+#define EF_REG8 14
|
|
+#define EF_REG9 15
|
|
+#define EF_REG10 16
|
|
+#define EF_REG11 17
|
|
+#define EF_REG12 18
|
|
+#define EF_REG13 19
|
|
+#define EF_REG14 20
|
|
+#define EF_REG15 21
|
|
+#define EF_REG16 22
|
|
+#define EF_REG17 23
|
|
+#define EF_REG18 24
|
|
+#define EF_REG19 25
|
|
+#define EF_REG20 26
|
|
+#define EF_REG21 27
|
|
+#define EF_REG22 28
|
|
+#define EF_REG23 29
|
|
+#define EF_REG24 30
|
|
+#define EF_REG25 31
|
|
+#define EF_REG28 34
|
|
+#define EF_REG29 35
|
|
+#define EF_REG30 36
|
|
+#define EF_REG31 37
|
|
+#endif
|
|
+
|
|
typedef enum
|
|
{
|
|
UNW_MIPS_ABI_O32,
|