Dimitry Ivanov
387a9fee53
am 941d61de: am 1ff47c7f: Merge "Revert "Pack relocation tables for all dynamic executables""
...
* commit '941d61decc24cc28c781d0593b2a5d0589b4a7ad':
Revert "Pack relocation tables for all dynamic executables"
2015-04-23 04:44:50 +00:00
Dimitry Ivanov
1eca10fa9d
Revert "Pack relocation tables for all dynamic executables"
...
This reverts commit e7a1b8a0c6
.
Change-Id: I1a2185e1c68d364941e3b3e525a8c4a7a42e0cc1
2015-04-23 04:22:33 +00:00
Dmitriy Ivanov
b7b2762138
am 64119a7f: am ec6a9773: Merge "Pack relocation tables for all dynamic executables"
...
* commit '64119a7ff23960615c607306c9190c1def622d23':
Pack relocation tables for all dynamic executables
2015-04-23 02:44:47 +00:00
Dmitriy Ivanov
e7a1b8a0c6
Pack relocation tables for all dynamic executables
...
Bug: http://b/18051137
Change-Id: I277277d5f5eb450ef9b4a23cfec16d75d977eb89
2015-04-22 13:30:43 -07:00
dcashman
0ae8bf67af
am 780bdd6a: am ab59266d: Merge "Add lib dirs to cts distribution."
...
* commit '780bdd6a1363cfe2fb9425647e0458dd2aee43f4':
Add lib dirs to cts distribution.
2015-04-22 18:55:13 +00:00
dcashman
ab59266db0
Merge "Add lib dirs to cts distribution."
2015-04-22 17:02:32 +00:00
dcashman
17412c8305
Add lib dirs to cts distribution.
...
Add ability to include dirs to the cts distribtion to enable bundling of shared
libraries on which host-side executables rely.
Bug: 19566396
Change-Id: Id501874244ae98fbfef2aa591885c88dee5b8b02
2015-04-21 17:53:21 -07:00
Dmitriy Ivanov
6cb3732d82
am baca453a: am 5beb3387: Merge "Remove unsupported *_COMPRESS_MODULE_SYMBOLS"
...
* commit 'baca453a7d23fb2cf8a38d8aad3addbfce362afc':
Remove unsupported *_COMPRESS_MODULE_SYMBOLS
2015-04-20 20:43:18 +00:00
Dmitriy Ivanov
4eb120b999
Remove unsupported *_COMPRESS_MODULE_SYMBOLS
...
Change-Id: Ibb7da2997a0bb5b9f435213c9d3206bc4aad18db
2015-04-20 12:24:12 -07:00
Nick Kralevich
ebe3f7a598
am 700265ce: am 69b20474: Merge "Support LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES for prebuilt APKs"
...
* commit '700265cee29c442369bfa6ee3f90bd51b79177d9':
Support LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES for prebuilt APKs
2015-04-18 01:00:47 +00:00
Nick Kralevich
5aa0223c6a
Support LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES for prebuilt APKs
...
If a prebuilt APK contains shared libraries and the flag
LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES := true is set, then
uncompress any shared libraries stored within the APK.
This allows processes to load the shared library directly from
the APK.
Bug: 20247329
Bug: 8076853
Bug: 1162500
Change-Id: Iac4db32457d9ce31eb7256410023819b44fda0a6
2015-04-17 16:53:15 -07:00
Dan Albert
07607526b8
am 63082eab: am b6874440: Merge "Add support for a partial ubsan build."
...
* commit '63082eab1f1e18b06882fbbaf08ee64c3f68193a':
Add support for a partial ubsan build.
2015-04-17 19:53:03 +00:00
Dan Albert
b687444051
Merge "Add support for a partial ubsan build."
2015-04-17 19:33:02 +00:00
Dmitriy Ivanov
a6c44859c5
am bc671bc6: am e3aa1c1f: Merge "Remove LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS"
...
* commit 'bc671bc65ee8db4ba0bba33543d41d372f424f9d':
Remove LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS
2015-04-17 19:20:25 +00:00
Dan Albert
048b3eb017
am 7a1d29eb: am 1d8f780c: Merge "Fix misuse of my_sanitize_host."
...
* commit '7a1d29eb4bea37a4f043330cf722f720103129b8':
Fix misuse of my_sanitize_host.
2015-04-17 19:09:00 +00:00
Dan Albert
757417f943
am f1b7c073: am 6ed5bea4: Merge "Make use of sanitizers without clang an error."
...
* commit 'f1b7c073a4d1b3f47811b6b9e85c6589d293c373':
Make use of sanitizers without clang an error.
2015-04-17 19:08:59 +00:00
Dmitriy Ivanov
e3aa1c1f85
Merge "Remove LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS"
2015-04-17 18:50:13 +00:00
Dmitriy Ivanov
8f9487431c
Remove LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS
...
Use LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES instead.
Change-Id: Id30529fbc1652d066e0008813352848b5e404ab9
2015-04-17 11:39:04 -07:00
Dan Albert
b5b2ffe3be
Add support for a partial ubsan build.
...
Some of the ubsan checks expose a few pathological performance cases
in clang, and thus aren't suited to be used in SANITIZE_HOST.
This mode is also supported on the target despite not having the
target runtime libraries for ubsan by generating traps.
Change-Id: I0b0f0a08ca84d72e44e2174a66726b1c5e5cad7e
2015-04-17 11:37:03 -07:00
Dan Albert
4c92a68127
Fix misuse of my_sanitize_host.
...
Ying pointed out in https://android-review.googlesource.com/#/c/147290
that my_sanitize_host would be read as some garbage value for target
builds. Move the configuration later and don't use the local at all.
Change-Id: Id8a095821d000a184e72f950b9481597073a7044
2015-04-17 11:32:57 -07:00
Dan Albert
94b579166f
Make use of sanitizers without clang an error.
...
Previously using a sanitizer would imply clang. It should be an error
instead so it's more obvious.
Change-Id: I67c949bfda3718a0d19da7e358b5fde447fce334
2015-04-17 11:06:24 -07:00
Dan Albert
fad709772e
am cf6e1ff6: am 27176208: Merge "Clean up sanitizer configuration."
...
* commit 'cf6e1ff62a0abbea186d5a62f23d0b71671202ca':
Clean up sanitizer configuration.
2015-04-17 17:08:55 +00:00
Dan Albert
27ccb75af7
Clean up sanitizer configuration.
...
* Refactor a few pieces to avoid deeply nested conditionals.
* LOCAL_SANITIZE := never replaces LOCAL_ADDRESS_SANITIZER := false.
Change-Id: I68bb8c5edda6ecd40179c5ba9f18d06e96aaa260
2015-04-17 09:39:12 -07:00
Dan Albert
3bc25d6958
am 683a387e: am 4ed95088: Merge "Add support for ubsan."
...
* commit '683a387efb079fefd3d2895875868b7c2a5a4a06':
Add support for ubsan.
2015-04-15 22:32:08 +00:00
Dan Albert
4ed9508842
Merge "Add support for ubsan."
2015-04-15 22:06:15 +00:00
Kenny Root
eec386a4df
am 68dc5196: am 03c6e8c5: Merge "Move package signing after file stripping"
...
* commit '68dc5196226406db84a41a03fe70e6278ed35fcd':
Move package signing after file stripping
2015-04-15 20:12:21 +00:00
Kenny Root
dff3755a93
Move package signing after file stripping
...
For dex preopt and JNI library extraction, we should remove the
classes.dex and .so files before we sign the APK so that there
isn't an entry in the manifest.
Prebuilt APKs which are pre-signed will simply not have the files
removed. This may cause some system.img bloat, but signature checks make
this necessary.
Bug: 20247329
Change-Id: I4742d1aa3aa64ab5aea2264304cb8c0bea24f784
2015-04-15 12:40:22 -07:00
Mark Salyzyn
d6d6077c99
am 2f1bc255: am 8b75ec1c: Merge "disttools: add liblog, libcutils and libselinux shared libraries"
...
* commit '2f1bc255fc7f0f5a8f6fd96296a119120bc04726':
disttools: add liblog, libcutils and libselinux shared libraries
2015-04-15 15:05:55 +00:00
Mark Salyzyn
8b75ec1c7b
Merge "disttools: add liblog, libcutils and libselinux shared libraries"
2015-04-15 14:45:05 +00:00
Dan Albert
1fa6d5b0a3
am 612581e8: am ad1961a7: Merge "Don\'t use libunwindbacktrace for non-ARM."
...
* commit '612581e8ca8bda8c7f74e84fbb9b7859ca3b9840':
Don't use libunwindbacktrace for non-ARM.
2015-04-14 23:34:03 +00:00
Dan Albert
ad1961a747
Merge "Don't use libunwindbacktrace for non-ARM."
2015-04-14 23:17:41 +00:00
Dan Albert
803cf69926
am 5e7e6d75: am 2d215e38: Merge "Use libcompiler_rt-extras on the host too."
...
* commit '5e7e6d7585ff94198a5ddd891faba274cf2416d6':
Use libcompiler_rt-extras on the host too.
2015-04-14 22:48:57 +00:00
Mark Salyzyn
c506e74dc8
disttools: add liblog, libcutils and libselinux shared libraries
...
Bug: 19908228
Change-Id: I48450a9fb917408cb3bc0e41d70c0593acd2b884
2015-04-14 15:17:16 -07:00
Dan Albert
2d215e38c0
Merge "Use libcompiler_rt-extras on the host too."
2015-04-14 22:04:56 +00:00
Dan Albert
3e99e66213
Don't use libunwindbacktrace for non-ARM.
...
After fixing the link order here, it seems libunwindbacktrace no
longer works for exception unwinding, but libgcc now does.
Change-Id: Ice79af4b8f234ed6a053ee818b6dec3aa9706c8a
2015-04-14 14:42:45 -07:00
Andrew Hsieh
263e22d424
am 051f18f0: am f37e96e2: Merge "Revert "Enable linker -fix-cortex-a53-843419""
...
* commit '051f18f0dce3d0e6278d5bd9b2aad03974549fb5':
Revert "Enable linker -fix-cortex-a53-843419"
2015-04-14 00:08:51 +00:00
Andrew Hsieh
f37e96e232
Merge "Revert "Enable linker -fix-cortex-a53-843419""
2015-04-13 23:48:28 +00:00
Andrew Hsieh
32e1689684
Revert "Enable linker -fix-cortex-a53-843419"
...
This reverts commit 54b22a5a70
.
Change-Id: I23613490030783fb6da678de5a25f37caebe5f97
2015-04-13 23:39:45 +00:00
David Srbecky
ace60518c3
am 6bb41928: am c8400a3e: Merge "Add --include-cfi compiler option."
...
* commit '6bb41928e4fe2673a036a4bfa1625c5598cf14f1':
Add --include-cfi compiler option.
2015-04-13 20:51:53 +00:00
David Srbecky
c8400a3e2f
Merge "Add --include-cfi compiler option."
2015-04-13 20:34:50 +00:00
David Srbecky
299d3f4960
Add --include-cfi compiler option.
...
Decouple generation of CFI from the rest of debug symbols.
This makes it possible to generate oat with CFI but without
the rest of debug symbols.
This is in line with intention of the .eh_frame section.
The section does not have the .debug_ prefix because it
is considered somewhat different to the rest of debug symbols.
Change-Id: I32816ecd4f30ac4e0dc69d69a4993e349c737f96
2015-04-13 19:50:51 +01:00
Andrew Hsieh
00b0f345b6
am 45c4c5af: am 7bd978c2: Merge "Enable linker -fix-cortex-a53-843419"
...
* commit '45c4c5af9e226231167d374b27e30c6bf0e073ea':
Enable linker -fix-cortex-a53-843419
2015-04-13 03:16:51 +00:00
Andrew Hsieh
7bd978c2b3
Merge "Enable linker -fix-cortex-a53-843419"
2015-04-13 03:06:50 +00:00
Pirama Arumuga Nainar
1a2fd2eb1a
am 05130993: am dbecad05: Merge "Use -Wno-format-pedantic to disable overly aggressive format string warning."
...
* commit '05130993f4f5f76773022eee6f0f198816e63e91':
Use -Wno-format-pedantic to disable overly aggressive format string warning.
2015-04-10 21:38:40 +00:00
Pirama Arumuga Nainar
dbecad05a9
Merge "Use -Wno-format-pedantic to disable overly aggressive format string warning."
2015-04-10 21:23:12 +00:00
Stephen Hines
55acb92d82
am d263924f: am 69bd465b: Merge "Don\'t use -Wl,--fix-cortex-a8 for Cortex A7, A9, A15, Krait or Denver"
...
* commit 'd263924fe4d1203e97787e123ddd951879945bdd':
Don't use -Wl,--fix-cortex-a8 for Cortex A7, A9, A15, Krait or Denver
2015-04-10 16:35:53 +00:00
Stephen Hines
69bd465b6e
Merge "Don't use -Wl,--fix-cortex-a8 for Cortex A7, A9, A15, Krait or Denver"
2015-04-10 16:17:52 +00:00
Stephen Hines
b992bfcf33
Use -Wno-format-pedantic to disable overly aggressive format string warning.
...
Bug: 20148343
The latest clang warns on "%p" being used with non-void pointer types, which
would require a great deal of cleanup in several sub-projects.
Change-Id: I4175d5cf8709504455067c906a2eb8ccc8e25432
2015-04-10 09:12:38 -07:00
Dan Albert
30a9c351d6
Use libcompiler_rt-extras on the host too.
...
Clang will sometimes generate this call (dex2oat with ubsan is one
known case), and it doesn't exist in libgcc.
Change-Id: I2eb68e2a326eb0407dca03b5870077eeebca1c0a
2015-04-09 16:38:55 -07:00
Colin Cross
9c3d43886e
am c0a70d88: am 7c2bfaf3: Merge "Change the default multilib for host libraries to "both""
...
* commit 'c0a70d889f9c197cf927f697ee81a73910d62cfa':
Change the default multilib for host libraries to "both"
2015-04-09 21:00:49 +00:00