]> git.ipfire.org Git - thirdparty/elfutils.git/commit
segment_report_module: Use one loop for p32/p64 arrays
authorTimm Bäder <tbaeder@redhat.com>
Mon, 23 Nov 2020 12:27:08 +0000 (13:27 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 25 Nov 2020 15:28:18 +0000 (16:28 +0100)
commitd13b1bc67146e27a38c244b91b57499aa928632c
treeb233be02d97364e13c0fb728e8f005f9c82644dc
parent43209878bd6786abee3ac80cf6f04c7c083c3505
segment_report_module: Use one loop for p32/p64 arrays

Do one loop check for 32/64 bit inside the loop, instead of outside.
This way we have only one call site for the function called in the loop
body.

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