Some time ago on the dwarf branch the the dwarf string functions were
split out of readelf.c into dwarfstrings.c plus dwarfstrings.h so they
could easily be reused in other elfutils programs. Over time they
diverged a bit.
Attached is a patch to merge the changes from the master readelf.c
version to the dwarf dwarfstrings.c version. Another to merge the
changes from the dwarfstrings.c version to the readelf.c master version.
To prevent further divergence and make merging changes easier there is
also a patch to make the same readelf/dwarfstrings for master.
Would it be OK to apply these patches to the branch and/or master?