diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:38:32 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:50:20 +0100 |
commit | e2e6f6fe07049f33cb6348780fa975162752e421 (patch) | |
tree | b1813295411235d1297a0ed642b1346b24fdfb12 /meta/recipes-devtools/elfutils/elfutils/mempcpy.patch | |
download | poky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz |
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils/mempcpy.patch')
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils/mempcpy.patch | 24 |
1 files changed, 24 insertions, 0 deletions
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 @@ | |||
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.148/libelf/elf_begin.c | ||
12 | =================================================================== | ||
13 | --- elfutils-0.148.orig/libelf/elf_begin.c | ||
14 | +++ elfutils-0.148/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 * | ||