Re: [PATCH] src/elflint.c: add debug print for GNU_RETAIN and others

2021-01-12 Thread Mark Wielaard
Hi Sergei, On Thu, 2020-12-31 at 12:11 +, Sergei Trofimovich via Elfutils-devel wrote: > --- > src/elflint.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/src/elflint.c b/src/elflint.c > index b3cbaade..7b7f7937 100644 > --- a/src/elflint.c > +++ b/src/elflint.

[PATCH] elflint: Recognize SHF_GNU_RETAIN as extra section flag.

2021-01-12 Thread Mark Wielaard
SHF_GNU_RETAIN is like SHF_LINK_ORDER it can appear on any section and should be ignored by elflint. Add all such flags to a new EXTRA_SHFLAGS and use it consistently in check_sections. Signed-off-by: Mark Wielaard --- src/ChangeLog | 8 +++- src/elflint.c | 21 + 2 file

[Bug libelf/27134] elfutils-git fails tests against gcc-git (GNU_RETAIN section type)

2021-01-12 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27134 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org Sta

Re: [PATCH v2] Add coverage target

2021-01-12 Thread Mark Wielaard
On Tue, 2021-01-12 at 07:29 +0300, Dmitry V. Levin wrote: > Implement a target for capturing code coverage using lcov. > It is available when elfutils is configured using --enable-gcov. Very nice. > +$(COVERAGE_OUTPUT_INDEX_HTML): $(COVERAGE_OUTPUT_FILE) > + LC_ALL=C $(GENHTML) \ > +

Re: [PATCH elfutils-htdocs] update-coverage.sh: use "make coverage"

2021-01-12 Thread Mark Wielaard
Hi Dmitry, On Tue, 2021-01-12 at 07:29 +0300, Dmitry V. Levin wrote: > The coverage report is now prepared by "make coverage". This is obviously OK once the src coverage target goes in. Thanks, Mark

Re: [PATCH v2] Add coverage target

2021-01-12 Thread Dmitry V. Levin
On Tue, Jan 12, 2021 at 12:48:17PM +0100, Mark Wielaard wrote: > On Tue, 2021-01-12 at 07:29 +0300, Dmitry V. Levin wrote: > > Implement a target for capturing code coverage using lcov. > > It is available when elfutils is configured using --enable-gcov. > > Very nice. > > > +$(COVERAGE_OUTPUT_IN

Re: [PATCH] src/elflint.c: add debug print for GNU_RETAIN and others

2021-01-12 Thread Sergei Trofimovich via Elfutils-devel
On Tue, 12 Jan 2021 10:14:55 +0100 Mark Wielaard wrote: > Hi Sergei, > > On Thu, 2020-12-31 at 12:11 +, Sergei Trofimovich via Elfutils-devel > wrote: > > --- > > src/elflint.c | 5 - > > 1 file changed, 4 insertions(+), 1 deletion(-) > > > > diff --git a/src/elflint.c b/src/elflint.c