Re: [PATCH 06/13] libdwfl [6/13]: Elf* caching via dwfl_process_tracker

2025-04-03 Thread Serhei Makarov
On Sun, Mar 16, 2025, at 7:15 PM, Serhei Makarov wrote: > +/* The same callback, except this first attempts to look up a cached > + Elf* and fd from the Dwfl_Module's Dwfl_Process_Tracker (if any). > + If a new Elf* has to be created, this saves it to the cache. */ > +extern int dwfl_proces

Re: [PATCH] Avoid double-including config.h

2025-04-03 Thread Dmitry V. Levin
On Thu, Apr 20, 2017 at 04:31:02PM +0200, Ulf Hermann wrote: > config.h doesn't have include guards, so including it twice is bad. We > deal with this by checking for PACKAGE_NAME, but only in some places. > Once we start using gnulib, we will need to include config.h before any > gnulib-generated

Re: [PATCH 1/3] Add some supporting framework for C11-style atomics.

2025-04-03 Thread Dmitry V. Levin
On Thu, Aug 29, 2019 at 03:16:12PM +0200, Mark Wielaard wrote: > From: Jonathon Anderson > > Uses the stdatomic.h provided by FreeBSD when GCC doesn't (ie. GCC < 4.9) > > Signed-off-by: Jonathon Anderson > Signed-off-by: Srđan Milaković > --- > configure.ac | 12 ++ > lib/ChangeLog

Re: [PATCH v2] libdwfl: resolve all paths relative to sysroot

2025-04-03 Thread Dmitry V. Levin
On Tue, Apr 01, 2025 at 08:54:04PM +0200, Michal Sekletar wrote: > Whenever possible, resolve all symlinks as if the sysroot path were a > chroot environment. This prevents potential interactions with files from > the host filesystem. > > Signed-off-by: Michal Sekletar > --- > configure.ac

[PATCH v2] Add 'Key to Flags' to eu-readelf output [bz 29571]

2025-04-03 Thread Samuel Zeter
When printing section headers, also include a key to what each flag is at the end of the section header output. Signed-off-by: Samuel Zeter --- Updates tests to fix issues from the first patch. src/readelf.c | 11 ++ tests/run-copyadd-sections.sh | 4 +-- tests/run-large-e