mirror of
https://git.yoctoproject.org/poky
synced 2026-02-08 18:02:12 +01:00
- 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>
26 lines
885 B
Diff
26 lines
885 B
Diff
From: Kurt Roeckx <kurt@roeckx.be>
|
|
Subject: Make readelf -w output debug information on mips
|
|
Bug-Debian: http://bugs.debian.org/662041
|
|
Forwarded: not-needed
|
|
|
|
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>
|
|
|
|
Index: elfutils-0.175/src/readelf.c
|
|
===================================================================
|
|
--- elfutils-0.175.orig/src/readelf.c
|
|
+++ elfutils-0.175/src/readelf.c
|
|
@@ -11133,7 +11133,8 @@ print_debug (Dwfl_Module *dwflmod, Ebl *
|
|
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
|
|
{
|