https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80531
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That is really weird, because atomic.c has two exported functions, so should have first_global_object_name set. Can you find out why notice_global_symbol is not called? Or is it called only after get_file_function_name is called?