From 649bfd8ab6c4db1a1311dd3e7adfe11a2b63c9bf Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Thu, 4 Feb 2021 17:59:52 -0300 Subject: [PATCH] New release: v1.20 btf_encoder: Improve ELF error reporting using elf_errmsg(elf_errno()) Improve objcopy error handling. Fix handling of 'restrict' qualifier, that was being treated as a 'const'. Support SHN_XINDEX in st_shndx symbol indexes Cope with functions without a name Fix BTF variable generation for kernel modules Fix address size to match what is in the ELF file being processed. Use kernel module ftrace addresses when finding which functions to encode. libbpf: Allow use of packaged version. dwarf_loader: Support DW_AT_data_bit_offset DW_FORM_implicit_const in attr_numeric() and attr_offset() Support DW_TAG_GNU_call_site, standardized rename of DW_TAG_GNU_call_site. build: Fix compilation on 32-bit architectures. --- .gitignore | 1 + dwarves.spec | 31 ++++++++++++++++++++++++------- sources | 2 +- 3 files changed, 26 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 75d2e04..adada07 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /dirname-truncation.patch /dwarves-1.17.tar.xz /dwarves-1.19.tar.xz +/dwarves-1.20.tar.xz diff --git a/dwarves.spec b/dwarves.spec index a23a6ad..98433e3 100644 --- a/dwarves.spec +++ b/dwarves.spec @@ -2,15 +2,15 @@ %define libver 1 Name: dwarves -Version: 1.19 -Release: 2%{?dist} +Version: 1.20 +Release: 1%{?dist} License: GPLv2 Summary: Debugging Information Manipulation Tools (pahole & friends) URL: http://acmel.wordpress.com Source: http://fedorapeople.org/~acme/dwarves/%{name}-%{version}.tar.xz Requires: %{libname}%{libver} = %{version}-%{release} BuildRequires: gcc -BuildRequires: cmake +BuildRequires: cmake >= 2.8.12 BuildRequires: zlib-devel BuildRequires: elfutils-devel >= 0.130 @@ -79,7 +79,7 @@ rm -Rf %{buildroot} %files %doc README.ctracer %doc README.btf -%doc changes-v1.19 +%doc changes-v1.20 %doc NEWS %{_bindir}/btfdiff %{_bindir}/codiff @@ -134,8 +134,25 @@ rm -Rf %{buildroot} %{_libdir}/%{libname}_reorganize.so %changelog -* Tue Jan 26 2021 Fedora Release Engineering - 1.19-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild +* Tue Feb 2 2021 Arnaldo Carvalho de Melo - 1.20-1 +- New release: v1.20 +- btf_encoder: +- Improve ELF error reporting using elf_errmsg(elf_errno()) +- Improve objcopy error handling. +- Fix handling of 'restrict' qualifier, that was being treated as a 'const'. +- Support SHN_XINDEX in st_shndx symbol indexes +- Cope with functions without a name +- Fix BTF variable generation for kernel modules +- Fix address size to match what is in the ELF file being processed. +- Use kernel module ftrace addresses when finding which functions to encode. +- libbpf: +- Allow use of packaged version. +- dwarf_loader: +- Support DW_AT_data_bit_offset +- DW_FORM_implicit_const in attr_numeric() and attr_offset() +- Support DW_TAG_GNU_call_site, standardized rename of DW_TAG_GNU_call_site. +- build: +- Fix compilation on 32-bit architectures. * Fri Nov 20 2020 Arnaldo Carvalho de Melo - 1.19-1 - New release: 1.19 @@ -278,7 +295,7 @@ rm -Rf %{buildroot} * Sat Nov 20 2010 Arnaldo Carvalho de Melo - 1.9-1 - New release -* Tue Feb 08 2011 Fedora Release Engineering - 1.8-2 +* Tue Feb 08 2010 Fedora Release Engineering - 1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Dec 4 2009 Arnaldo Carvalho de Melo - 1.8-1 diff --git a/sources b/sources index ae53e7c..4bb2f7f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dwarves-1.19.tar.xz) = b378a504da5b00c6280b9efda7348c2d61015ce6477f3e4e4466f58d9bf6837457cd0aa9263b7d921093cca5ee26c4fab9950f7f75ca05d27ae646b3bfe22f9a +SHA512 (dwarves-1.20.tar.xz) = 306bb74c498527a5a9bdae4d304e90511336cab627d9acad5237d93cbb48efe11dbca4418c540fa03e3ecdd168ce224cabe9fd2f6fbb50520d0dd17741c80817