[COMMITTED] libebl: Remove Ebl struct size check and MODVERSION string.

2020-06-10 Thread Mark Wielaard
We used to do several sanity checks when the ebl backend libraries were loaded to make sure there was no version mismatch. When initializing the backend we passed the current Ebl struct size so the library could check it supported the given Ebl struct and we checked that the init method returned th

Re: location list

2020-06-10 Thread Mark Wielaard
Hi Sasha, On Tue, 2020-06-09 at 16:38 +, Sasha Da Rocha Pinheiro via Elfutils-devel wrote: > I am now trying to design the changes needed to be done in Dyninst. > So far we have only used the functions dwarf_* under libdw. > What I understood is that libdw is kinda divided in subsets of functi

Re: [PATCH] nm: Handle corrupt symbol name table.

2020-06-10 Thread Mark Wielaard
On Sun, 2020-06-07 at 16:51 +0200, Mark Wielaard wrote: > We try to sort symbol by name (when neither -n nor -p are given). > This could crash if the symbol name table was corrupt. Use elf_strptr > to get the symbol name and use the empty string in case a name > couldn't be found. Pushed to master

[Bug general/25227] "eu-nm --extern" skips first symbol

2020-06-10 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=25227 Mark Wielaard changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

Re: [PATCH] nm: Explicitly print weak 'V' or 'T' and common 'C' symbols.

2020-06-10 Thread Mark Wielaard
On Sun, 2020-06-07 at 01:12 +0200, Mark Wielaard wrote: > Mimic binutils nm for bsd and posix formats which uses 'V' for weak > symbols, 'C' for common symbols and 'T' for weak functions. Also fix > some formatting issues. Don't print undefined addresses as zeros, but > make sure there is enough pa