summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils/files/debian/0001-mips_readelf_w.patch
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2018-11-23 15:47:20 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-08 20:14:42 +0000
commitd50041ea78ae164eaf9fde1d83d296f52312e4d4 (patch)
tree6f170d82d032238d712f1d7971ccb7de2c0a5bff /meta/recipes-devtools/elfutils/files/debian/0001-mips_readelf_w.patch
parent38887e6c1a649d16f5666a4ffe4ab2b90ee94741 (diff)
downloadpoky-d50041ea78ae164eaf9fde1d83d296f52312e4d4.tar.gz
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) (From OE-Core rev: 81ae67e603087166ec5583cc9686a60f769be799) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/debian/0001-mips_readelf_w.patch')
-rw-r--r--meta/recipes-devtools/elfutils/files/debian/0001-mips_readelf_w.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/meta/recipes-devtools/elfutils/files/debian/0001-mips_readelf_w.patch b/meta/recipes-devtools/elfutils/files/debian/0001-mips_readelf_w.patch
deleted file mode 100644
index f3ab3da8d2..0000000000
--- a/meta/recipes-devtools/elfutils/files/debian/0001-mips_readelf_w.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From a188ea1ada6b990b72b91266ae02da058dcd9523 Mon Sep 17 00:00:00 2001
2From: Kurt Roeckx <kurt@roeckx.be>
3Date: Fri, 29 Jun 2018 15:49:32 +0800
4Subject: [PATCH] Make readelf -w output debug information on mips
5
6Bug-Debian: http://bugs.debian.org/662041
7Forwarded: not-needed
8
9Upstreams wants a change where this is handled by a hook that needs
10to be filled in by the backend for the arch.
11
12Signed-off-by: Kurt Roeckx <kurt@roeckx.be>
13
14Upstream-Status: Pending [from debian]
15mips_readelf_w.patch and rebase to 0.172
16
17http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.170-0.5.debian.tar.xz
18Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
19---
20 src/readelf.c | 3 ++-
21 1 file changed, 2 insertions(+), 1 deletion(-)
22
23diff --git a/src/readelf.c b/src/readelf.c
24index f185897..0db197c 100644
25--- a/src/readelf.c
26+++ b/src/readelf.c
27@@ -10979,7 +10979,8 @@ print_debug (Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr)
28 GElf_Shdr shdr_mem;
29 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
30
31- if (shdr != NULL && shdr->sh_type == SHT_PROGBITS)
32+ if (shdr != NULL && (
33+ (shdr->sh_type == SHT_PROGBITS) || (shdr->sh_type == SHT_MIPS_DWARF)))
34 {
35 static const struct
36 {
37--
382.7.4
39