Files
poky/meta/recipes-devtools/elfutils/elfutils-0.148/mempcpy.patch
Dexuan Cui dba1a791a5 recipes: Upstream-status --> Upstream-Status: for multiple patches
As a keyword, Upstream-Status is case sensitive.

(From OE-Core rev: 874038469e28d011b60b2d4bfd5a6fada6e754c4)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-02 14:55:56 +01:00

26 lines
784 B
Diff

Upstream-Status: Backport
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.148/libelf/elf_begin.c
===================================================================
--- elfutils-0.148.orig/libelf/elf_begin.c
+++ elfutils-0.148/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 *