| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GCC allocates memory buffer and passes it as the first hidden argument
for function return large composite type (ie. > 4 bytes for all NDK
toolchain). Problem is that GCC doesn't observe the aligement
required by the type, and ARM EABI only requires stack to be aligned
to 8-byte.
Please see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57271 for external
bug tracking this issue and testcase. This CL offers temp relief before
formal one
Change-Id: I8004bc4208487e539ba8b0c9686c44ac86c37d83
|
|
|
|
|
|
|
|
| |
ldc1/sdc1 needs memory to be 8-byte aligned.
This option is on by default for arch supports it, but can be turned
off by "-mno-ldc1-sdc1" to workaround issue, for example.
Change-Id: I14291dc4280e75f6c765c933b60eb1b7cd44f974
|
|
|
|
|
|
| |
See http://gcc.gnu.org/ml/gcc-patches/2013-04/msg00764.html
Change-Id: I8aad144f579def5629fcb7cb29a68d057b809be2
|
|
|
|
|
|
|
|
|
|
| |
1. Fixed darwin build of GCC 4.8/X86 by removing trailing
',' from the last item of enum. Not discovered before
because GCC 4.8 now builds with -Wall -Werror, and gcc-4.2.1
in darwin is picky about that
2. Fixed -fuse-ld=mcld
Change-Id: I7b65edfb76841f14c3290acb5a98f556d00e1139
|
|
|
|
|
|
|
|
|
| |
See issue https://code.google.com/p/android/issues/detail?id=52732,
and fix http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00732.html
Also see 78a68e851a2f6f9d00367cd38eeedf670bb80f01
Change-Id: Iad4deda17414f3165714da0b60f9f8cb2a6ef052
|
|
|
|
|
|
|
|
|
|
|
|
| |
ARM/X86 GCC in NDK explicitly emit -m armelf_linux_eabi and -m elf_i386,
respectively, for linker. Fix MIPS to do the same, to help mclinker
which is built vanilla and relies on either filename (eg.
eg. arm-linux-androideabi-ld.mcd implies arm) or -mtriple/-march/-m
to figure out the target
See 125708b8e3afa6007ce3aa7132165d27b719ccc3
Change-Id: I79d67b5a69884713b9a3aaa59012c9170b823068
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
See 0457b0db02c4b229eab11c01025df948032c31a7
Change-Id: I2e83d544a4ac2f4549de3b41a85e009a0a085476
|
|
|
|
|
|
|
|
|
| |
See b6e375800c9a2f02a732cbdf5e87a860c3d954e1,
1271761f530c0050154e8d526b95f952df551751,
92c478dba755a1a2f6f00ff390666acbffd41982 and
51df2e98d22e2c6f5d2a16860bc8fc3644179c1d.
Change-Id: I7b01524a5516dd31b26a68cccc616a066893db39
|
|
|
|
|
|
|
|
| |
32-bit FPU.
See 7609f724df8ca390935f63243fa72e1de39d00c6
Change-Id: Id77b56a1cf886584020cf30a4211de0a87b4f56e
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Configured multilib:
> arm-eabi-gcc -print-multi-lib
.;
thumb;@mthumb
thumb/thumb2;@mthumb@march=armv7
See 978fb74a5c086cc5572dc2e3f37d207acad969d7
Change-Id: Ia04c9e23cb5abb924702639c6c0f3afc9c485ff0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To choose between "global" (default) and "tls" (new)
for -fstack-protector, -fstack-protector-all, and
-fstack-protector-strong (GCC 4.6+).
Note that this alone doesn't enable any -fstack-protector*
For NDK: The default "global" generates code backward
compatible with older bionic
For AOSP: build may add "-mstack-protector-guard=tls" to
build platform code with new bionic (*1)
Related CL:
ad88a0863110798cef5169dcf917e18b967a7cf6 (*1)
e804643b6dfcfb5842dea4b714601c6dd89f4944
Change-Id: I341c9022530b37ca289d94e1174dfa86a8eaa1bf
|
|
|
|
|
|
|
|
|
| |
Used to be local NDK patch at $NDK/build/tools/toolchain-patches/
gcc/0008-Port-MIPS-Android-support-to-GCC-4.6.patch
See ec1a2a51fa75883e4bdf9f4f03e8fd16a261c275
Change-Id: I7526fc1f1c3304c14b8f6f6d5a0b26ddc1c7e4a0
|
|
|
|
|
|
|
|
|
|
|
| |
See c779c1ff50bde450eb49b3998353804602c4d963
Used to be local NDK patch at $NDK/build/tools/toolchain-patches/
gcc/0004-Enable-x86-gcc-defaults.patch
Also see 5578813961a205a7c5d3e9da8a1b5ec00d4dac3c
They should be passed in configure to work correctly.
See https://android-review.googlesource.com/50815
Change-Id: I0be1f1111870070f25d92d390d2738b52315865d
|
|
|
|
|
|
|
|
|
| |
Used to be local NDK patch at $NDK/build/tools/toolchain-patches/
gcc/0009-Enable-assembler-linker-default-for-security.patch
See 7e66b0108987a56a58c6150672fe7cf8cf88e69a
Change-Id: Ia668c962b7251dd673cc028dac8a111b1aeeb47d
|
|
|
|
|
|
|
|
|
| |
Please see commit message of the same fix in previous GCC
GCC 4.7 3800bda255b20023e993ed786674f70c909d60b5
GCC 4.6 a9fcd9b1ecb8954f67738a94b8553ab234d6def5
GCC 4.4.3 329ca6fa5d9972ad6dad8387036b4dbe9cfa1f27
Change-Id: I288f349d2140918babf3a872728da02c5706a971
|
|
Change-Id: I0719d8a6d0f69b367a6ab6f10eb75622dbf12771
|