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-07-02 13:57:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-04 00:02:16 +0100
commit60857bd2d4c4f78e452f131fa763a86ed56fc22e (patch)
tree2c70fbaa0a458cfc683cd1c39ef1786e3b6bc707 /meta/recipes-devtools/elfutils/files/debian/0001-mips_readelf_w.patch
parentb07db23759b92d592a312e3472720212bb5a724e (diff)
downloadpoky-60857bd2d4c4f78e452f131fa763a86ed56fc22e.tar.gz
elfutils: 0.170 -> 0.172
- Update debian 0.170 patches and rebase them for 0.172; - Drop 0001-Use-fallthrough-attribute.patch which was accepted by upstream; - Drop 0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch which was backported from upstream; (From OE-Core rev: dbbe9c1d1f822cf13a4c16b79bccf6bf5c4b91e4) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.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, 39 insertions, 0 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
new file mode 100644
index 0000000000..294944ea54
--- /dev/null
+++ b/meta/recipes-devtools/elfutils/files/debian/0001-mips_readelf_w.patch
@@ -0,0 +1,39 @@
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: Backport 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