Dmitriy Ivanov
f41ab7fa68
am 2c256a0f: Merge "Unregister pthread_atfork handlers on dlclose()"
...
* commit '2c256a0f0927abd94f2210b37c18ead210d30477':
Unregister pthread_atfork handlers on dlclose()
2015-04-25 05:52:51 +00:00
Dmitriy Ivanov
2c256a0f09
Merge "Unregister pthread_atfork handlers on dlclose()"
2015-04-25 05:36:07 +00:00
Dmitriy Ivanov
504e76055c
am 440242f0: Merge "Use bfd linker for x86/x86_64 targets"
...
* commit '440242f03805872a0c62528d763e5e98dad9b580':
Use bfd linker for x86/x86_64 targets
2015-04-25 04:27:52 +00:00
Dmitriy Ivanov
440242f038
Merge "Use bfd linker for x86/x86_64 targets"
2015-04-25 04:09:43 +00:00
Dmitriy Ivanov
e91e66f223
Use bfd linker for x86/x86_64 targets
...
ld.gold in current toolchain for x86_64
does not support -z global.
Change-Id: Iea2b192f0f0aa998a02adb356fd4eec4e10a1739
2015-04-24 21:05:49 -07:00
Dmitriy Ivanov
1f4c9067af
am ebfb55e4: Merge "Enable dlsym_df_1_global test for arm/arm64"
...
* commit 'ebfb55e4cdf03473d66eaf5928fb3c3a8b0c2f85':
Enable dlsym_df_1_global test for arm/arm64
2015-04-25 01:10:54 +00:00
Dmitriy Ivanov
ea295f68f1
Unregister pthread_atfork handlers on dlclose()
...
Bug: http://b/20339788
Change-Id: I874c87faa377645fa9e0752f4fc166d81fd9ef7e
2015-04-24 17:57:37 -07:00
Dmitriy Ivanov
ebfb55e4cd
Merge "Enable dlsym_df_1_global test for arm/arm64"
2015-04-25 00:50:05 +00:00
Dmitriy Ivanov
6612d7a347
Enable dlsym_df_1_global test for arm/arm64
...
Change-Id: I1fdebced93175cb14053e2239e79f97239fc2dc2
2015-04-24 16:26:03 -07:00
Dmitriy Ivanov
71abd9cc2f
am 2bb93482: Merge "Exit normally when relocations are already packed."
...
* commit '2bb93482a7793640205ade2f7316db5b3f5cac19':
Exit normally when relocations are already packed.
2015-04-24 20:05:05 +00:00
Dmitriy Ivanov
2bb93482a7
Merge "Exit normally when relocations are already packed."
2015-04-24 19:42:39 +00:00
Dmitriy Ivanov
b0b9338ff8
Exit normally when relocations are already packed.
...
Bug: http://b/18051137
Change-Id: Idfffac5fe965e3cdeabe6d3b2dcd8c275c6ae5df
2015-04-24 12:39:14 -07:00
Dimitry Ivanov
e5d3ad4abe
am 6c63ee41: Merge "Revert "Unregister pthread_atfork handlers on dlclose()""
...
* commit '6c63ee41ac5a246fb46c51753cd4d50ccae0dd8f':
Revert "Unregister pthread_atfork handlers on dlclose()"
2015-04-24 04:07:13 +00:00
Dimitry Ivanov
6c63ee41ac
Merge "Revert "Unregister pthread_atfork handlers on dlclose()""
2015-04-24 03:49:30 +00:00
Dimitry Ivanov
094f58fb2a
Revert "Unregister pthread_atfork handlers on dlclose()"
...
The visibility control in pthread_atfork.h is incorrect.
It breaks 64bit libc.so by hiding pthread_atfork.
This reverts commit 6df122f8528f9b9fcf7dfea14ae98b0ef66274e1.
Change-Id: I21e4b344d500c6f6de0ccb7420b916c4e233dd34
2015-04-24 03:46:57 +00:00
Dmitriy Ivanov
83ebe0c37b
am 41ebceaf: Merge "Exit normally when packing relocs saves no space."
...
* commit '41ebceaf3ad392b4a3f40d96d5750d95ef206546':
Exit normally when packing relocs saves no space.
2015-04-23 23:13:57 +00:00
Dmitriy Ivanov
41ebceaf3a
Merge "Exit normally when packing relocs saves no space."
2015-04-23 22:55:34 +00:00
Dmitriy Ivanov
adfcb97317
Exit normally when packing relocs saves no space.
...
Bug: http://b/18051137
Change-Id: I43ea5678a677e5d39fb54fafcf3a2f3a252c79b0
2015-04-23 22:54:25 +00:00
Dmitriy Ivanov
24ffcb3ec6
am e3ecedd3: Merge "Remove jemalloc.a from libc_nomalloc.a"
...
* commit 'e3ecedd306ec16ecb31c6b7d6f9fdcb65c03b70f':
Remove jemalloc.a from libc_nomalloc.a
2015-04-23 22:12:41 +00:00
Dmitriy Ivanov
e3ecedd306
Merge "Remove jemalloc.a from libc_nomalloc.a"
2015-04-23 21:50:15 +00:00
Elliott Hughes
347b83ff9c
am 3da9373f: Merge "Simplify close(2) EINTR handling."
...
* commit '3da9373fe0ada19d13c6c3f9831dee93ec0ba7a6':
Simplify close(2) EINTR handling.
2015-04-23 21:33:07 +00:00
Elliott Hughes
3da9373fe0
Merge "Simplify close(2) EINTR handling."
2015-04-23 21:14:25 +00:00
Dmitriy Ivanov
7280e507b6
Remove jemalloc.a from libc_nomalloc.a
...
Change-Id: I86edc1a6cf3a26c46e6daef2c859459c1b0f29af
2015-04-23 12:24:43 -07:00
Elliott Hughes
3391a9ff13
Simplify close(2) EINTR handling.
...
This doesn't affect code like Chrome that correctly ignores EINTR on
close, makes code that tries TEMP_FAILURE_RETRY work (where before it might
have closed a different fd and appeared to succeed, or had a bogus EBADF),
and makes "goto fail" code work (instead of mistakenly assuming that EINTR
means that the close failed).
Who loses? Anyone actively trying to detect that they caught a signal while
in close(2). I don't think those people exist, and I think they have better
alternatives available.
Bug: https://code.google.com/p/chromium/issues/detail?id=269623
Bug: http://b/20501816
Change-Id: I11e2f66532fe5d1b0082b2433212e24bdda8219b
2015-04-23 08:41:45 -07:00
Dmitriy Ivanov
4d9c009fae
am dc405b52: Merge "Unregister pthread_atfork handlers on dlclose()"
...
* commit 'dc405b5230c3d72107b57798a2c23b1a46069f4d':
Unregister pthread_atfork handlers on dlclose()
2015-04-23 09:56:57 +00:00
Dmitriy Ivanov
dc405b5230
Merge "Unregister pthread_atfork handlers on dlclose()"
2015-04-23 08:05:25 +00:00
Dmitriy Ivanov
6df122f852
Unregister pthread_atfork handlers on dlclose()
...
Change-Id: I326fdf6bb06bed12743f08980b5c69d849c015b8
2015-04-22 19:19:37 -07:00
Dmitriy Ivanov
8f01955d1e
am ff181089: Merge "Always use signed leb128 decoder"
...
* commit 'ff18108981aa1fa73696d6db1919cdc38788bd4e':
Always use signed leb128 decoder
2015-04-22 22:38:01 +00:00
Dmitriy Ivanov
ff18108981
Merge "Always use signed leb128 decoder"
2015-04-22 22:16:31 +00:00
Dmitriy Ivanov
18870d350c
Always use signed leb128 decoder
...
Relocation packer no longer encodes relocation tables
using unsigned leb128: https://android-review.googlesource.com/147745
Bug: http://b/18051137
Change-Id: I620b7188e5f3dd9d5123431aa1fc7feca76be607
2015-04-22 13:29:42 -07:00
Dmitriy Ivanov
511e09c528
am 9ceec1a7: Merge "Always use signed leb128 encoding"
...
* commit '9ceec1a75dfcc8b032aa3a974b0cfc3bff5a306e':
Always use signed leb128 encoding
2015-04-22 20:23:01 +00:00
Dmitriy Ivanov
9ceec1a75d
Merge "Always use signed leb128 encoding"
2015-04-22 20:02:04 +00:00
Dmitriy Ivanov
f15ceeb784
Always use signed leb128 encoding
...
According to runs on /system/lib there using
unsigned leb128 does not save us any additional
space. In order to keep packing as simple as
possible switch to using signed leb128 for
everything.
Bug: http://b/18051137
Change-Id: I1a47cb9eb2175895b3c3f7c13b4c6b1060de86c0
2015-04-22 12:58:38 -07:00
Tao Bao
423a0e9123
am 457c34ad: Merge "Update the search path for libclang.so"
...
* commit '457c34ad84093ec45ebe2e2f1ef635e3dcaddbe0':
Update the search path for libclang.so
2015-04-22 18:55:11 +00:00
Dmitriy Ivanov
9f49c34eec
am 913fe559: Merge "Statically link libc++ for prebuilts"
...
* commit '913fe559f69395aaf160653c1d3994df3272810b':
Statically link libc++ for prebuilts
2015-04-22 18:46:43 +00:00
Tao Bao
457c34ad84
Merge "Update the search path for libclang.so"
2015-04-22 18:25:45 +00:00
Dmitriy Ivanov
913fe559f6
Merge "Statically link libc++ for prebuilts"
2015-04-22 18:15:27 +00:00
Tao Bao
7592008030
Update the search path for libclang.so
...
Prebuilt shared libraries (libclang.so, libLLVM.so and etc) have been
moved to prebuilts/sdk/tools/linux/lib64. Update the search path in
cpp.py to match the change.
Bug: 20485471
Change-Id: Ib7784db4d5529d16a1e2bfc07cb0237929bc5a64
2015-04-22 10:47:01 -07:00
Dmitriy Ivanov
2a6342187a
Statically link libc++ for prebuilts
...
Statically link libc++ to relocation_packer in
order to make it work from prebuilts
Bug: http://b/18051137
Change-Id: I933ed6a0e48780a26b261069eb6a293432824fe7
2015-04-22 10:43:12 -07:00
Chih-Hung Hsieh
7f5d7b2b76
am a00a9f0b: Merge "Allow building libc long double code with clang/llvm."
...
* commit 'a00a9f0b7ed39589a768798de6a584a4baae030b':
Allow building libc long double code with clang/llvm.
2015-04-22 00:05:31 +00:00
Chih-Hung Hsieh
a00a9f0b7e
Merge "Allow building libc long double code with clang/llvm."
2015-04-21 23:44:59 +00:00
Dmitriy Ivanov
2cfdac5cb2
am da3c4f2f: Merge "Adjust DT_VERSYM/VERNEED/VERDEF dynamic sections"
...
* commit 'da3c4f2f0d86b7e249c9b9b6cdf3bc0225b7178e':
Adjust DT_VERSYM/VERNEED/VERDEF dynamic sections
2015-04-21 23:08:41 +00:00
Chih-Hung Hsieh
6fb8e96e5f
Allow building libc long double code with clang/llvm.
...
This requires fix of clang's Android x86 long double size and format.
That bug has been fixed in https://android-review.git.corp.google.com/#/c/146254/
Change-Id: I182c6c493085212f88c694356659f72227c8b8c7
2015-04-21 21:20:37 +00:00
Dmitriy Ivanov
da3c4f2f0d
Merge "Adjust DT_VERSYM/VERNEED/VERDEF dynamic sections"
2015-04-21 19:29:19 +00:00
Dmitriy Ivanov
bb25bbe19e
Adjust DT_VERSYM/VERNEED/VERDEF dynamic sections
...
This is recent addition to bionic linker. The symbol
versioning was not supported before therefore this bug
went unnoticed.
Also normal exit when there is not enought relocations
to pack. This is to enable integration of relocation_packer
to android build system.
Bug: http://b/20139821
Bug: http://b/18051137
Change-Id: Iaf36ae11c8e4b15cf785b6dd1712a3bdcf47cc45
2015-04-21 12:28:21 -07:00
Dmitriy Ivanov
ec44b45aa7
am 0776f0f6: Merge "Add library name to error message"
...
* commit '0776f0f6e2fc926ae90f460ceac2b0e025292363':
Add library name to error message
2015-04-21 01:17:34 +00:00
Dmitriy Ivanov
0776f0f6e2
Merge "Add library name to error message"
2015-04-21 00:51:36 +00:00
Dmitriy Ivanov
3d7bea1fa0
Add library name to error message
...
Change-Id: I079e6f1dd95fe9cae2135fcd7358c51f8b584ac9
2015-04-20 17:40:39 -07:00
Yabin Cui
8b44eab5b8
am c5bd96ef: Merge "Fix bug in app_id_from_name in stubs.cpp."
...
* commit 'c5bd96efd27f756d07f1a306e4120cede17b39f5':
Fix bug in app_id_from_name in stubs.cpp.
2015-04-18 23:15:50 +00:00
Yabin Cui
c5bd96efd2
Merge "Fix bug in app_id_from_name in stubs.cpp."
2015-04-18 22:54:35 +00:00