https://sourceware.org/bugzilla/show_bug.cgi?id=19878
Toni Spets <toni.spets at iki dot fi> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |toni.spets at iki dot fi --- Comment #1 from Toni Spets <toni.spets at iki dot fi> --- Created attachment 9134 --> https://sourceware.org/bugzilla/attachment.cgi?id=9134&action=edit Fix PR ld/19878: Properly zero local structure before use Attached is a patch that fixes the issue. Probably by mistake this memset() was removed in the offending commit. Because of that, some fields in the structure are left uninitialized if text_sec, data_sec or bss_sec variables are not set. In any normal build, all fields are set and this regression is not hit. However, it should never leave the structure uninitialized as it's not guaranteed the following code will always set all fields it can hold. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils