mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 17:26:36 +01:00
*license changed to GPLv3 *several patches were absolete so I removed them *redhat-portability & redhat-robustify backported from latest elfutils-portability & elfutils-robustify from upstream (From OE-Core rev: 6edbaf14f875b7759672e8d118c59a01dbdeb853) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
758 B
Diff
25 lines
758 B
Diff
|
|
uclibc does not export __mempcpy like glibc so we alias it here.
|
|
This patch may make sense for upstream but elfutils uses more
|
|
glibc specific features like obstack_printf which are missing in
|
|
uclibc they need to be fixed along to make it work all the way
|
|
|
|
Upstream-Status: Inappropriate[Elfutils uses more glibc specific features]
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
Index: elfutils-0.155/libelf/elf_begin.c
|
|
===================================================================
|
|
--- elfutils-0.155.orig/libelf/elf_begin.c
|
|
+++ elfutils-0.155/libelf/elf_begin.c
|
|
@@ -68,6 +68,9 @@
|
|
#include "libelfP.h"
|
|
#include "common.h"
|
|
|
|
+#ifdef __UCLIBC__
|
|
+#define __mempcpy mempcpy
|
|
+#endif
|
|
|
|
/* Create descriptor for archive in memory. */
|
|
static inline Elf *
|