Re: [PATCH] config: files under /usr/lib/sysctl.d (_sysctldir) aren't %config.

2017-11-10 Thread Mark Wielaard
On Thu, 2017-11-02 at 16:53 +0100, Mark Wielaard wrote: > Admin can place the real config file under /etc/sysctl.d as override. > https://bugzilla.redhat.com/show_bug.cgi?id=1506660 Pushed to master.

Re: [PATCH 1/3] readelf: Handle DW_OP_GNU_variable_value.

2017-11-10 Thread Mark Wielaard
On Sun, 2017-11-05 at 00:31 +0100, Mark Wielaard wrote: > Also format both DW_OP_call_ref and DW_OP_GNU_variable_value argument > as a normal DIE reference. Pushed to master.

Re: [PATCH 2/3] libdw: Update acceptable forms and attributes for dwarf_getlocation.

2017-11-10 Thread Mark Wielaard
On Sun, 2017-11-05 at 00:31 +0100, Mark Wielaard wrote: > dwarf_getlocation has to know which attributes can contain a DWARF > expression or location list because the form alone might be ambiguous. > > Since DWARF4 there is DW_FORM_exprloc so always accept that. But for older > DWARF or location l

Re: [PATCH 3/3] libdw: Handle DW_OP_GNU_variable_value.

2017-11-10 Thread Mark Wielaard
On Sun, 2017-11-05 at 00:31 +0100, Mark Wielaard wrote: > Handle DW_OP_GNU_variable_value in dwarf_getlocation[_attr,_die]. > DW_OP_GNU_variable_value takes one argument a DIE reference that > describes a value given by a location of const_value attribute. > > To test handling of the new operand t

[PATCH] tests: Add varlocs-self and exprlocs-self tests.

2017-11-10 Thread Mark Wielaard
Make sure the testcases (library functions they use) don't crash, triggers self-check/asserts or leaks memory under valgrind. This also helps making sure newer DWARF constructs are handled (when building with -gdwarf-5). Signed-off-by: Mark Wielaard --- tests/ChangeLog| 16 ++