https://sourceware.org/bugzilla/show_bug.cgi?id=27371
Bug ID: 27371 Summary: [readelf] .debug_rnglists section header not parsed Product: binutils Version: 2.37 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- ... $ g++ gdb/testsuite/gdb.cp/cpexprs.cc -gdwarf-5 -fdebug-types-section $ ~/binutils/install/bin/readelf -w a.out Contents of the .debug_rnglists section: Offset Begin End 00000000 readelf: Error: Invalid range list entry type 126 0000000c 00000000004008c8 00000000004013f1 00000017 00000000004013f2 0000000000401407 ... Looking with llvm-dwarfdump: ... .debug_rnglists contents: range list header: length = 0x0000047e, version = 0x0005, addr_size = 0x08, seg_size = 0x00, offset_entry_count = 0x00000000 ranges: [0x00000000004008c8, 0x00000000004013f1) [0x00000000004013f2, 0x0000000000401407) ... The entry type 126 is 0x7e in hex (which occurs in the length field of the header). Looks like the section header is not parsed. -- You are receiving this mail because: You are on the CC list for the bug.