summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/elfutils/elfutils-0.155/mempcpy.patch
diff options
context:
space:
mode:
authorRadu Moisan <radu.moisan@intel.com>2013-06-19 12:12:09 +0300
committerSaul Wold <sgw@linux.intel.com>2013-07-09 07:56:12 -0700
commit6edbaf14f875b7759672e8d118c59a01dbdeb853 (patch)
treeeb6aabf152c4699abcb3a97ed8986eb655ea2611 /meta/recipes-devtools/elfutils/elfutils-0.155/mempcpy.patch
parent8507335951dc5fb10ae40dc7f6850608c703ecc3 (diff)
downloadopenembedded-core-6edbaf14f875b7759672e8d118c59a01dbdeb853.tar.gz
openembedded-core-6edbaf14f875b7759672e8d118c59a01dbdeb853.tar.bz2
openembedded-core-6edbaf14f875b7759672e8d118c59a01dbdeb853.zip
elfutils: Upgrade to v0.155
*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 Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils-0.155/mempcpy.patch')
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.155/mempcpy.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.155/mempcpy.patch b/meta/recipes-devtools/elfutils/elfutils-0.155/mempcpy.patch
new file mode 100644
index 0000000000..1d5a37e8f5
--- /dev/null
+++ b/meta/recipes-devtools/elfutils/elfutils-0.155/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 <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 *