size_t is too small on 32 bit systems to analyze a 64 bit core file.
Signed-off-by: Mark Wielaard <mark@klomp.org>
+2020-11-28 Mark Wielaard <mark@klomp.org>
+
+ * dwfl_segment_report_module.c (dwfl_segment_report_module):
+ Use GElf_Addr to calculate note_vaddr instead of size_t.
+
2020-11-26 Timm Bäder <tbaeder@redhat.com>
* dwfl_segment_report_module.c (dwfl_segment_report_module):
/* We calculate from the p_offset of the note segment,
because we don't yet know the bias for its p_vaddr. */
- const size_t note_vaddr = start + offset;
+ const GElf_Addr note_vaddr = start + offset;
void *data;
size_t data_size;
if (read_portion (&read_state, &data, &data_size,