summaryrefslogtreecommitdiff
path: root/libdwfl/ChangeLog
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2019-12-11 17:29:44 -0800
committerMark Wielaard <mark@klomp.org>2019-12-18 21:18:59 +0100
commit2e75c987d591d3af313ee38a31ab677f6f4eb1ff (patch)
tree7f2bfca702f5dca0ce5e82a34d222273fa1cfb3f /libdwfl/ChangeLog
parent277c2c54f5579523649a29d26966bfed35a159bf (diff)
downloadelfutils-2e75c987d591d3af313ee38a31ab677f6f4eb1ff.tar.gz
libdwfl: remove broken coalescing logic in dwfl_report_segment
dwfl_report_segment has some logic that detects when a segment is contiguous with the previously reported segment, in which case it's supposed to coalesce them. However, in this case, it actually returns without updating the segment array at all. As far as I can tell, this has always been broken. It appears that no one uses the coalescing logic anyways, as they pass IDENT as NULL. Let's just get rid of the logic and add a test case. Signed-off-by: Omar Sandoval <osandov@fb.com>
Diffstat (limited to 'libdwfl/ChangeLog')
-rw-r--r--libdwfl/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/libdwfl/ChangeLog b/libdwfl/ChangeLog
index b6b427d4..b36a7ca6 100644
--- a/libdwfl/ChangeLog
+++ b/libdwfl/ChangeLog
@@ -1,3 +1,10 @@
+2019-12-11 Omar Sandoval <osandov@fb.com>
+
+ * libdwflP.h (Dwfl_Module): Remove coalescing state.
+ Rename lookup_tail_ndx to next_segndx.
+ * segment.c (dwfl_report_segment): Remove coalescing logic.
+ * libdwfl.h (dwfl_report_segment): Document that IDENT is ignored.
+
2019-12-05 Mark Wielaard <mark@klomp.org>
* linux-kernel-modules.c (find_kernel_elf): Also try to find