OSDN Git Service

android-x86/bionic.git
9 years agoam ebfb55e4: Merge "Enable dlsym_df_1_global test for arm/arm64"
Dmitriy Ivanov [Sat, 25 Apr 2015 01:10:54 +0000 (01:10 +0000)]
am ebfb55e4: Merge "Enable dlsym_df_1_global test for arm/arm64"

* commit 'ebfb55e4cdf03473d66eaf5928fb3c3a8b0c2f85':
  Enable dlsym_df_1_global test for arm/arm64

9 years agoMerge "Enable dlsym_df_1_global test for arm/arm64"
Dmitriy Ivanov [Sat, 25 Apr 2015 00:50:04 +0000 (00:50 +0000)]
Merge "Enable dlsym_df_1_global test for arm/arm64"

9 years agoEnable dlsym_df_1_global test for arm/arm64
Dmitriy Ivanov [Fri, 24 Apr 2015 23:26:03 +0000 (16:26 -0700)]
Enable dlsym_df_1_global test for arm/arm64

Change-Id: I1fdebced93175cb14053e2239e79f97239fc2dc2

9 years agoam 2bb93482: Merge "Exit normally when relocations are already packed."
Dmitriy Ivanov [Fri, 24 Apr 2015 20:05:05 +0000 (20:05 +0000)]
am 2bb93482: Merge "Exit normally when relocations are already packed."

* commit '2bb93482a7793640205ade2f7316db5b3f5cac19':
  Exit normally when relocations are already packed.

9 years agoMerge "Exit normally when relocations are already packed."
Dmitriy Ivanov [Fri, 24 Apr 2015 19:42:39 +0000 (19:42 +0000)]
Merge "Exit normally when relocations are already packed."

9 years agoExit normally when relocations are already packed.
Dmitriy Ivanov [Fri, 24 Apr 2015 19:39:14 +0000 (12:39 -0700)]
Exit normally when relocations are already packed.

Bug: http://b/18051137
Change-Id: Idfffac5fe965e3cdeabe6d3b2dcd8c275c6ae5df

9 years agoam 6c63ee41: Merge "Revert "Unregister pthread_atfork handlers on dlclose()""
Dimitry Ivanov [Fri, 24 Apr 2015 04:07:13 +0000 (04:07 +0000)]
am 6c63ee41: Merge "Revert "Unregister pthread_atfork handlers on dlclose()""

* commit '6c63ee41ac5a246fb46c51753cd4d50ccae0dd8f':
  Revert "Unregister pthread_atfork handlers on dlclose()"

9 years agoMerge "Revert "Unregister pthread_atfork handlers on dlclose()""
Dimitry Ivanov [Fri, 24 Apr 2015 03:49:30 +0000 (03:49 +0000)]
Merge "Revert "Unregister pthread_atfork handlers on dlclose()""

9 years agoRevert "Unregister pthread_atfork handlers on dlclose()"
Dimitry Ivanov [Fri, 24 Apr 2015 03:45:59 +0000 (03:45 +0000)]
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

9 years agoam 41ebceaf: Merge "Exit normally when packing relocs saves no space."
Dmitriy Ivanov [Thu, 23 Apr 2015 23:13:57 +0000 (23:13 +0000)]
am 41ebceaf: Merge "Exit normally when packing relocs saves no space."

* commit '41ebceaf3ad392b4a3f40d96d5750d95ef206546':
  Exit normally when packing relocs saves no space.

9 years agoMerge "Exit normally when packing relocs saves no space."
Dmitriy Ivanov [Thu, 23 Apr 2015 22:55:32 +0000 (22:55 +0000)]
Merge "Exit normally when packing relocs saves no space."

9 years agoExit normally when packing relocs saves no space.
Dmitriy Ivanov [Thu, 23 Apr 2015 20:47:39 +0000 (13:47 -0700)]
Exit normally when packing relocs saves no space.

Bug: http://b/18051137
Change-Id: I43ea5678a677e5d39fb54fafcf3a2f3a252c79b0

9 years agoam e3ecedd3: Merge "Remove jemalloc.a from libc_nomalloc.a"
Dmitriy Ivanov [Thu, 23 Apr 2015 22:12:41 +0000 (22:12 +0000)]
am e3ecedd3: Merge "Remove jemalloc.a from libc_nomalloc.a"

* commit 'e3ecedd306ec16ecb31c6b7d6f9fdcb65c03b70f':
  Remove jemalloc.a from libc_nomalloc.a

9 years agoMerge "Remove jemalloc.a from libc_nomalloc.a"
Dmitriy Ivanov [Thu, 23 Apr 2015 21:50:14 +0000 (21:50 +0000)]
Merge "Remove jemalloc.a from libc_nomalloc.a"

9 years agoam 3da9373f: Merge "Simplify close(2) EINTR handling."
Elliott Hughes [Thu, 23 Apr 2015 21:33:07 +0000 (21:33 +0000)]
am 3da9373f: Merge "Simplify close(2) EINTR handling."

* commit '3da9373fe0ada19d13c6c3f9831dee93ec0ba7a6':
  Simplify close(2) EINTR handling.

9 years agoMerge "Simplify close(2) EINTR handling."
Elliott Hughes [Thu, 23 Apr 2015 21:14:24 +0000 (21:14 +0000)]
Merge "Simplify close(2) EINTR handling."

9 years agoRemove jemalloc.a from libc_nomalloc.a
Dmitriy Ivanov [Thu, 23 Apr 2015 19:24:43 +0000 (12:24 -0700)]
Remove jemalloc.a from libc_nomalloc.a

Change-Id: I86edc1a6cf3a26c46e6daef2c859459c1b0f29af

9 years agoSimplify close(2) EINTR handling.
Elliott Hughes [Thu, 23 Apr 2015 04:40:38 +0000 (21:40 -0700)]
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

9 years agoam dc405b52: Merge "Unregister pthread_atfork handlers on dlclose()"
Dmitriy Ivanov [Thu, 23 Apr 2015 09:56:57 +0000 (09:56 +0000)]
am dc405b52: Merge "Unregister pthread_atfork handlers on dlclose()"

* commit 'dc405b5230c3d72107b57798a2c23b1a46069f4d':
  Unregister pthread_atfork handlers on dlclose()

9 years agoMerge "Unregister pthread_atfork handlers on dlclose()"
Dmitriy Ivanov [Thu, 23 Apr 2015 08:05:25 +0000 (08:05 +0000)]
Merge "Unregister pthread_atfork handlers on dlclose()"

9 years agoUnregister pthread_atfork handlers on dlclose()
Dmitriy Ivanov [Fri, 21 Nov 2014 04:47:02 +0000 (20:47 -0800)]
Unregister pthread_atfork handlers on dlclose()

Change-Id: I326fdf6bb06bed12743f08980b5c69d849c015b8

9 years agoam ff181089: Merge "Always use signed leb128 decoder"
Dmitriy Ivanov [Wed, 22 Apr 2015 22:38:01 +0000 (22:38 +0000)]
am ff181089: Merge "Always use signed leb128 decoder"

* commit 'ff18108981aa1fa73696d6db1919cdc38788bd4e':
  Always use signed leb128 decoder

9 years agoMerge "Always use signed leb128 decoder"
Dmitriy Ivanov [Wed, 22 Apr 2015 22:15:47 +0000 (22:15 +0000)]
Merge "Always use signed leb128 decoder"

9 years agoAlways use signed leb128 decoder
Dmitriy Ivanov [Wed, 22 Apr 2015 20:10:04 +0000 (13:10 -0700)]
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

9 years agoam 9ceec1a7: Merge "Always use signed leb128 encoding"
Dmitriy Ivanov [Wed, 22 Apr 2015 20:23:01 +0000 (20:23 +0000)]
am 9ceec1a7: Merge "Always use signed leb128 encoding"

* commit '9ceec1a75dfcc8b032aa3a974b0cfc3bff5a306e':
  Always use signed leb128 encoding

9 years agoMerge "Always use signed leb128 encoding"
Dmitriy Ivanov [Wed, 22 Apr 2015 20:02:03 +0000 (20:02 +0000)]
Merge "Always use signed leb128 encoding"

9 years agoAlways use signed leb128 encoding
Dmitriy Ivanov [Tue, 21 Apr 2015 22:03:04 +0000 (15:03 -0700)]
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

9 years agoam 457c34ad: Merge "Update the search path for libclang.so"
Tao Bao [Wed, 22 Apr 2015 18:55:11 +0000 (18:55 +0000)]
am 457c34ad: Merge "Update the search path for libclang.so"

* commit '457c34ad84093ec45ebe2e2f1ef635e3dcaddbe0':
  Update the search path for libclang.so

9 years agoam 913fe559: Merge "Statically link libc++ for prebuilts"
Dmitriy Ivanov [Wed, 22 Apr 2015 18:46:43 +0000 (18:46 +0000)]
am 913fe559: Merge "Statically link libc++ for prebuilts"

* commit '913fe559f69395aaf160653c1d3994df3272810b':
  Statically link libc++ for prebuilts

9 years agoMerge "Update the search path for libclang.so"
Tao Bao [Wed, 22 Apr 2015 18:25:45 +0000 (18:25 +0000)]
Merge "Update the search path for libclang.so"

9 years agoMerge "Statically link libc++ for prebuilts"
Dmitriy Ivanov [Wed, 22 Apr 2015 18:15:25 +0000 (18:15 +0000)]
Merge "Statically link libc++ for prebuilts"

9 years agoUpdate the search path for libclang.so
Tao Bao [Wed, 22 Apr 2015 17:37:38 +0000 (10:37 -0700)]
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

9 years agoStatically link libc++ for prebuilts
Dmitriy Ivanov [Wed, 22 Apr 2015 17:43:12 +0000 (10:43 -0700)]
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

9 years agoam a00a9f0b: Merge "Allow building libc long double code with clang/llvm."
Chih-Hung Hsieh [Wed, 22 Apr 2015 00:05:31 +0000 (00:05 +0000)]
am a00a9f0b: Merge "Allow building libc long double code with clang/llvm."

* commit 'a00a9f0b7ed39589a768798de6a584a4baae030b':
  Allow building libc long double code with clang/llvm.

9 years agoMerge "Allow building libc long double code with clang/llvm."
Chih-Hung Hsieh [Tue, 21 Apr 2015 23:44:58 +0000 (23:44 +0000)]
Merge "Allow building libc long double code with clang/llvm."

9 years agoam da3c4f2f: Merge "Adjust DT_VERSYM/VERNEED/VERDEF dynamic sections"
Dmitriy Ivanov [Tue, 21 Apr 2015 23:08:41 +0000 (23:08 +0000)]
am da3c4f2f: Merge "Adjust DT_VERSYM/VERNEED/VERDEF dynamic sections"

* commit 'da3c4f2f0d86b7e249c9b9b6cdf3bc0225b7178e':
  Adjust DT_VERSYM/VERNEED/VERDEF dynamic sections

9 years agoAllow building libc long double code with clang/llvm.
Chih-Hung Hsieh [Mon, 16 Mar 2015 20:49:40 +0000 (13:49 -0700)]
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

9 years agoMerge "Adjust DT_VERSYM/VERNEED/VERDEF dynamic sections"
Dmitriy Ivanov [Tue, 21 Apr 2015 19:29:18 +0000 (19:29 +0000)]
Merge "Adjust DT_VERSYM/VERNEED/VERDEF dynamic sections"

9 years agoAdjust DT_VERSYM/VERNEED/VERDEF dynamic sections
Dmitriy Ivanov [Tue, 21 Apr 2015 00:41:28 +0000 (17:41 -0700)]
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

9 years agoam 0776f0f6: Merge "Add library name to error message"
Dmitriy Ivanov [Tue, 21 Apr 2015 01:17:34 +0000 (01:17 +0000)]
am 0776f0f6: Merge "Add library name to error message"

* commit '0776f0f6e2fc926ae90f460ceac2b0e025292363':
  Add library name to error message

9 years agoMerge "Add library name to error message"
Dmitriy Ivanov [Tue, 21 Apr 2015 00:51:36 +0000 (00:51 +0000)]
Merge "Add library name to error message"

9 years agoAdd library name to error message
Dmitriy Ivanov [Tue, 21 Apr 2015 00:40:39 +0000 (17:40 -0700)]
Add library name to error message

Change-Id: I079e6f1dd95fe9cae2135fcd7358c51f8b584ac9

9 years agoam c5bd96ef: Merge "Fix bug in app_id_from_name in stubs.cpp."
Yabin Cui [Sat, 18 Apr 2015 23:15:50 +0000 (23:15 +0000)]
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.

9 years agoMerge "Fix bug in app_id_from_name in stubs.cpp."
Yabin Cui [Sat, 18 Apr 2015 22:54:35 +0000 (22:54 +0000)]
Merge "Fix bug in app_id_from_name in stubs.cpp."

9 years agoFix bug in app_id_from_name in stubs.cpp.
Yabin Cui [Sat, 18 Apr 2015 21:07:41 +0000 (14:07 -0700)]
Fix bug in app_id_from_name in stubs.cpp.

It seems that a break statement is missing.

Bug: 19872411
Change-Id: I9362783ab726d01f6eb27418563e716dd95688dc

9 years agoam af7538b4: Merge "add fortified readlink/readlinkat implementations"
Nick Kralevich [Sat, 18 Apr 2015 15:51:28 +0000 (15:51 +0000)]
am af7538b4: Merge "add fortified readlink/readlinkat implementations"

* commit 'af7538b49625f1c1c82e984610f26729a18d56bf':
  add fortified readlink/readlinkat implementations

9 years agoMerge "add fortified readlink/readlinkat implementations"
Nick Kralevich [Sat, 18 Apr 2015 15:30:18 +0000 (15:30 +0000)]
Merge "add fortified readlink/readlinkat implementations"

9 years agoam 7a8c7c48: Merge "Also send bionicbb logs to a file."
Dan Albert [Sat, 18 Apr 2015 01:10:22 +0000 (01:10 +0000)]
am 7a8c7c48: Merge "Also send bionicbb logs to a file."

* commit '7a8c7c48db11b81bc53c63ddfbaeca12e7f5e8cb':
  Also send bionicbb logs to a file.

9 years agoam cb6ae56b: Merge "Merge the two bionicbb services into one."
Dan Albert [Sat, 18 Apr 2015 01:10:21 +0000 (01:10 +0000)]
am cb6ae56b: Merge "Merge the two bionicbb services into one."

* commit 'cb6ae56b3e4ee50e99e9f3335d2676a21000d400':
  Merge the two bionicbb services into one.

9 years agoMerge "Also send bionicbb logs to a file."
Dan Albert [Sat, 18 Apr 2015 00:58:23 +0000 (00:58 +0000)]
Merge "Also send bionicbb logs to a file."

9 years agoAlso send bionicbb logs to a file.
Dan Albert [Sat, 18 Apr 2015 00:51:39 +0000 (17:51 -0700)]
Also send bionicbb logs to a file.

Change-Id: If9a6fdbe004e3b4bb7d868b7255f83c232759f80

9 years agoMerge "Merge the two bionicbb services into one."
Dan Albert [Sat, 18 Apr 2015 00:55:31 +0000 (00:55 +0000)]
Merge "Merge the two bionicbb services into one."

9 years agoMerge the two bionicbb services into one.
Dan Albert [Fri, 17 Apr 2015 20:01:29 +0000 (13:01 -0700)]
Merge the two bionicbb services into one.

Change-Id: I6490da1ec96b2e24b330296950be84424e11bd35

9 years agoadd fortified readlink/readlinkat implementations
Daniel Micay [Fri, 17 Apr 2015 15:26:36 +0000 (11:26 -0400)]
add fortified readlink/readlinkat implementations

Change-Id: Ia4b1824d20cad3a072b9162047492dade8576779

9 years agoam 3875744f: Merge "Support symbol versioning"
Dmitriy Ivanov [Fri, 17 Apr 2015 04:19:39 +0000 (04:19 +0000)]
am 3875744f: Merge "Support symbol versioning"

* commit '3875744f89600027c69ea68650fff1eeb4b29723':
  Support symbol versioning

9 years agoMerge "Support symbol versioning"
Dmitriy Ivanov [Fri, 17 Apr 2015 03:57:45 +0000 (03:57 +0000)]
Merge "Support symbol versioning"

9 years agoam fc4850e3: Merge "Fix clang build."
Elliott Hughes [Fri, 17 Apr 2015 01:16:45 +0000 (01:16 +0000)]
am fc4850e3: Merge "Fix clang build."

* commit 'fc4850e37b713eae12d0bde7f6e0b4e9b444bfef':
  Fix clang build.

9 years agoMerge "Fix clang build."
Elliott Hughes [Fri, 17 Apr 2015 00:57:52 +0000 (00:57 +0000)]
Merge "Fix clang build."

9 years agoSupport symbol versioning
Dmitriy Ivanov [Thu, 9 Apr 2015 20:42:33 +0000 (13:42 -0700)]
Support symbol versioning

Bug: http://b/20139821
Change-Id: I64122a0fb0960c20b2ce614161b7ab048456b681

9 years agoFix clang build.
Elliott Hughes [Fri, 17 Apr 2015 00:56:12 +0000 (17:56 -0700)]
Fix clang build.

Change-Id: I70a9ebe806cb4f7e23a7d8e486157ddd70ae3008

9 years agoam 31128da2: Merge "add fortified implementations of pread/pread64"
Elliott Hughes [Fri, 17 Apr 2015 00:54:24 +0000 (00:54 +0000)]
am 31128da2: Merge "add fortified implementations of pread/pread64"

* commit '31128da28f561152f5b663e6b4849691b3951525':
  add fortified implementations of pread/pread64

9 years agoMerge "add fortified implementations of pread/pread64"
Elliott Hughes [Fri, 17 Apr 2015 00:34:26 +0000 (00:34 +0000)]
Merge "add fortified implementations of pread/pread64"

9 years agoam f84a5c6c: Merge "Clean up "logging"."
Dan Albert [Thu, 16 Apr 2015 22:31:49 +0000 (22:31 +0000)]
am f84a5c6c: Merge "Clean up "logging"."

* commit 'f84a5c6c5c5fa2507458086a2f9a077bd9e2c9ec':
  Clean up "logging".

9 years agoMerge "Clean up "logging"."
Dan Albert [Thu, 16 Apr 2015 22:08:38 +0000 (22:08 +0000)]
Merge "Clean up "logging"."

9 years agoClean up "logging".
Dan Albert [Thu, 16 Apr 2015 21:20:13 +0000 (14:20 -0700)]
Clean up "logging".

Print is bad and I should feel bad. Use the logging module instead.
Will follow up by adding a persistent log destination instead of just
the console.

Change-Id: I396ff10712f88a03f8d8183b6de29ea273815962

9 years agoam 14af27a1: Merge "Remove PROP_PATH_SYSTEM_DEFAULT."
Elliott Hughes [Thu, 16 Apr 2015 20:20:31 +0000 (20:20 +0000)]
am 14af27a1: Merge "Remove PROP_PATH_SYSTEM_DEFAULT."

* commit '14af27a147b5e91eeb8632a3f99d4b6cc2ed26dc':
  Remove PROP_PATH_SYSTEM_DEFAULT.

9 years agoMerge "Remove PROP_PATH_SYSTEM_DEFAULT."
Elliott Hughes [Thu, 16 Apr 2015 19:57:59 +0000 (19:57 +0000)]
Merge "Remove PROP_PATH_SYSTEM_DEFAULT."

9 years agoadd fortified implementations of pread/pread64
Daniel Micay [Thu, 16 Apr 2015 13:07:45 +0000 (09:07 -0400)]
add fortified implementations of pread/pread64

Change-Id: Iec39c3917e0bc94371bd81541619392f5abe29b9

9 years agoam a40cb0ca: Merge "Call __cxa_thread_finalize for the main thread."
Dmitriy Ivanov [Thu, 16 Apr 2015 09:40:53 +0000 (09:40 +0000)]
am a40cb0ca: Merge "Call __cxa_thread_finalize for the main thread."

* commit 'a40cb0ca7fe8ddc146831e92ec543be9feb26a65':
  Call __cxa_thread_finalize for the main thread.

9 years agoMerge "Call __cxa_thread_finalize for the main thread."
Dmitriy Ivanov [Thu, 16 Apr 2015 08:06:02 +0000 (08:06 +0000)]
Merge "Call __cxa_thread_finalize for the main thread."

9 years agoam 12d89027: Merge "Update the number of jemalloc reserved keys."
Christopher Ferris [Thu, 16 Apr 2015 05:01:51 +0000 (05:01 +0000)]
am 12d89027: Merge "Update the number of jemalloc reserved keys."

* commit '12d89027457b4d5dce6c3a7fd01a2951f273d9a9':
  Update the number of jemalloc reserved keys.

9 years agoMerge "Update the number of jemalloc reserved keys."
Christopher Ferris [Thu, 16 Apr 2015 04:42:36 +0000 (04:42 +0000)]
Merge "Update the number of jemalloc reserved keys."

9 years agoam 2587c6a2: Merge "Change on handling of SIGEV_THREAD timers."
Yabin Cui [Thu, 16 Apr 2015 01:28:28 +0000 (01:28 +0000)]
am 2587c6a2: Merge "Change on handling of SIGEV_THREAD timers."

* commit '2587c6a2f0f946bd7c1e526c20b2623c01accd60':
  Change on handling of SIGEV_THREAD timers.

9 years agoMerge "Change on handling of SIGEV_THREAD timers."
Yabin Cui [Thu, 16 Apr 2015 01:08:24 +0000 (01:08 +0000)]
Merge "Change on handling of SIGEV_THREAD timers."

9 years agoChange on handling of SIGEV_THREAD timers.
Yabin Cui [Wed, 14 Jan 2015 03:53:15 +0000 (19:53 -0800)]
Change on handling of SIGEV_THREAD timers.

1. Don't prevent calling callback when SIGEV_THREAD timers are disarmed by timer_settime.
As in POSIX standard: The effect of disarming or resetting a timer with pending
expiration notifications is unspecified. And glibc didn't prevent in this situation, so I
think it is fine to remove the support.
2. Still prevent calling callback when SIGEV_THREAD timers are deleted by timer_delete.
As in POSIX standard: The disposition of pending signals for the deleted timer is unspecified.
However, glibc handles this (although that is not perfect). And some of our tests in
time_test.cpp depend on this feature as described in b/18039727. so I retain the support.
3. Fix some flaky test in time_test.cpp, and make "time*" test pass on bionic-unit-tests-glibcxx.

Bug: 18263854

Change-Id: I8ced184eacdbfcf433fd81b0c69c38824beb8ebc

9 years agoUpdate the number of jemalloc reserved keys.
Christopher Ferris [Wed, 15 Apr 2015 23:34:57 +0000 (16:34 -0700)]
Update the number of jemalloc reserved keys.

jemalloc now uses a single key pointing to a structure rather
than multiple keys.

Change-Id: Ib76185a594ab2cd4dc400d9a7a5bc0a57a7ac92d

9 years agoRemove PROP_PATH_SYSTEM_DEFAULT.
Elliott Hughes [Thu, 16 Apr 2015 00:03:43 +0000 (17:03 -0700)]
Remove PROP_PATH_SYSTEM_DEFAULT.

Change-Id: Ib01d9c2f9d890eb5e7ba1e15bd11767195e84967

9 years agoam c6ccdfaf: Merge "Hide emutls* symbols in libc.so"
Dmitriy Ivanov [Wed, 15 Apr 2015 23:45:37 +0000 (23:45 +0000)]
am c6ccdfaf: Merge "Hide emutls* symbols in libc.so"

* commit 'c6ccdfaf1ff4665ec96962863054263510d73e7b':
  Hide emutls* symbols in libc.so

9 years agoMerge "Hide emutls* symbols in libc.so"
Dmitriy Ivanov [Wed, 15 Apr 2015 23:27:38 +0000 (23:27 +0000)]
Merge "Hide emutls* symbols in libc.so"

9 years agoCall __cxa_thread_finalize for the main thread.
Dmitriy Ivanov [Wed, 15 Apr 2015 22:31:51 +0000 (15:31 -0700)]
Call __cxa_thread_finalize for the main thread.

Bug: http://b/20231984
Bug: http://b/16696563
Change-Id: I71cfddd0d404d1d4a593ec8d3bca9741de8cb90f

9 years agoHide emutls* symbols in libc.so
Dmitriy Ivanov [Wed, 15 Apr 2015 21:07:28 +0000 (14:07 -0700)]
Hide emutls* symbols in libc.so

 Also make thread_local in test static to avoid ld.bfd
 warning for arm64.

Change-Id: I09a3f2aa9b73a4fafa3f3bbc64ddc2a128ad50ee

9 years agoam cafc9480: Merge "Fix addition of extra arg to cfi_restore."
Christopher Ferris [Wed, 15 Apr 2015 00:22:59 +0000 (00:22 +0000)]
am cafc9480: Merge "Fix addition of extra arg to cfi_restore."

* commit 'cafc948069d447aa1e4dde599ee83bf6c0c5d5d8':
  Fix addition of extra arg to cfi_restore.

9 years agoMerge "Fix addition of extra arg to cfi_restore."
Christopher Ferris [Wed, 15 Apr 2015 00:07:33 +0000 (00:07 +0000)]
Merge "Fix addition of extra arg to cfi_restore."

9 years agoFix addition of extra arg to cfi_restore.
Christopher Ferris [Wed, 15 Apr 2015 00:02:31 +0000 (17:02 -0700)]
Fix addition of extra arg to cfi_restore.

Change-Id: I8fdcc1ae3e91b69ccbcec756a89e1ccb4fa1be53

9 years agoam a529efac: Merge "Add missing cfi directives for x86 assembler."
Christopher Ferris [Wed, 15 Apr 2015 00:00:48 +0000 (00:00 +0000)]
am a529efac: Merge "Add missing cfi directives for x86 assembler."

* commit 'a529efac4efa4641186fef5003752cc1c43ec763':
  Add missing cfi directives for x86 assembler.

9 years agoMerge "Add missing cfi directives for x86 assembler."
Christopher Ferris [Tue, 14 Apr 2015 23:43:09 +0000 (23:43 +0000)]
Merge "Add missing cfi directives for x86 assembler."

9 years agoAdd missing cfi directives for x86 assembler.
Christopher Ferris [Mon, 13 Apr 2015 21:20:11 +0000 (14:20 -0700)]
Add missing cfi directives for x86 assembler.

Change-Id: I80d3e33a71bbaeab5f39b667ebe61e865fd54b80

9 years agoam 8f3f0418: Merge "Prevent using static-allocated pthread keys before creation."
Yabin Cui [Tue, 14 Apr 2015 21:00:19 +0000 (21:00 +0000)]
am 8f3f0418: Merge "Prevent using static-allocated pthread keys before creation."

* commit '8f3f04184a5772b421867b59acd3d0dfbc6fa4eb':
  Prevent using static-allocated pthread keys before creation.

9 years agoMerge "Prevent using static-allocated pthread keys before creation."
Yabin Cui [Tue, 14 Apr 2015 20:35:08 +0000 (20:35 +0000)]
Merge "Prevent using static-allocated pthread keys before creation."

9 years agoPrevent using static-allocated pthread keys before creation.
Yabin Cui [Fri, 6 Mar 2015 04:35:32 +0000 (20:35 -0800)]
Prevent using static-allocated pthread keys before creation.

Bug: 19993460

Change-Id: I244dea7f5df3c8384f88aa48d635348fafc9cbaf

9 years agoam 447cd196: Merge "Skip merge-failed messages from Gerrit."
Dan Albert [Tue, 14 Apr 2015 01:52:51 +0000 (01:52 +0000)]
am 447cd196: Merge "Skip merge-failed messages from Gerrit."

* commit '447cd19681cfd0a71282c87d1b32a7757bbaba81':
  Skip merge-failed messages from Gerrit.

9 years agoMerge "Skip merge-failed messages from Gerrit."
Dan Albert [Tue, 14 Apr 2015 01:33:34 +0000 (01:33 +0000)]
Merge "Skip merge-failed messages from Gerrit."

9 years agoSkip merge-failed messages from Gerrit.
Dan Albert [Tue, 14 Apr 2015 00:32:19 +0000 (17:32 -0700)]
Skip merge-failed messages from Gerrit.

Change-Id: I2d8055a44cd78f95e64d6cf88e9efdd610a4fa88

9 years agoam de889741: Merge "Fix dl* tests to run-on-host"
Dmitriy Ivanov [Sat, 11 Apr 2015 00:45:59 +0000 (00:45 +0000)]
am de889741: Merge "Fix dl* tests to run-on-host"

* commit 'de889741201faa338e01babdfd10bbd597769e60':
  Fix dl* tests to run-on-host

9 years agoMerge "Fix dl* tests to run-on-host"
Dmitriy Ivanov [Sat, 11 Apr 2015 00:28:05 +0000 (00:28 +0000)]
Merge "Fix dl* tests to run-on-host"

9 years agoam c921eb67: Merge "Don\'t build any changes that touch bionicbb."
Dan Albert [Fri, 10 Apr 2015 00:37:47 +0000 (00:37 +0000)]
am c921eb67: Merge "Don\'t build any changes that touch bionicbb."

* commit 'c921eb677077f96c09c66ac34cad490356afde6c':
  Don't build any changes that touch bionicbb.

9 years agoMerge "Don't build any changes that touch bionicbb."
Dan Albert [Fri, 10 Apr 2015 00:25:18 +0000 (00:25 +0000)]
Merge "Don't build any changes that touch bionicbb."

9 years agoDon't build any changes that touch bionicbb.
Dan Albert [Fri, 10 Apr 2015 00:18:53 +0000 (17:18 -0700)]
Don't build any changes that touch bionicbb.

Right now any changes in here would be innocuous because I manually
update bionicbb, but I'd like to check in the various job
configurations. Once I have we don't want anyone to be able to make
the buildbot run any untrusted code.

Change-Id: Ic050859cd5017615f71c75f995ba21bb45407b05

9 years agoam 9ce9bf5a: Merge "Add Elfxx_Ver* types"
Dmitriy Ivanov [Thu, 9 Apr 2015 22:34:29 +0000 (22:34 +0000)]
am 9ce9bf5a: Merge "Add Elfxx_Ver* types"

* commit '9ce9bf5aec5ed2ec75acdc05f00a49728563a782':
  Add Elfxx_Ver* types

9 years agoMerge "Add Elfxx_Ver* types"
Dmitriy Ivanov [Thu, 9 Apr 2015 22:14:09 +0000 (22:14 +0000)]
Merge "Add Elfxx_Ver* types"