diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-05-23 13:13:05 +0200 |
---|---|---|
committer | Florian Weimer <fw@gcc.gnu.org> | 2018-05-23 13:13:05 +0200 |
commit | cb3c90cc4253cc236a4d5669a893562b202570e5 (patch) | |
tree | f949dbb7958ca1eeed9204b05d8ea39418b7ac22 /libatomic/ChangeLog | |
parent | 159440699bf6f97dccc94377d9d69e540a1904dc (diff) |
x86: libatomic: Do not assume ELF constructors run before IFUNC resolvers
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.
From-SVN: r260603
Diffstat (limited to 'libatomic/ChangeLog')
-rw-r--r-- | libatomic/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libatomic/ChangeLog b/libatomic/ChangeLog index 82a2e040c6b..dcb1bae089a 100644 --- a/libatomic/ChangeLog +++ b/libatomic/ChangeLog @@ -1,3 +1,18 @@ +2018-05-23 Florian Weimer <fweimer@redhat.com> + + 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. + 2018-05-02 Tom de Vries <tom@codesourcery.com> PR testsuite/85106 |