[Bug debugedit/31504] debugedit writes out ELF file even when nothing has been updated
mark at klomp dot org
sourceware-bugzilla@sourceware.org
Fri Mar 22 23:47:07 GMT 2024
https://sourceware.org/bugzilla/show_bug.cgi?id=31504
--- Comment #8 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Allan McRae from comment #7)
> > What I don't fully understand is why you are expecting debugedit to NOT change
> > the debug path strings when you are asking it to. Is this because there file
> > don't actually contain any .debug sections?
>
> I don't expect that. I expect debugedit/libelf to not truncate the extra
> data that is tagged on to the ELF file.
I am sorry, but it will if it needs to change the ELF data because it has no
way of knowing what to do with this "extra data" since it isn't described in
the ELF header, program or section tables. So when the debug path strings
change and the section data becomes bigger or smaller things will move around.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Debugedit
mailing list