https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91935
--- Comment #3 from Dimitar Yordanov ---
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91935
--- Comment #2 from Dimitar Yordanov ---
Probably already clear, but to write down what I read so far and did not write
with the initial report:
PR lto/83452. is actually not the regression, it is just a workaround to "Make
discarded global symb
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91935
Richard Biener changed:
What|Removed |Added
Keywords||lto
Status|UNCONFIRMED