libstdc++: Fix x86 thread-safe one-time-construction implementation.
The root of the problem is that the existing implementation is based on the
ARM C++ ABI, which mandates a different guard variable layout than the
Itanium/x86 C++ one.
This patch modifies the implementation in a way that satisfies both ABIs (and
doesn't require changing the toolchains).
Signed-off-by: Fengwei Yin <firstname.lastname@example.org>
Signed-off-by: Jack Ren <email@example.com>
Signed-off-by: Bruce Beare <firstname.lastname@example.org>
1 file changed