https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60790
--- Comment #14 from Florian Weimer <fw at gcc dot gnu.org> --- Author: fw Date: Wed Mar 20 10:42:35 2019 New Revision: 269818 URL: https://gcc.gnu.org/viewcvs?rev=269818&root=gcc&view=rev Log: PR libgcc/60790: x86: Do not assume ELF constructors run before IFUNC resolvers * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx): Remove declarations. (__libat_feat1, __libat_feat1_init): Declare. (FEAT1_REGISTER): Define. (load_feat1): New function. (IFUNC_COND_1): Adjust. * config/x86/init.c (libat_feat1_ecx, libat_feat1_edx) (init_cpuid): Remove definitions. (__libat_feat1): New variable. (__libat_feat1_init): New function. Modified: branches/gcc-8-branch/ (props changed) branches/gcc-8-branch/libatomic/ChangeLog branches/gcc-8-branch/libatomic/config/x86/host-config.h branches/gcc-8-branch/libatomic/config/x86/init.c Propchange: branches/gcc-8-branch/ ('svn:mergeinfo' modified)