summaryrefslogtreecommitdiffstats
path: root/core/combo
Commit message (Collapse)AuthorAgeFilesLines
...
| * [MIPS] Update build rulesChris Dearman2013-02-191-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | Add -D_FORTIFY_SOURCE=1 to the default cflags Update build rule for executable with PRIVATE_ALL_WHOLE_STATIC_LIBRARIES Use single dash version of -print-whatever compile everything with relro / bind_now Enable NX protections Some other cleanups to reduce differences between ARM and MIPS config files Change-Id: I30b4de449e6353b581ef7f9437a3bb9be53d5bbf Signed-off-by: Chris Dearman <chris@mips.com>
* | am 7ce7473f: am 5e12e60b: Merge "For the current MIPS compiler ↵Ying Wang2013-02-156-6/+12
|\ \ | |/ | | | | | | | | | | __builtin___clear_cache() generates synci instruction only with -msynci option So, add -msynci to all mips32r2 makefiles. Also add msynci to the list flags not recognized by clang." * commit '7ce7473f866fc5356291f38a3437a071ea5fd00d': For the current MIPS compiler __builtin___clear_cache() generates synci instruction only with -msynci option So, add -msynci to all mips32r2 makefiles. Also add msynci to the list flags not recognized by clang.
| * Merge "For the current MIPS compiler __builtin___clear_cache() generates ↵Ying Wang2013-02-156-6/+12
| |\ | | | | | | | | | synci instruction only with -msynci option So, add -msynci to all mips32r2 makefiles. Also add msynci to the list flags not recognized by clang."
| | * For the current MIPS compiler __builtin___clear_cache() generates synci ↵Raghu Gandham2013-02-076-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | instruction only with -msynci option So, add -msynci to all mips32r2 makefiles. Also add msynci to the list flags not recognized by clang. Change-Id: I48fd6f2b0cbe80c3cd90f453ced97a2f154f7ad3 Signed-off-by: Rocky Zhang <yan@mips.com>
* | | am ea852f6e: am f6b670b7: Merge "Remove more always-true ARCH_ARM_HAVE_ flags."Elliott Hughes2013-02-144-30/+1
|\ \ \ | |/ / | | | | | | | | | | | | # Via Android Git Automerger (1) and others * commit 'ea852f6ed3e9f251eaef4f041fbc0b09229ac924': Remove more always-true ARCH_ARM_HAVE_ flags.
| * | Remove more always-true ARCH_ARM_HAVE_ flags.Elliott Hughes2013-02-144-30/+1
| | | | | | | | | | | | | | | | | | All the remaining flags appear to be actually used. Change-Id: I0e3d84915487eda4f0e97809fc36624fef5f1848
* | | am d0fb6930: am 07a58f8f: Merge "Nothing uses ARCH_ARM_HAVE_CLZ or ↵Elliott Hughes2013-02-134-29/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | ARCH_ARM_HAVE_FFS." # Via Android Git Automerger (1) and others * commit 'd0fb693024b88a713fe95296db451a0e6c17ec66': Nothing uses ARCH_ARM_HAVE_CLZ or ARCH_ARM_HAVE_FFS.
| * | Nothing uses ARCH_ARM_HAVE_CLZ or ARCH_ARM_HAVE_FFS.Elliott Hughes2013-02-134-29/+0
| |/ | | | | | | | | | | Because every ARM architecture we've ever supported has had both. Change-Id: I607b56416e65073c5ac1b85fb17c092516e02573
* | Allow user to override the linux host toolchain.Ying Wang2013-02-121-0/+2
| | | | | | | | | | Bug: 8181840 Change-Id: Ib2a90d33414758e95b1a3c60db62c4188944dfdd
* | Don't fall back to host $(CC) if the target gcc is not checked outYing Wang2013-01-302-36/+28
| | | | | | | | | | | | | | | | | | | | Error "cc1plus: error: unrecognized command line option ‘-mfloat-abi=softfp’" is much more confusing than "...gcc: No such file or directory". Also we don't build in Windows/Cygwin any more so we don't need the old trick. Change-Id: Ibbe3da67b412575e56bd6e61ef412ea5b2789fea
* | am 5fb282d8: am 6463953e: am b796ce35: Merge "Remove HAVE_DLADDR from ↵Elliott Hughes2013-01-298-56/+0
|\ \ | |/ | | | | | | | | | | | | AndroidConfig.h." # Via Android Git Automerger (2) and others * commit '5fb282d89d00504772753acf1af63c5b422d21e2': Remove HAVE_DLADDR from AndroidConfig.h.
| * Remove HAVE_DLADDR from AndroidConfig.h.Elliott Hughes2013-01-258-56/+0
| | | | | | | | Change-Id: I014ce98c61b12169e381b769af34b682df46087e
* | Use -mcpu=cortex-a15 for gcc arch dependent compilation.Ben Cheng2013-01-141-5/+7
| | | | | | | | | | | | | | If TARGET_CPU_VARIANT=cortex-a15 is specified in the BoardConfig.mk file. Bug: 7961327 Change-Id: Ic459df378293237c54263f5315ac3be62dad4273
* | am dd319cef: am 26f47aba: Merge "Switch to GCC 4.7 for X86 and MIPS"Andrew Hsieh2012-12-282-2/+2
|\ \ | |/ | | | | | | * commit 'dd319cef3f0e351f0b1621167b22eb39e86b27ad': Switch to GCC 4.7 for X86 and MIPS
| * Switch to GCC 4.7 for X86 and MIPSAndrew Hsieh2012-12-212-2/+2
| | | | | | | | Change-Id: I1c2021a15f53e064baf69084894c114289ef7c54
| * Enable lunch command to pick up new toolchain version.Ben Cheng2012-12-123-3/+9
| | | | | | | | | | | | | | Otherwise the previously exported value will be sticky and the value defined in the TARGET makefile is ignored. Change-Id: I13b9cca2d288f7ab09104c57e7cad9f23de2548a
| * Refresh ARM toolchain to GCC 4.7 / binutils 2.22.Ben Cheng2012-12-111-1/+1
| | | | | | | | Change-Id: Id3689376ae4c4fc183569955b2ee98df5c069510
* | Merge commit 'ec4caba7' into manualmergeBen Cheng2012-12-133-4/+10
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: CleanSpec.mk Change-Id: Idd8f8f4a896b47bd6275daeb71a24a317da4c98a
| * | Enable lunch command to pick up new toolchain version.Ben Cheng2012-12-133-4/+10
| |/ | | | | | | | | | | | | Otherwise the previously exported value will be sticky and the value defined in the TARGET makefile is ignored. Change-Id: Icdacb8c46034b8a24a9875b7596b31d00861512a
* | am b3a68f6e: am 62f1d86e: Merge "Define TARGET_GCC_VERSION in target ↵Ben Cheng2012-12-113-0/+12
|\ \ | |/ | | | | | | | | | | specific make files." * commit 'b3a68f6e002cdbc946d08a76656067d63542a98a': Define TARGET_GCC_VERSION in target specific make files.
| * Define TARGET_GCC_VERSION in target specific make files.Ben Cheng2012-12-113-0/+12
| | | | | | | | | | | | So that GCC refresh can be performed in a target specific way. Change-Id: I867e8b8fd671bef8c5af300e657a6da4fface032
* | am 7cd20491: am a303510f: Merge "x86: enable FORTIFY_SOURCE"Nick Kralevich2012-12-111-0/+1
|\ \ | |/ | | | | | | * commit '7cd204914ef59c4ce96210539489ec3e76942bb4': x86: enable FORTIFY_SOURCE
| * x86: enable FORTIFY_SOURCENick Kralevich2012-12-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | Enable FORTIFY_SOURCE for Android x86. This adds certain security protections to Android programs, checking for common programming mistakes and buffer overflows. FORTIFY_SOURCE protections have been enabled for ARM since a46c480e43cc61d0190569684f0a1e53a5da75b6 (Jun 4th 2012) Change-Id: Idae6f93d37ddae605088867cd3029f12632456e1
* | am eb98e088: am 865d851a: Merge "Remove the obsolete comments and change the ↵Ying Wang2012-11-122-21/+13
|\ \ | |/ | | | | | | | | | | misleading var name." * commit 'eb98e088937c4568f75d965dee1ef8d5c6689213': Remove the obsolete comments and change the misleading var name.
| * am 865d851a: Merge "Remove the obsolete comments and change the misleading ↵Ying Wang2012-11-122-21/+13
| |\ | | | | | | | | | | | | | | | | | | var name." * commit '865d851a8012e13c35d573d98770b7187d32b7f7': Remove the obsolete comments and change the misleading var name.
| | * Remove the obsolete comments and change the misleading var name.Ying Wang2012-11-122-21/+13
| | | | | | | | | | | | Change-Id: Ib19099cbce0133f5c7df44fa0fd80215809a1ad8
* | | am abfb2522: resolved conflicts for merge of 8b3ce5a3 to stage-aosp-masterAndrew Hsieh2012-11-121-24/+41
|\ \ \ | |/ / | | | | | | | | | * commit 'abfb25226aabdbda7f8900e923754beb7f8cb94d': Use prebuilt gcc for MacOSX
| * | resolved conflicts for merge of 8b3ce5a3 to stage-aosp-masterAndrew Hsieh2012-11-121-24/+41
| |\ \ | | |/ | | | | | | Change-Id: I588a055812ddc8f4531c9d02994beb366f9aab3e
| | * Use prebuilt gcc for MacOSXAndrew Hsieh2012-11-121-23/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Use prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1 See https://android-review.googlesource.com/#/c/46223/ 2. Rewrite logic dealing with mac_sdk_version to support all MacOSX SDK 10.6, 10.7 and 10.8. Note that since ad2342375963c2468849c1f83a97158383db6511 emulator no longer depends on 10.6 to build. Since the lowest SDK among intersection of the "available" and the "supported" SDKs is picked, add a new variable MAC_SDK_VERSION for developer really want to overwrite it. MAC_SDK_VERSION still has to be one of the supported, though. 3. Improve mac_sdk_path detection to deal with case where Xcode *dmg is mounted only, not installed at /Applications. 4. Now we can retire BUILD_MAC_SDK_EXPERIMENTAL Change-Id: I83e463556a857d527710f766de0e19e1b576151f
* | | am d125adca: am ef9744f7: Merge "Remove manual WITH_JIT setting from build/."Elliott Hughes2012-11-072-10/+0
|\ \ \ | |/ / | | | | | | | | | * commit 'd125adca42283777f08abae3171623048fa94b8a': Remove manual WITH_JIT setting from build/.
| * | am ef9744f7: Merge "Remove manual WITH_JIT setting from build/."Elliott Hughes2012-11-072-10/+0
| |\ \ | | |/ | | | | | | | | | * commit 'ef9744f7ee4fd2315f41c58ba48906d9d79363dd': Remove manual WITH_JIT setting from build/.
| | * Remove manual WITH_JIT setting from build/.Elliott Hughes2012-11-062-10/+0
| | | | | | | | | | | | | | | | | | | | | This is now done automatically by dalvik/, since patch 272a54f8553e13b87bf819542ddc6701fc1232cc. Change-Id: I57709538f20188417c014630442e897401d7ace0
* | | am 267b07b2: am 7176e801: Merge "Add TARGET_GCC_VERSION"Andrew Hsieh2012-10-233-7/+7
|\ \ \ | |/ / | | | | | | | | | * commit '267b07b2aafede64d212402c3554fc2888821c98': Add TARGET_GCC_VERSION
| * | am 7176e801: Merge "Add TARGET_GCC_VERSION"Andrew Hsieh2012-10-233-7/+7
| |\ \ | | |/ | | | | | | | | | * commit '7176e8013bb2e563c3e3e56af4c04c50de3a7f37': Add TARGET_GCC_VERSION
| | * Add TARGET_GCC_VERSIONAndrew Hsieh2012-10-233-7/+7
| | | | | | | | | | | | | | | | | | | | | Default to 4.6, but can overwritten to something else in prebuilts/gcc/$os/$arch/$arch-linux-android*-$ver Change-Id: I16f99d642b8ff8e831d392261a0c536041107051
* | | am 7c56556d: am d883749e: Merge "x86: add --warn-shared-textrel"Nick Kralevich2012-10-221-0/+1
|\ \ \ | |/ / | | | | | | | | | * commit '7c56556d183c7103bdd58884071fdb134eb82956': x86: add --warn-shared-textrel
| * | am d883749e: Merge "x86: add --warn-shared-textrel"Nick Kralevich2012-10-221-0/+1
| |\ \ | | |/ | | | | | | | | | * commit 'd883749e600a34b5eb4db542d24946b25aa5c9fb': x86: add --warn-shared-textrel
| | * x86: add --warn-shared-textrelNick Kralevich2012-10-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Emit a warning when the static linker detects a shared library has text relocations. Text relocations make it harder to share pages across processes, and make it harder to use certain memory protection features in, for example, SELinux. This warning will turn into an error in a future change (via --fatal-warnings) Change-Id: I2d169c7ce3600d02e25591f3ec15aba363730298 References: http://www.akkadia.org/drepper/textrelocs.html
| * | am 91fd1231: Support to build executables against the NDKYing Wang2012-10-083-34/+34
| |\ \ | | | | | | | | | | | | | | | | * commit '91fd1231c3254bc9d0642e5a646b5657bdaedffa': Support to build executables against the NDK
| | * | Support to build executables against the NDKYing Wang2012-10-083-34/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use "LOCAL_SDK_VERSION := <number>" to build against the NDK when you include $(BUILD_EXECUTABLE). Bug: 7170098 Change-Id: I4cebeae3355e79a4d2f2f5549ef0613ced77e3f0
* | | | arm: turn on -Wl,--fatal-warningsNick Kralevich2012-10-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Third time's the charm. :-) In b238210c0172e771b1302364273016ad1fabafb8, we added -Wl,--warn-shared-textrel to TARGET_GLOBAL_LDFLAGS. This generated a warning whenever we created a shared library with a text relocation. At the time, we wrote: ===== Emit a warning when the static linker detects a shared library has text relocations. Text relocations make it harder to share pages across processes, and make it harder to use certain memory protection features in, for example, SELinux. This warning will turn into an error in a future change (via --fatal-warnings) ===== All code which uses text relocations has either been fixed, or we've temporarily worked around the issue so the code can still compile. Enable --fatal-warnings. This reverts commit 942167dab8345c420b205ce9b9b6b4fc779a7583. Change-Id: I578701692ead7e7cd60d73d2070a5bed366e2c6c
* | | | Revert "arm: turn on -Wl,--fatal-warnings"Nick Kralevich2012-10-181-1/+0
| | | | | | | | | | | | | | | | This reverts commit 3ab011bccd5ed416148bb6ab8ea06f23c89977e7.
* | | | arm: turn on -Wl,--fatal-warningsNick Kralevich2012-10-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In b238210c0172e771b1302364273016ad1fabafb8, we added -Wl,--warn-shared-textrel to TARGET_GLOBAL_LDFLAGS. This generated a warning whenever we created a shared library with a text relocation. At the time, we wrote: ===== Emit a warning when the static linker detects a shared library has text relocations. Text relocations make it harder to share pages across processes, and make it harder to use certain memory protection features in, for example, SELinux. This warning will turn into an error in a future change (via --fatal-warnings) ===== All code which uses text relocations has either been fixed, or we've temporarily worked around the issue so the code can still compile. Enable --fatal-warnings. This reverts commit 4dc781657b7aa2385cc6ffedc8f3841abdcfd5f6. Change-Id: I81b96477f1c11069637f28cfd8fb98d42b39be5e
* | | | Revert "arm: turn on -Wl,--fatal-warnings"Nick Kralevich2012-10-161-1/+0
| | | | | | | | | | | | | | | | This reverts commit edfee7250f072cb148da6de04eacb834366bef38.
* | | | arm: turn on -Wl,--fatal-warningsNick Kralevich2012-10-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In b238210c0172e771b1302364273016ad1fabafb8, we added -Wl,--warn-shared-textrel to TARGET_GLOBAL_LDFLAGS. This generated a warning whenever we created a shared library with a text relocation. At the time, we wrote: ===== Emit a warning when the static linker detects a shared library has text relocations. Text relocations make it harder to share pages across processes, and make it harder to use certain memory protection features in, for example, SELinux. This warning will turn into an error in a future change (via --fatal-warnings) ===== We've successfully removed all text relocations from Android's compiled code, so turn on -Wl,--fatal-warnings . Some pre-compiled shared libraries continue to have text relocations, but they will be unaffected by this change. Change-Id: I505ea23120048afc45f62593704fe1d6d26a352c
* | | | am 23025ecd: am f3b02739: am 7653519f: Merge "[MIPS] Makes a build system ↵Nick Kralevich2012-10-041-2/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | use PIE flag" * commit '23025ecdc0890e9262951627defda77e621fd9e8': [MIPS] Makes a build system use PIE flag
| * | | am f3b02739: am 7653519f: Merge "[MIPS] Makes a build system use PIE flag"Nick Kralevich2012-10-041-2/+2
| |\ \ \ | | |/ / | |/| / | | |/ | | | * commit 'f3b02739a7abba7c8f4884d49553f8a9f3fcfaf8': [MIPS] Makes a build system use PIE flag
| | * [MIPS] Makes a build system use PIE flagMiroslav Ignjatovic2012-09-271-2/+2
| | | | | | | | | | | | Change-Id: I07be4e8ae559dca615b0c59a71d7363adab4f49b
* | | am 318330dd: am 9acbbf12: am 76a6dc3a: Fix common typo in comments, warning ↵Ian Rogers2012-10-011-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | and error messages. * commit '318330dd920977733f20eeda338d3c36892373f6': Fix common typo in comments, warning and error messages.
| * | Fix common typo in comments, warning and error messages.Ian Rogers2012-10-011-1/+1
| | | | | | | | | | | | | | | | | | s/can not/cannot/g Change-Id: I1bac31157732666deb46f6f20389ff539977ffb9