This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] dwelf: Add string table functions from ebl.


On Fri, 2016-07-08 at 14:45 +0200, Mark Wielaard wrote:
> Move the strtab functions from libebl to libdw. Programs often want to
> create ELF/DWARF string tables. We don't want (static) linking against
> ebl since those are internal functions that might change.
> 
> This introduces dwelf_strtab_init, dwelf_strtab_add,
> dwelf_strtab_add_len, dwelf_strtab_finalize, dwelf_strent_off,
> dwelf_strent_str and dwelf_strtab_free. Documentation for each has
> been added to libdwelf.h. The add fucntion got a variant that takes
> the length explicitly and finalize was changed to return NULL on
> out of memory instead of aborting. All code and tests now uses the
> new functions.

I pushed this to master now.

Cheers,

Mark

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]