diff options
| author | Fengwei Yin <fengwei.yin@intel.com> | 2012-03-28 17:25:17 +0800 |
|---|---|---|
| committer | Jack Ren <jack.ren@intel.com> | 2012-04-16 14:20:30 +0800 |
| commit | ee18fb4aacc9b67b397a0b000dda6e350ad5b3f0 (patch) | |
| tree | 1b0359779dc381a7f2cf91220c5318ba2e4b87b9 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp | |
| parent | 6bc18fa58849a4307cf6ddcfd526d9258e8175fc (diff) | |
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).
Change-Id: I885e9adc7f088b9c0a78355bd752f1e6aeec9f07
Signed-off-by: Fengwei Yin <fengwei.yin@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions
