| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| |/
| |
| |
| |
| |
| | |
__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.
|
| |\
| | |
| | |
| | | |
synci instruction only with -msynci option So, add -msynci to all mips32r2 makefiles. Also add msynci to the list flags not recognized by clang."
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
# Via Android Git Automerger (1) and others
* commit 'ea852f6ed3e9f251eaef4f041fbc0b09229ac924':
Remove more always-true ARCH_ARM_HAVE_ flags.
|
| | |
| | |
| | |
| | |
| | |
| | | |
All the remaining flags appear to be actually used.
Change-Id: I0e3d84915487eda4f0e97809fc36624fef5f1848
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
ARCH_ARM_HAVE_FFS."
# Via Android Git Automerger (1) and others
* commit 'd0fb693024b88a713fe95296db451a0e6c17ec66':
Nothing uses ARCH_ARM_HAVE_CLZ or ARCH_ARM_HAVE_FFS.
|
| |/
| |
| |
| |
| |
| | |
Because every ARM architecture we've ever supported has had both.
Change-Id: I607b56416e65073c5ac1b85fb17c092516e02573
|
| |
| |
| |
| |
| | |
Bug: 8181840
Change-Id: Ib2a90d33414758e95b1a3c60db62c4188944dfdd
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
AndroidConfig.h."
# Via Android Git Automerger (2) and others
* commit '5fb282d89d00504772753acf1af63c5b422d21e2':
Remove HAVE_DLADDR from AndroidConfig.h.
|
| |
| |
| |
| | |
Change-Id: I014ce98c61b12169e381b769af34b682df46087e
|
| |
| |
| |
| |
| |
| |
| | |
If TARGET_CPU_VARIANT=cortex-a15 is specified in the BoardConfig.mk file.
Bug: 7961327
Change-Id: Ic459df378293237c54263f5315ac3be62dad4273
|
|\ \
| |/
| |
| |
| | |
* commit 'dd319cef3f0e351f0b1621167b22eb39e86b27ad':
Switch to GCC 4.7 for X86 and MIPS
|
| |
| |
| |
| | |
Change-Id: I1c2021a15f53e064baf69084894c114289ef7c54
|
| |
| |
| |
| |
| |
| |
| | |
Otherwise the previously exported value will be sticky and the value
defined in the TARGET makefile is ignored.
Change-Id: I13b9cca2d288f7ab09104c57e7cad9f23de2548a
|
| |
| |
| |
| | |
Change-Id: Id3689376ae4c4fc183569955b2ee98df5c069510
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
CleanSpec.mk
Change-Id: Idd8f8f4a896b47bd6275daeb71a24a317da4c98a
|
| |/
| |
| |
| |
| |
| |
| | |
Otherwise the previously exported value will be sticky and the value
defined in the TARGET makefile is ignored.
Change-Id: Icdacb8c46034b8a24a9875b7596b31d00861512a
|
|\ \
| |/
| |
| |
| |
| |
| | |
specific make files."
* commit 'b3a68f6e002cdbc946d08a76656067d63542a98a':
Define TARGET_GCC_VERSION in target specific make files.
|
| |
| |
| |
| |
| |
| | |
So that GCC refresh can be performed in a target specific way.
Change-Id: I867e8b8fd671bef8c5af300e657a6da4fface032
|
|\ \
| |/
| |
| |
| | |
* commit '7cd204914ef59c4ce96210539489ec3e76942bb4':
x86: enable FORTIFY_SOURCE
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| |
| |
| | |
misleading var name."
* commit 'eb98e088937c4568f75d965dee1ef8d5c6689213':
Remove the obsolete comments and change the misleading var name.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
var name."
* commit '865d851a8012e13c35d573d98770b7187d32b7f7':
Remove the obsolete comments and change the misleading var name.
|
| | |
| | |
| | |
| | | |
Change-Id: Ib19099cbce0133f5c7df44fa0fd80215809a1ad8
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'abfb25226aabdbda7f8900e923754beb7f8cb94d':
Use prebuilt gcc for MacOSX
|
| |\ \
| | |/
| | |
| | | |
Change-Id: I588a055812ddc8f4531c9d02994beb366f9aab3e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'd125adca42283777f08abae3171623048fa94b8a':
Remove manual WITH_JIT setting from build/.
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit 'ef9744f7ee4fd2315f41c58ba48906d9d79363dd':
Remove manual WITH_JIT setting from build/.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is now done automatically by dalvik/, since
patch 272a54f8553e13b87bf819542ddc6701fc1232cc.
Change-Id: I57709538f20188417c014630442e897401d7ace0
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '267b07b2aafede64d212402c3554fc2888821c98':
Add TARGET_GCC_VERSION
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit '7176e8013bb2e563c3e3e56af4c04c50de3a7f37':
Add TARGET_GCC_VERSION
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Default to 4.6, but can overwritten to something else in
prebuilts/gcc/$os/$arch/$arch-linux-android*-$ver
Change-Id: I16f99d642b8ff8e831d392261a0c536041107051
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '7c56556d183c7103bdd58884071fdb134eb82956':
x86: add --warn-shared-textrel
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit 'd883749e600a34b5eb4db542d24946b25aa5c9fb':
x86: add --warn-shared-textrel
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
* commit '91fd1231c3254bc9d0642e5a646b5657bdaedffa':
Support to build executables against the NDK
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use "LOCAL_SDK_VERSION := <number>" to build against the NDK when you
include $(BUILD_EXECUTABLE).
Bug: 7170098
Change-Id: I4cebeae3355e79a4d2f2f5549ef0613ced77e3f0
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit 3ab011bccd5ed416148bb6ab8ea06f23c89977e7.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit edfee7250f072cb148da6de04eacb834366bef38.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
use PIE flag"
* commit '23025ecdc0890e9262951627defda77e621fd9e8':
[MIPS] Makes a build system use PIE flag
|
| |\ \ \
| | |/ /
| |/| /
| | |/
| | | |
* commit 'f3b02739a7abba7c8f4884d49553f8a9f3fcfaf8':
[MIPS] Makes a build system use PIE flag
|
| | |
| | |
| | |
| | | |
Change-Id: I07be4e8ae559dca615b0c59a71d7363adab4f49b
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
and error messages.
* commit '318330dd920977733f20eeda338d3c36892373f6':
Fix common typo in comments, warning and error messages.
|
| | |
| | |
| | |
| | |
| | |
| | | |
s/can not/cannot/g
Change-Id: I1bac31157732666deb46f6f20389ff539977ffb9
|