[Bug debugedit/33789] debugedit corrupts RISC-V object files
jmontleo at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Jan 14 02:32:29 GMT 2026
https://sourceware.org/bugzilla/show_bug.cgi?id=33789
--- Comment #9 from Jason Montleon <jmontleo at redhat dot com> ---
Perhaps this has to do with what is discussed here?
"Why is .symtab so huge on riscv?"
https://github.com/riscv-collab/riscv-gnu-toolchain/issues/1036
"This is due, at least in part, to the fact that RISC-V doesn’t compute branch
targets until link time, to facilitate aggressive linker relaxation. By
contrast, x86 and ARMv8 assemblers compute branch targets at assembly time, so
don’t need to carry around some of those symbols.
Ordinarily, this only bloats the intermediate build artifacts (and static
libraries), not linked executables."
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Debugedit
mailing list