https://sourceware.org/bugzilla/show_bug.cgi?id=29293
Bug ID: 29293 Summary: [2.39 Regression] elfnn-aarch64.c: def_protected member unintialized Product: binutils Version: 2.39 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: pexu at sourceware dot mail.kapsi.fi Target Milestone: --- Created attachment 14178 --> https://sourceware.org/bugzilla/attachment.cgi?id=14178&action=edit aarch64: properly initialize def_protected member Hi. "aarch64: Disallow copy relocations on protected data" [1] commit unfortunately does not initialize def_protected member. This leads to spurious "copy relocation against non-copyable protected symbol" errors as def_protected member might not be touched (if definition is false) and the allocation routine (bfd_hash_allocate/objalloc_alloc) does not appear to zero initialize allocated space. Attached a patch proposal. [1] https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=90b7a5df152a64d2bea20beb438e8b81049a5c30 -- You are receiving this mail because: You are on the CC list for the bug.