mirror of
https://git.yoctoproject.org/poky
synced 2026-07-26 19:17:07 +00:00
elfutils: 0.174 -> 0.175
- Drop backport CVE patches 0001-libdwfl-Sanity-check-partial-core-file-data-reads.patch 0001-size-Handle-recursive-ELF-ar-files.patch 0001-arlib-Check-that-sh_entsize-isn-t-zero.patch - Drop patches that upstream has fixed 0005-fix-a-stack-usage-warning.patch [9a74c19 backends: ppc use define instead of const for size of dwarf_regs array.] - Update debian patches to 0.175 - Rebase local patch to 0.175 0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch (From OE-Core rev: 8748de4df5a4ece303f07f8bbb248920a199478a) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fec5323dba
commit
43413f8dd6
+20
-21
@@ -1,6 +1,3 @@
|
||||
Upstream-Status: Pending [from debian]
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
|
||||
From 59d4b8c48e5040af7e02b34eb26ea602ec82a38e Mon Sep 17 00:00:00 2001
|
||||
From: James Cowgill <james410@cowgill.org.uk>
|
||||
Date: Mon, 5 Jan 2015 15:17:02 +0000
|
||||
@@ -15,6 +12,8 @@ This patch also ensures that strip.c sets the correct value of e_machine
|
||||
before manipulating relocations so that these changes take effect.
|
||||
|
||||
Signed-off-by: James Cowgill <james410@cowgill.org.uk>
|
||||
Upstream-Status: Pending [from debian]
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
---
|
||||
libelf/gelf_getrel.c | 25 +++++++++++++++++++++++--
|
||||
libelf/gelf_getrela.c | 25 +++++++++++++++++++++++--
|
||||
@@ -23,10 +22,10 @@ Signed-off-by: James Cowgill <james410@cowgill.org.uk>
|
||||
src/strip.c | 17 +++++++++++++++++
|
||||
5 files changed, 101 insertions(+), 6 deletions(-)
|
||||
|
||||
Index: b/libelf/gelf_getrel.c
|
||||
Index: elfutils-0.175/libelf/gelf_getrel.c
|
||||
===================================================================
|
||||
--- a/libelf/gelf_getrel.c
|
||||
+++ b/libelf/gelf_getrel.c
|
||||
--- elfutils-0.175.orig/libelf/gelf_getrel.c
|
||||
+++ elfutils-0.175/libelf/gelf_getrel.c
|
||||
@@ -36,6 +36,7 @@
|
||||
|
||||
#include "libelfP.h"
|
||||
@@ -66,10 +65,10 @@ Index: b/libelf/gelf_getrel.c
|
||||
}
|
||||
|
||||
rwlock_unlock (scn->elf->lock);
|
||||
Index: b/libelf/gelf_getrela.c
|
||||
Index: elfutils-0.175/libelf/gelf_getrela.c
|
||||
===================================================================
|
||||
--- a/libelf/gelf_getrela.c
|
||||
+++ b/libelf/gelf_getrela.c
|
||||
--- elfutils-0.175.orig/libelf/gelf_getrela.c
|
||||
+++ elfutils-0.175/libelf/gelf_getrela.c
|
||||
@@ -36,6 +36,7 @@
|
||||
|
||||
#include "libelfP.h"
|
||||
@@ -109,10 +108,10 @@ Index: b/libelf/gelf_getrela.c
|
||||
}
|
||||
|
||||
rwlock_unlock (scn->elf->lock);
|
||||
Index: b/libelf/gelf_update_rel.c
|
||||
Index: elfutils-0.175/libelf/gelf_update_rel.c
|
||||
===================================================================
|
||||
--- a/libelf/gelf_update_rel.c
|
||||
+++ b/libelf/gelf_update_rel.c
|
||||
--- elfutils-0.175.orig/libelf/gelf_update_rel.c
|
||||
+++ elfutils-0.175/libelf/gelf_update_rel.c
|
||||
@@ -36,6 +36,7 @@
|
||||
|
||||
#include "libelfP.h"
|
||||
@@ -154,10 +153,10 @@ Index: b/libelf/gelf_update_rel.c
|
||||
}
|
||||
|
||||
result = 1;
|
||||
Index: b/libelf/gelf_update_rela.c
|
||||
Index: elfutils-0.175/libelf/gelf_update_rela.c
|
||||
===================================================================
|
||||
--- a/libelf/gelf_update_rela.c
|
||||
+++ b/libelf/gelf_update_rela.c
|
||||
--- elfutils-0.175.orig/libelf/gelf_update_rela.c
|
||||
+++ elfutils-0.175/libelf/gelf_update_rela.c
|
||||
@@ -36,6 +36,7 @@
|
||||
|
||||
#include "libelfP.h"
|
||||
@@ -199,11 +198,11 @@ Index: b/libelf/gelf_update_rela.c
|
||||
}
|
||||
|
||||
result = 1;
|
||||
Index: b/src/strip.c
|
||||
Index: elfutils-0.175/src/strip.c
|
||||
===================================================================
|
||||
--- a/src/strip.c
|
||||
+++ b/src/strip.c
|
||||
@@ -598,6 +598,23 @@ handle_elf (int fd, Elf *elf, const char
|
||||
--- elfutils-0.175.orig/src/strip.c
|
||||
+++ elfutils-0.175/src/strip.c
|
||||
@@ -1062,6 +1062,23 @@ handle_elf (int fd, Elf *elf, const char
|
||||
goto fail;
|
||||
}
|
||||
|
||||
@@ -225,5 +224,5 @@ Index: b/src/strip.c
|
||||
+ }
|
||||
+
|
||||
/* Copy over the old program header if needed. */
|
||||
if (ehdr->e_type != ET_REL)
|
||||
for (cnt = 0; cnt < phnum; ++cnt)
|
||||
if (phnum > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user