summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils/elfutils-0.148/mempcpy.patch
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-07-07 06:29:51 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-08 16:39:10 +0100
commit2c81d95059544fa792f40644d5bc1633f0626a1b (patch)
treed2ed8cf11ed6a2d64d2823f974709753db27ddb2 /meta/recipes-devtools/elfutils/elfutils-0.148/mempcpy.patch
parent860d8fdd276014d0d5e379993c4ac355176df6ca (diff)
downloadpoky-2c81d95059544fa792f40644d5bc1633f0626a1b.tar.gz
elfutils: fix compilations issue with the gcc 4.7
(From OE-Core rev: 291483a20933cc70a49c2acadc9891bea2158564) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils-0.148/mempcpy.patch')
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.148/mempcpy.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.148/mempcpy.patch b/meta/recipes-devtools/elfutils/elfutils-0.148/mempcpy.patch
deleted file mode 100644
index 218a57bd84..0000000000
--- a/meta/recipes-devtools/elfutils/elfutils-0.148/mempcpy.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1Upstream-Status: Backport
2
3uclibc does not export __mempcpy like glibc so we alias it here.
4This patch may make sense for upstream but elfutils uses more
5glibc specific features like obstack_printf which are missing in
6uclibc they need to be fixed along to make it work all the way
7
8Upstream-Status: Inappropriate[Elfutils uses more glibc specific features]
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11
12Index: elfutils-0.148/libelf/elf_begin.c
13===================================================================
14--- elfutils-0.148.orig/libelf/elf_begin.c
15+++ elfutils-0.148/libelf/elf_begin.c
16@@ -68,6 +68,9 @@
17 #include "libelfP.h"
18 #include "common.h"
19
20+#ifdef __UCLIBC__
21+#define __mempcpy mempcpy
22+#endif
23
24 /* Create descriptor for archive in memory. */
25 static inline Elf *