https://sourceware.org/bugzilla/show_bug.cgi?id=26153
Fangrui Song <i at maskray dot me> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |i at maskray dot me --- Comment #3 from Fangrui Song <i at maskray dot me> --- Does this suggest that GNU ld --orphan-handling should ignore unused linker created sections? (FWIW I did this for LLD in https://reviews.llvm.org/D75149 ) If no symbol versioning feature is used, the output naturally has no .gnu.version{,_r,_d} - this is a guaranteed property of ld. Therefore, I think the user does not have to specify an empty .gnu.version{,_r,_d} output section description just to suppress the --orphan-handling={warn,error} diagnostic. -- You are receiving this mail because: You are on the CC list for the bug.