https://sourceware.org/bugzilla/show_bug.cgi?id=34468
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2026-08-18
Assignee|unassigned at sourceware dot org |mark at klomp dot org
CC| |mark at klomp dot org
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
Looks like you are right about the "fill" being applied wrongly.
At least I can replicate the issue with your example and just commenting out
the "fill" call seems to not corrupt the ELF structure. I'll see if replicating
the "magic" in fill_mmap makes sense.
I do note that debugedit in general might not handle mixed allocated and
unallocated sections. It should work for this particular case because no
sections get changed in size. But once there are .debug sections to be
rewritten having unallocated sections before the allocated sections might trip
up debugedit (so we might also have a debugedit bug).
--
You are receiving this mail because:
You are on the CC list for the bug.