aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/elfutils/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/elfutils/patches')
-rw-r--r--package/libs/elfutils/patches/100-musl-compat.patch2
-rw-r--r--package/libs/elfutils/patches/110-no-cdefs.patch6
2 files changed, 4 insertions, 4 deletions
diff --git a/package/libs/elfutils/patches/100-musl-compat.patch b/package/libs/elfutils/patches/100-musl-compat.patch
index 374e832d3f..508ff9e946 100644
--- a/package/libs/elfutils/patches/100-musl-compat.patch
+++ b/package/libs/elfutils/patches/100-musl-compat.patch
@@ -24,7 +24,7 @@ https://sourceware.org/bugzilla/show_bug.cgi?id=21002
#include <sys/param.h>
--- a/libdw/libdw_alloc.c
+++ b/libdw/libdw_alloc.c
-@@ -147,5 +147,5 @@ __attribute ((noreturn)) attribute_hidde
+@@ -152,5 +152,5 @@ __attribute ((noreturn)) attribute_hidde
__libdw_oom (void)
{
while (1)
diff --git a/package/libs/elfutils/patches/110-no-cdefs.patch b/package/libs/elfutils/patches/110-no-cdefs.patch
index a7216c141e..f95625a913 100644
--- a/package/libs/elfutils/patches/110-no-cdefs.patch
+++ b/package/libs/elfutils/patches/110-no-cdefs.patch
@@ -39,9 +39,9 @@ Signed-off-by: Rosen Penev <rosenp@gmail.com>
/* Standard ELF types. */
-@@ -4007,6 +4007,8 @@ enum
- #define R_NDS32_TLS_TPOFF 102
- #define R_NDS32_TLS_DESC 119
+@@ -4103,6 +4103,8 @@ enum
+ #define R_ARC_TLS_LE_S9 0x4a
+ #define R_ARC_TLS_LE_32 0x4b
-__END_DECLS
+#ifdef __cplusplus