mirror of
https://git.yoctoproject.org/poky
synced 2026-02-13 20:23:04 +01:00
Use devtool to refresh the patches. This avoids fuzz warnings. (From OE-Core rev: 60031b012ef0de3650628b24db7d3470a34d637b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
30 lines
972 B
Diff
30 lines
972 B
Diff
From 33da4b4347aacdfb8b1b42e06e29e68a4b882d96 Mon Sep 17 00:00:00 2001
|
|
From: Kurt Roeckx <kurt@roeckx.be>
|
|
Date: Mon, 4 Mar 2019 09:45:00 +0000
|
|
Subject: [PATCH] Make readelf -w output debug information on mips
|
|
|
|
Upstreams wants a change where this is handled by a hook that needs
|
|
to be filled in by the backend for the arch.
|
|
|
|
Upstream-Status: Pending [from debian]
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
|
|
---
|
|
src/readelf.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/readelf.c b/src/readelf.c
|
|
index 33706bd..ef13159 100644
|
|
--- a/src/readelf.c
|
|
+++ b/src/readelf.c
|
|
@@ -11148,7 +11148,8 @@ print_debug (Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr)
|
|
GElf_Shdr shdr_mem;
|
|
GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
|
|
|
|
- if (shdr != NULL && shdr->sh_type == SHT_PROGBITS)
|
|
+ if (shdr != NULL && (
|
|
+ (shdr->sh_type == SHT_PROGBITS) || (shdr->sh_type == SHT_MIPS_DWARF)))
|
|
{
|
|
static const struct
|
|
{
|