Another issue that might make debugedit.c more portable is similar to inlining
DW_FORM* instead of
`#include <dwarf.h>`
Instead of using EU version dependent #defines for strtab_init() etc (which
needs -lebl), it may be more "portable" to just inline the routines and
maintain a copy in debugedit.c.
That would permit non-elfutils -lelf to be used "portably" even if there is
code duplication.
I dunno (yet) how much code would need to be duplicated, but will take a look
soonishly.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/171#issuecomment-284468205
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint