diff options
author | Radu Moisan <radu.moisan@intel.com> | 2013-06-19 12:12:09 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-10 09:41:55 +0100 |
commit | 1f5bd7639dc60f910b4ca7d2a645956afb125fce (patch) | |
tree | 3b713751a8624d3a837cae299d82c5e6548f8547 /meta/recipes-devtools/elfutils/elfutils-0.155/mempcpy.patch | |
parent | 749fcafb080c41a9bc1e56880227e40d8dd70b88 (diff) | |
download | poky-1f5bd7639dc60f910b4ca7d2a645956afb125fce.tar.gz |
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
(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>
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils-0.155/mempcpy.patch')
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils-0.155/mempcpy.patch | 24 |
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 @@ | |||
1 | |||
2 | uclibc does not export __mempcpy like glibc so we alias it here. | ||
3 | This patch may make sense for upstream but elfutils uses more | ||
4 | glibc specific features like obstack_printf which are missing in | ||
5 | uclibc they need to be fixed along to make it work all the way | ||
6 | |||
7 | Upstream-Status: Inappropriate[Elfutils uses more glibc specific features] | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | |||
11 | Index: elfutils-0.155/libelf/elf_begin.c | ||
12 | =================================================================== | ||
13 | --- elfutils-0.155.orig/libelf/elf_begin.c | ||
14 | +++ elfutils-0.155/libelf/elf_begin.c | ||
15 | @@ -68,6 +68,9 @@ | ||
16 | #include "libelfP.h" | ||
17 | #include "common.h" | ||
18 | |||
19 | +#ifdef __UCLIBC__ | ||
20 | +#define __mempcpy mempcpy | ||
21 | +#endif | ||
22 | |||
23 | /* Create descriptor for archive in memory. */ | ||
24 | static inline Elf * | ||