https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91935

--- Comment #3 from Dimitar Yordanov <dimitar.yordanov at sap dot com> ---
ld.bfd --gc-sections drops the dead symbols, at least in the example code.

ld.gold --gc-sections works differently. I guess it does not even look at
sections without SHF_ALLOC

Reply via email to