https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77422
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I don't really like that. The linker has all the info to remove unused mergeable constants or strings, so if it doesn't do that now, it should be changed to do that.