diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2016-08-17 14:31:25 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-08-22 16:43:26 +0000 |
commit | 60f9d69e016b11c468c98ea75ba0a60c44afbbc4 (patch) | |
tree | ecb49581a9e41a37943c22cd9ef3f63451b20ee7 /yocto-poky/meta/recipes-devtools/elfutils/elfutils/Fix_elf_cvt_gunhash.patch | |
parent | e18c61205e0234b03697129c20cc69c9b3940efc (diff) | |
download | blackbird-openbmc-60f9d69e016b11c468c98ea75ba0a60c44afbbc4.tar.gz blackbird-openbmc-60f9d69e016b11c468c98ea75ba0a60c44afbbc4.zip |
yocto-poky: Move to import-layers subdir
We are going to import additional layers, so create a subdir to
hold all of the layers that we import with git-subtree.
Change-Id: I6f732153a22be8ca663035c518837e3cc5ec0799
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'yocto-poky/meta/recipes-devtools/elfutils/elfutils/Fix_elf_cvt_gunhash.patch')
-rw-r--r-- | yocto-poky/meta/recipes-devtools/elfutils/elfutils/Fix_elf_cvt_gunhash.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/yocto-poky/meta/recipes-devtools/elfutils/elfutils/Fix_elf_cvt_gunhash.patch b/yocto-poky/meta/recipes-devtools/elfutils/elfutils/Fix_elf_cvt_gunhash.patch deleted file mode 100644 index f861e8990..000000000 --- a/yocto-poky/meta/recipes-devtools/elfutils/elfutils/Fix_elf_cvt_gunhash.patch +++ /dev/null @@ -1,29 +0,0 @@ -Fix elf_cvt_gunhash if dest and src are same. - -Upstream-Status: Pending - -The 'dest' and 'src' can be same, we need to save the value of src32[2] -before swaping it. - -Signed-off-by: Baoshan Pang <BaoShan.Pang@windriver.com> -diff --git a/libelf/gnuhash_xlate.h b/libelf/gnuhash_xlate.h -index 6faf113..04d9ca1 100644 ---- a/libelf/gnuhash_xlate.h -+++ b/libelf/gnuhash_xlate.h -@@ -40,6 +40,7 @@ elf_cvt_gnuhash (void *dest, const void *src, size_t len, int encode) - words. We must detangle them here. */ - Elf32_Word *dest32 = dest; - const Elf32_Word *src32 = src; -+ Elf32_Word save_src32_2 = src32[2]; // dest could be equal to src - - /* First four control words, 32 bits. */ - for (unsigned int cnt = 0; cnt < 4; ++cnt) -@@ -50,7 +51,7 @@ elf_cvt_gnuhash (void *dest, const void *src, size_t len, int encode) - len -= 4; - } - -- Elf32_Word bitmask_words = encode ? src32[2] : dest32[2]; -+ Elf32_Word bitmask_words = encode ? save_src32_2 : dest32[2]; - - /* Now the 64 bit words. */ - Elf64_Xword *dest64 = (Elf64_Xword *) &dest32[4]; |