aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6/gcc/c-objc-common.c
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2013-02-20 16:17:40 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2013-02-20 16:17:40 +0800
commit0457b0db02c4b229eab11c01025df948032c31a7 (patch)
tree392a5cfdd4ce74500bf66a9fe36f4cd96d80c324 /gcc-4.6/gcc/c-objc-common.c
parent67a559de3736deb9b9912d89ca22149922a4894c (diff)
downloadtoolchain_gcc-0457b0db02c4b229eab11c01025df948032c31a7.tar.gz
toolchain_gcc-0457b0db02c4b229eab11c01025df948032c31a7.tar.bz2
toolchain_gcc-0457b0db02c4b229eab11c01025df948032c31a7.zip
Use memalign instead of posix_memalign in GCC x86 mm_malloc.h
posix_memalign doesn't exist in NDK. Code inludes ?mmintrin.h which in turn includes mm_malloc.h may fail to link For AOSP platform build which uses the same compiler, add -DHAVE_POSIX_MEMALIGN to restore the original behavior. Other than non-zero return value which _mm_alloc already ignores, both paths are functioanlly identical (under the hood dlmalloc.c in 32-bit ensure alignment is at least 16-byte) Change-Id: I55e9bb8b80e1b55baa9744920df10fcf83218300
Diffstat (limited to 'gcc-4.6/gcc/c-objc-common.c')
0 files changed, 0 insertions, 0 deletions