* Removed heuristic checs for decompression reasonableness as
they failed on some real object files.
* Corrected handling and reporting of the DWARF6 attributes
DW_AT_language_name and DW_AT_language_version.
* An object with DWARF and GNU debuglink data and nothing else
is now correctly accepted and reported.
- Update to version 2.0.0
* Fixed a longstanding bug in configure.ac which began to cause
builds to fail with recent autoconf.
* Updated the error report (for zlib, zstd) when decompression
exceeds a heuristic limit.
- Update to version 0.12
* Improved the code in dwarfdump checking for valid address
ranges (-k options).
* Added the capability of using mmap instead of malloc in
reading section data and functions allowing reporting on
section malloc/mmap.
* Now detects duplicated attributes and generates an error and
provides a way to suppress the detection (for cases where one
needs to analyze an object that was created with a broken
compiler).
- Add patch:
* libdwarf-both.patch
- Use meson instead of autotools
- Build dwarfgen
- Run testsuite
- Use %ldconfig_scriptlets macro
OBS-URL: https://build.opensuse.org/package/show/devel:tools/libdwarf?expand=0&rev=72
56 lines
1.5 KiB
Diff
56 lines
1.5 KiB
Diff
From 51ea3e8455f1da6e3b6d5c34fb0d3ffdb0c155a2 Mon Sep 17 00:00:00 2001
|
|
From: Tom Hughes <tom@compton.nu>
|
|
Date: Tue, 25 Jun 2024 08:55:46 +0100
|
|
Subject: [PATCH] Make default-library=both work on linux
|
|
|
|
---
|
|
src/lib/libdwarf/meson.build | 8 ++++----
|
|
src/lib/libdwarfp/meson.build | 8 ++++----
|
|
2 files changed, 8 insertions(+), 8 deletions(-)
|
|
|
|
diff --git a/src/lib/libdwarf/meson.build b/src/lib/libdwarf/meson.build
|
|
index a7570214..6a970024 100644
|
|
--- a/src/lib/libdwarf/meson.build
|
|
+++ b/src/lib/libdwarf/meson.build
|
|
@@ -121,12 +121,12 @@ else
|
|
libzstd_deps = dependency('',required: false)
|
|
endif
|
|
|
|
-if (lib_type == 'shared')
|
|
- compiler_flags = ['-DLIBDWARF_BUILD']
|
|
- compiler_flags_public = []
|
|
-else
|
|
+if (lib_type == 'static')
|
|
compiler_flags = ['-DLIBDWARF_STATIC']
|
|
compiler_flags_public = ['-DLIBDWARF_STATIC']
|
|
+else
|
|
+ compiler_flags = ['-DLIBDWARF_BUILD']
|
|
+ compiler_flags_public = []
|
|
endif
|
|
|
|
libdwarf_lib = library('dwarf', libdwarf_src,
|
|
diff --git a/src/lib/libdwarfp/meson.build b/src/lib/libdwarfp/meson.build
|
|
index a46c89eb..c6a1cf72 100644
|
|
--- a/src/lib/libdwarfp/meson.build
|
|
+++ b/src/lib/libdwarfp/meson.build
|
|
@@ -31,12 +31,12 @@ libdwarfp_src = [
|
|
]
|
|
|
|
libdwarf_dir = include_directories('../libdwarf')
|
|
-if (lib_type == 'shared')
|
|
- compiler_flags = ['-DLIBDWARF_BUILD']
|
|
- compiler_flags_public = []
|
|
-else
|
|
+if (lib_type == 'static')
|
|
compiler_flags = ['-DLIBDWARF_STATIC']
|
|
compiler_flags_public = ['-DLIBDWARF_STATIC']
|
|
+else
|
|
+ compiler_flags = ['-DLIBDWARF_BUILD']
|
|
+ compiler_flags_public = []
|
|
endif
|
|
|
|
|
|
--
|
|
2.49.0
|
|
|