From c527fd1f14c27855a37f2e8ac5346ce8d940ced2 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 16 Oct 2014 03:05:19 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- .../elfutils/elfutils/mempcpy.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta/recipes-devtools/elfutils/elfutils/mempcpy.patch (limited to 'meta/recipes-devtools/elfutils/elfutils/mempcpy.patch') diff --git a/meta/recipes-devtools/elfutils/elfutils/mempcpy.patch b/meta/recipes-devtools/elfutils/elfutils/mempcpy.patch new file mode 100644 index 0000000000..24e31fa5b3 --- /dev/null +++ b/meta/recipes-devtools/elfutils/elfutils/mempcpy.patch @@ -0,0 +1,24 @@ + +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 + +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 * -- cgit v1.2.3-54-g00ecf