]> git.ipfire.org Git - thirdparty/elfutils.git/commit
segment_report_module: Unify d32/d64 loops
authorTimm Bäder <tbaeder@redhat.com>
Mon, 23 Nov 2020 12:27:10 +0000 (13:27 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 25 Nov 2020 15:36:54 +0000 (16:36 +0100)
commit8331eaeb4ce4707154f8d2e1743a562d0d9bd945
tree80421a5d88e94c96055dd9835a6c94c410130fbe
parentb47b7aa0a731e4f50eb92adead67fd8d737d65ba
segment_report_module: Unify d32/d64 loops

Just like we did before, use only one loop here and check for 32/64 bit
in the loop body. This way we only have one call site for consider_dyn

Signed-off-by: Timm Bäder <tbaeder@redhat.com>
libdwfl/ChangeLog
libdwfl/dwfl_segment_report_module.c