diff mbox series

[1/1] elfutils: Upgrade 0.192 -> 0.193

Message ID 20250606064403.1099116-1-soumya.sambu@windriver.com
State New
Headers show
Series [1/1] elfutils: Upgrade 0.192 -> 0.193 | expand

Commit Message

ssambu June 6, 2025, 6:44 a.m. UTC
From: Soumya Sambu <soumya.sambu@windriver.com>

Refreshed patches:
0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch
ptest.patch

Changelog:
Version 0.193 "Bugs erased, stacks traced"

debuginfod: Add CORS (webapp access) support to webapi and --cors option.

            Add --listen-address option for binding the HTTP listen socket
            to a specific IPv4 or IPv6 address.

            debuginfod client now caches x-debuginfod-* HTTP headers
            alongside downloaded files.

libdw: Add dwarf_language and dwarf_language_lower_bound functions.

       Improved support for DWARF6 language metadata as well as DWARF
       language constants for Nim, Dylan, Algol68, V and Mojo.

       dwarf_srclang is now forward-compatible with DWARF6 language
       constants.

libdwfl_stacktrace: Experimental new library interface for unwinding
                    stack samples into call chains, and tracking and
                    caching Elf data for multiple processes, building
                    on libdwfl.  Initially supports perf_events stack
                    sample data.

libelf: elf_scnshndx has been rewritten to be more robust, particularily
        for ELF files with more than 64K sections.

readelf: Improved handling of corrupt ELF data.

         --section-headers output now includes a "Key to Flags" explaining
         section flag meanings.

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
---
 .../elfutils/{elfutils_0.192.bb => elfutils_0.193.bb}  |  2 +-
 ...-Add-libeu-objects-to-libelf.a-static-archive.patch |  8 ++++----
 meta/recipes-devtools/elfutils/files/ptest.patch       | 10 +++++-----
 3 files changed, 10 insertions(+), 10 deletions(-)
 rename meta/recipes-devtools/elfutils/{elfutils_0.192.bb => elfutils_0.193.bb} (98%)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/elfutils/elfutils_0.192.bb b/meta/recipes-devtools/elfutils/elfutils_0.193.bb
similarity index 98%
rename from meta/recipes-devtools/elfutils/elfutils_0.192.bb
rename to meta/recipes-devtools/elfutils/elfutils_0.193.bb
index f96e7c8ef0..4ccea2bea3 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.192.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.193.bb
@@ -24,7 +24,7 @@  SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
 SRC_URI:append:libc-musl = " \
            file://0003-musl-utils.patch \
            "
-SRC_URI[sha256sum] = "616099beae24aba11f9b63d86ca6cc8d566d968b802391334c91df54eab416b4"
+SRC_URI[sha256sum] = "7857f44b624f4d8d421df851aaae7b1402cfe6bcdd2d8049f15fc07d3dde7635"
 
 inherit autotools gettext ptest pkgconfig
 
diff --git a/meta/recipes-devtools/elfutils/files/0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch b/meta/recipes-devtools/elfutils/files/0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch
index 1587087896..81c5255447 100644
--- a/meta/recipes-devtools/elfutils/files/0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch
@@ -20,12 +20,12 @@  Upstream-Status: Backport [https://sourceware.org/git/?p=elfutils.git;a=commit;h
  1 file changed, 3 insertions(+)
 
 diff --git a/libelf/Makefile.am b/libelf/Makefile.am
-index 3402863e..2d3dbdf2 100644
+index 05484c1..72f1e22 100644
 --- a/libelf/Makefile.am
 +++ b/libelf/Makefile.am
-@@ -122,6 +122,9 @@ libelf.so: $(srcdir)/libelf.map $(libelf_so_LIBS) $(libelf_so_DEPS)
- 	@$(textrel_check)
- 	$(AM_V_at)ln -fs $@ $@.$(VERSION)
+@@ -125,6 +125,9 @@ libelf.so: $(srcdir)/libelf.map $(libelf_so_LIBS) $(libelf_so_DEPS)
+ libeu_objects = $(shell cat ../lib/libeu.manifest)
+ libelf_a_LIBADD = $(addprefix ../lib/,$(libeu_objects))
  
 +libeu_objects = $(shell $(AR) t ../lib/libeu.a)
 +libelf_a_LIBADD = $(addprefix ../lib/,$(libeu_objects))
diff --git a/meta/recipes-devtools/elfutils/files/ptest.patch b/meta/recipes-devtools/elfutils/files/ptest.patch
index 1de82ef32b..6b83fa4662 100644
--- a/meta/recipes-devtools/elfutils/files/ptest.patch
+++ b/meta/recipes-devtools/elfutils/files/ptest.patch
@@ -21,11 +21,11 @@  Upstream-Status: Inappropriate [oe specific]
  3 files changed, 3 insertions(+), 7 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index f191488..426a68f 100644
+index 0670e01..14f3e36 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -49,7 +49,7 @@ AC_COPYRIGHT([Copyright (C) 1996-2024 The elfutils developers.])
- AC_PREREQ(2.63)			dnl Minimum Autoconf version required.
+@@ -43,7 +43,7 @@ AC_COPYRIGHT([Copyright (C) 1996-2025 The elfutils developers.])
+ AC_PREREQ(2.69)			dnl Minimum Autoconf version required.
  
  dnl We use GNU make extensions; automake 1.10 defaults to -Wportability.
 -AM_INIT_AUTOMAKE([gnits 1.11 -Wno-portability dist-bzip2 no-dist-gzip parallel-tests])
@@ -34,10 +34,10 @@  index f191488..426a68f 100644
  
  AM_SILENT_RULES([yes])
 diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 865a604..eed9bd4 100644
+index 00ba754..6be7dd6 100644
 --- a/tests/Makefile.am
 +++ b/tests/Makefile.am
-@@ -893,3 +893,5 @@ check: check-am coverage
+@@ -937,3 +937,5 @@ check: check-am coverage
  coverage:
  	-$(srcdir)/coverage.sh
  endif