OSDN Git Service

android-x86/bionic.git
9 years agoam c6fbbb42: Merge "Hide statfs/fstatfs\' ST_VALID flag from userspace."
Elliott Hughes [Wed, 18 Mar 2015 23:22:56 +0000 (23:22 +0000)]
am c6fbbb42: Merge "Hide statfs/fstatfs\' ST_VALID flag from userspace."

* commit 'c6fbbb42e69bef4f058d0cbfaaaf3cbf51f95694':
  Hide statfs/fstatfs' ST_VALID flag from userspace.

9 years agoMerge "Hide statfs/fstatfs' ST_VALID flag from userspace."
Elliott Hughes [Wed, 18 Mar 2015 23:11:51 +0000 (23:11 +0000)]
Merge "Hide statfs/fstatfs' ST_VALID flag from userspace."

9 years agoHide statfs/fstatfs' ST_VALID flag from userspace.
Elliott Hughes [Wed, 18 Mar 2015 22:46:48 +0000 (15:46 -0700)]
Hide statfs/fstatfs' ST_VALID flag from userspace.

Spotted while debugging the strace 4.10 upgrade.

Change-Id: I1af1be9c9440151f55f74a835e1df71529b0e4fe

9 years agoam 0cf2657b: Merge "Fix library lookup for filenames with slash."
Dmitriy Ivanov [Wed, 18 Mar 2015 22:22:59 +0000 (22:22 +0000)]
am 0cf2657b: Merge "Fix library lookup for filenames with slash."

* commit '0cf2657bc25242c097d42346d17eaae4107b1d55':
  Fix library lookup for filenames with slash.

9 years agoMerge "Fix library lookup for filenames with slash."
Dmitriy Ivanov [Wed, 18 Mar 2015 22:09:07 +0000 (22:09 +0000)]
Merge "Fix library lookup for filenames with slash."

9 years agoam c0eaa732: Merge "Support loading shared libraries from zip files"
Dimitry Ivanov [Wed, 18 Mar 2015 17:37:58 +0000 (17:37 +0000)]
am c0eaa732: Merge "Support loading shared libraries from zip files"

* commit 'c0eaa732844a8397d40a7ec82641f709e4b47a61':
  Support loading shared libraries from zip files

9 years agoFix library lookup for filenames with slash.
Dmitriy Ivanov [Wed, 18 Mar 2015 00:12:18 +0000 (17:12 -0700)]
Fix library lookup for filenames with slash.

  If filename contains a slash, then it is interpreted
  as a (relative or absolute) pathname.

Bug: https://code.google.com/p/android/issues/detail?id=6670
Change-Id: Iba57d638301f3089ad47ba083edca2dd36b801ed

9 years agoMerge "Support loading shared libraries from zip files"
Dimitry Ivanov [Wed, 18 Mar 2015 17:25:32 +0000 (17:25 +0000)]
Merge "Support loading shared libraries from zip files"

9 years agoam ab12dc70: Merge "Fix _PATH_DEFPATH to correspond to the actual default path."
Elliott Hughes [Wed, 18 Mar 2015 01:24:59 +0000 (01:24 +0000)]
am ab12dc70: Merge "Fix _PATH_DEFPATH to correspond to the actual default path."

* commit 'ab12dc70f3ef551c490dcfede76033e57ceee64d':
  Fix _PATH_DEFPATH to correspond to the actual default path.

9 years agoam b380b7d7: Merge "set errno to ENOENT in getauxval per glibc 2.19"
Elliott Hughes [Wed, 18 Mar 2015 01:18:01 +0000 (01:18 +0000)]
am b380b7d7: Merge "set errno to ENOENT in getauxval per glibc 2.19"

* commit 'b380b7d78cf4dbd034f51fcf7fc8ebdb037330c3':
  set errno to ENOENT in getauxval per glibc 2.19

9 years agoMerge "Fix _PATH_DEFPATH to correspond to the actual default path."
Elliott Hughes [Wed, 18 Mar 2015 01:15:04 +0000 (01:15 +0000)]
Merge "Fix _PATH_DEFPATH to correspond to the actual default path."

9 years agoMerge "set errno to ENOENT in getauxval per glibc 2.19"
Elliott Hughes [Wed, 18 Mar 2015 01:05:23 +0000 (01:05 +0000)]
Merge "set errno to ENOENT in getauxval per glibc 2.19"

9 years agoFix _PATH_DEFPATH to correspond to the actual default path.
Elliott Hughes [Wed, 18 Mar 2015 00:34:14 +0000 (17:34 -0700)]
Fix _PATH_DEFPATH to correspond to the actual default path.

This is currently set in init.rc, but I plan on making init
set PATH to _PATH_DEFPATH and removing the line from init.rc...

Bug: 19564110
Change-Id: Ifa7226a3a5a90d141a788d7d6b1ae86245674218

9 years agoset errno to ENOENT in getauxval per glibc 2.19
Daniel Micay [Mon, 16 Mar 2015 01:39:25 +0000 (21:39 -0400)]
set errno to ENOENT in getauxval per glibc 2.19

Bionic's getauxval(...) implementation returns zero when entries are
missing. Zero can be a valid value, so there is no unambiguous way of
detecting an error. Since glibc 2.19, errno is set to ENOENT when an
entry is missing to make it possible to detect this. Bionic should match
this behavior as code in the Linux ecosystem will start relying on it to
check for the presence of newly added entries.

Change-Id: Ic1efe29bc45fc87489274c96c4d2193f3a7b8854
Signed-off-by: Daniel Micay <danielmicay@gmail.com>
9 years agoam d917b20b: Merge "Change name of rwlock benchmark."
Yabin Cui [Tue, 17 Mar 2015 21:33:33 +0000 (21:33 +0000)]
am d917b20b: Merge "Change name of rwlock benchmark."

* commit 'd917b20b613fd51e5f1056c8648fe8769ae8161e':
  Change name of rwlock benchmark.

9 years agoMerge "Change name of rwlock benchmark."
Yabin Cui [Tue, 17 Mar 2015 21:20:52 +0000 (21:20 +0000)]
Merge "Change name of rwlock benchmark."

9 years agoChange name of rwlock benchmark.
Yabin Cui [Tue, 17 Mar 2015 18:19:07 +0000 (11:19 -0700)]
Change name of rwlock benchmark.

rw_lock is not easy for me to remember, so I prefer changing it to rwlock.

Change-Id: I0784acaca0c3b46c28184a77eb29ffe696f9ea07

9 years agoam a75771e3: Merge "Fix build: pthread_mutex/pthread_detach."
Yabin Cui [Tue, 17 Mar 2015 18:52:13 +0000 (18:52 +0000)]
am a75771e3: Merge "Fix build: pthread_mutex/pthread_detach."

* commit 'a75771e3ab429fae2f9af770416150733264a281':
  Fix build: pthread_mutex/pthread_detach.

9 years agoMerge "Fix build: pthread_mutex/pthread_detach."
Yabin Cui [Tue, 17 Mar 2015 18:40:38 +0000 (18:40 +0000)]
Merge "Fix build: pthread_mutex/pthread_detach."

9 years agoFix build: pthread_mutex/pthread_detach.
Yabin Cui [Tue, 17 Mar 2015 18:34:57 +0000 (11:34 -0700)]
Fix build: pthread_mutex/pthread_detach.

Change-Id: I9c7b6297d3bf3ab8004d05d44cc4c95159315c9e

9 years agoam 94babaee: Merge "Make pthread join_state not protected by g_thread_list_lock."
Yabin Cui [Tue, 17 Mar 2015 18:21:49 +0000 (18:21 +0000)]
am 94babaee: Merge "Make pthread join_state not protected by g_thread_list_lock."

* commit '94babaee1b6598b15bd807461055d4dcaaa52f10':
  Make pthread join_state not protected by g_thread_list_lock.

9 years agoam 5490bebd: Merge "Remove duplication in pthread_mutex.cpp."
Yabin Cui [Tue, 17 Mar 2015 18:21:48 +0000 (18:21 +0000)]
am 5490bebd: Merge "Remove duplication in pthread_mutex.cpp."

* commit '5490bebd7cdd4406780358f590391b75ab8a7d84':
  Remove duplication in pthread_mutex.cpp.

9 years agoMerge "Make pthread join_state not protected by g_thread_list_lock."
Yabin Cui [Tue, 17 Mar 2015 18:12:58 +0000 (18:12 +0000)]
Merge "Make pthread join_state not protected by g_thread_list_lock."

9 years agoMerge "Remove duplication in pthread_mutex.cpp."
Yabin Cui [Tue, 17 Mar 2015 18:12:32 +0000 (18:12 +0000)]
Merge "Remove duplication in pthread_mutex.cpp."

9 years agoSupport loading shared libraries from zip files
Simon Baldwin [Fri, 16 Jan 2015 13:22:54 +0000 (13:22 +0000)]
Support loading shared libraries from zip files

Add code to support loading shared libraries directly from within
APK files.

Extends the linker's handling of LD_LIBRARY_PATH, DT_RUNPATH, etc
to allow elements to be either directories as normal, or ZIP
format files.  For ZIP, the ZIP subdirectory string is separated
from the path to file by '!'.

For example, if DT_NEEDED is libchrome.so and Chrome.apk is the
Android ARM APK then the path element

  /system/app/Chrome.apk!lib/armeabi-v7a

would cause the linker to load lib/armeabi-v7a/libchrome.so
directly from inside Chrome.apk.  For loading to succeed,
libchrome.so must be 'stored' and not compressed in Chrome.apk,
and must be page aligned within the file.

Motivation:
  Chromium tracking issue:
  https://code.google.com/p/chromium/issues/detail?id=390618

Bug: 8076853
Change-Id: Ic49046600b1417eae3ee8f37ee98c8ac1ecc19e7

9 years agoam 5f8ddf69: Merge "Fix build: align pthread_cond_t to sizeof(long)"
Dmitriy Ivanov [Tue, 17 Mar 2015 00:25:06 +0000 (00:25 +0000)]
am 5f8ddf69: Merge "Fix build: align pthread_cond_t to sizeof(long)"

* commit '5f8ddf69e59b13653d016e236599b95daf6501a8':
  Fix build: align pthread_cond_t to sizeof(long)

9 years agoMerge "Fix build: align pthread_cond_t to sizeof(long)"
Dmitriy Ivanov [Tue, 17 Mar 2015 00:10:49 +0000 (00:10 +0000)]
Merge "Fix build: align pthread_cond_t to sizeof(long)"

9 years agoFix build: align pthread_cond_t to sizeof(long)
Dmitriy Ivanov [Tue, 17 Mar 2015 00:06:59 +0000 (17:06 -0700)]
Fix build: align pthread_cond_t to sizeof(long)

Change-Id: Ieaee6d09089b161ec516ba22cafaee1ecb4342da

9 years agoam f14fe856: Merge "Add alignment to opaque types."
Christopher Ferris [Mon, 16 Mar 2015 23:45:16 +0000 (23:45 +0000)]
am f14fe856: Merge "Add alignment to opaque types."

* commit 'f14fe856b40afc38540988b408edc508298ec116':
  Add alignment to opaque types.

9 years agoMerge "Add alignment to opaque types."
Christopher Ferris [Mon, 16 Mar 2015 23:33:34 +0000 (23:33 +0000)]
Merge "Add alignment to opaque types."

9 years agoAdd alignment to opaque types.
Christopher Ferris [Mon, 16 Mar 2015 23:21:08 +0000 (16:21 -0700)]
Add alignment to opaque types.

If there is no alignment forced, then the compiler might put these
structures at any alignment.

Change-Id: I6416db72433504e0ec1178bfae6f5b18b6e363fb

9 years agoam 3d170a6d: Merge "Remove obsolete test_isolated wrapper function"
Dmitriy Ivanov [Mon, 16 Mar 2015 22:03:53 +0000 (22:03 +0000)]
am 3d170a6d: Merge "Remove obsolete test_isolated wrapper function"

* commit '3d170a6d6c650cb81260ea9157d6f4df99e41e8c':
  Remove obsolete test_isolated wrapper function

9 years agoam 3b7239fe: Merge "General purpose memory allocator for linker."
Dmitriy Ivanov [Mon, 16 Mar 2015 22:03:52 +0000 (22:03 +0000)]
am 3b7239fe: Merge "General purpose memory allocator for linker."

* commit '3b7239feb9265f0b677e845dec0514583de9c6be':
  General purpose memory allocator for linker.

9 years agoMerge "Remove obsolete test_isolated wrapper function"
Dmitriy Ivanov [Mon, 16 Mar 2015 21:50:16 +0000 (21:50 +0000)]
Merge "Remove obsolete test_isolated wrapper function"

9 years agoMerge "General purpose memory allocator for linker."
Dmitriy Ivanov [Mon, 16 Mar 2015 21:49:58 +0000 (21:49 +0000)]
Merge "General purpose memory allocator for linker."

9 years agoam 0f3fcd12: Merge "Fix atomic_load on const variable in pthread_cond_t."
Yabin Cui [Mon, 16 Mar 2015 21:43:21 +0000 (21:43 +0000)]
am 0f3fcd12: Merge "Fix atomic_load on const variable in pthread_cond_t."

* commit '0f3fcd12ddde0e10fbeab0a98cf0efb9d64bea76':
  Fix atomic_load on const variable in pthread_cond_t.

9 years agoMerge "Fix atomic_load on const variable in pthread_cond_t."
Yabin Cui [Mon, 16 Mar 2015 21:31:08 +0000 (21:31 +0000)]
Merge "Fix atomic_load on const variable in pthread_cond_t."

9 years agoFix atomic_load on const variable in pthread_cond_t.
Yabin Cui [Mon, 16 Mar 2015 21:26:53 +0000 (14:26 -0700)]
Fix atomic_load on const variable in pthread_cond_t.

Change-Id: I60f55a53294a09332a3fbec669ed793359d1bdf5

9 years agoRemove obsolete test_isolated wrapper function
Dmitriy Ivanov [Mon, 16 Mar 2015 21:15:46 +0000 (14:15 -0700)]
Remove obsolete test_isolated wrapper function

 We already run all of our tests in isolated mode.

Change-Id: I8236baa302b1026a9b4a1c33a4aa65e223771bc7

9 years agoam 169a84f9: Merge "Revert "Revert "Moving StringPrintf to libbase."""
Dan Albert [Mon, 16 Mar 2015 21:16:48 +0000 (21:16 +0000)]
am 169a84f9: Merge "Revert "Revert "Moving StringPrintf to libbase."""

* commit '169a84f980d7a55c5f829cdd53a3eaba8f968442':
  Revert "Revert "Moving StringPrintf to libbase.""

9 years agoam d3e2a207: Merge "Hide content of pthread_cond_t in pthread_cond_internal_t."
Yabin Cui [Mon, 16 Mar 2015 21:09:26 +0000 (21:09 +0000)]
am d3e2a207: Merge "Hide content of pthread_cond_t in pthread_cond_internal_t."

* commit 'd3e2a207ffcaefedf2d3baaaad3d62be1abdb33c':
  Hide content of pthread_cond_t in pthread_cond_internal_t.

9 years agoMerge "Revert "Revert "Moving StringPrintf to libbase."""
Dan Albert [Mon, 16 Mar 2015 21:02:51 +0000 (21:02 +0000)]
Merge "Revert "Revert "Moving StringPrintf to libbase."""

9 years agoMerge "Hide content of pthread_cond_t in pthread_cond_internal_t."
Yabin Cui [Mon, 16 Mar 2015 20:58:01 +0000 (20:58 +0000)]
Merge "Hide content of pthread_cond_t in pthread_cond_internal_t."

9 years agoam 9923c8cd: Merge "Fix typo"
Dmitriy Ivanov [Mon, 16 Mar 2015 20:39:00 +0000 (20:39 +0000)]
am 9923c8cd: Merge "Fix typo"

* commit '9923c8cd13d1e8305a908ef23712c7d3e4d4131d':
  Fix typo

9 years agoMerge "Fix typo"
Dmitriy Ivanov [Mon, 16 Mar 2015 20:30:01 +0000 (20:30 +0000)]
Merge "Fix typo"

9 years agoFix typo
Dmitriy Ivanov [Mon, 16 Mar 2015 20:20:23 +0000 (13:20 -0700)]
Fix typo

Change-Id: Ie6dad7d09873c88f6bbb2d45c2780e3b0c618bd6

9 years agoGeneral purpose memory allocator for linker.
Dmitriy Ivanov [Wed, 11 Mar 2015 00:48:27 +0000 (17:48 -0700)]
General purpose memory allocator for linker.

 Add basic general purpose memory allocator to
 linker in order to enable usage of other libraries
 like libziparchive.

Change-Id: I4a680ebb36ed5ba67c61249f81dba9f567808434

9 years agoHide content of pthread_cond_t in pthread_cond_internal_t.
Yabin Cui [Sat, 14 Mar 2015 03:30:00 +0000 (20:30 -0700)]
Hide content of pthread_cond_t in pthread_cond_internal_t.

Bug: 19249079
Change-Id: I6f55af30bcd6211ce71630c6cacbef0e1663dcee

9 years agoRevert "Revert "Moving StringPrintf to libbase.""
Dan Albert [Mon, 16 Mar 2015 17:06:29 +0000 (10:06 -0700)]
Revert "Revert "Moving StringPrintf to libbase.""

This reverts commit d2dad2b24fb82604f9dbe7a082e630a524f1473d.

9 years agoam 11a06c73: Merge "Revert "Moving StringPrintf to libbase.""
Nicolas Geoffray [Mon, 16 Mar 2015 12:30:48 +0000 (12:30 +0000)]
am 11a06c73: Merge "Revert "Moving StringPrintf to libbase.""

* commit '11a06c73f6e7d31442429a58a346d881b0a8a441':
  Revert "Moving StringPrintf to libbase."

9 years agoMerge "Revert "Moving StringPrintf to libbase.""
Nicolas Geoffray [Mon, 16 Mar 2015 12:20:26 +0000 (12:20 +0000)]
Merge "Revert "Moving StringPrintf to libbase.""

9 years agoRevert "Moving StringPrintf to libbase."
Nicolas Geoffray [Mon, 16 Mar 2015 12:19:26 +0000 (12:19 +0000)]
Revert "Moving StringPrintf to libbase."

libbase has been reverted

This reverts commit 7ed5fa1e4d37722a644518594bf2b0e1529c05e9.

Change-Id: I5d8ff8c38ff8c9123e6cee5dc15a101a79e94b2e

9 years agoam 83e95878: Merge "Moving StringPrintf to libbase."
Dan Albert [Sun, 15 Mar 2015 15:44:38 +0000 (15:44 +0000)]
am 83e95878: Merge "Moving StringPrintf to libbase."

* commit '83e95878735a62cea108f3c1f1de1358b5565038':
  Moving StringPrintf to libbase.

9 years agoam 593a75ee: Merge "Fix typo in alias symbol."
Christopher Ferris [Sun, 15 Mar 2015 15:44:37 +0000 (15:44 +0000)]
am 593a75ee: Merge "Fix typo in alias symbol."

* commit '593a75ee6b9857a452e57b21fb28507da30f89cf':
  Fix typo in alias symbol.

9 years agoam 83c0028e: Merge "For libm, use a macro for aliasing symbols."
Christopher Ferris [Sun, 15 Mar 2015 15:44:36 +0000 (15:44 +0000)]
am 83c0028e: Merge "For libm, use a macro for aliasing symbols."

* commit '83c0028e030bad1f7cf54ba3f04962b9a6a9e1e4':
  For libm, use a macro for aliasing symbols.

9 years agoMerge "Moving StringPrintf to libbase."
Dan Albert [Sat, 14 Mar 2015 23:55:08 +0000 (23:55 +0000)]
Merge "Moving StringPrintf to libbase."

9 years agoMerge "Fix typo in alias symbol."
Christopher Ferris [Sat, 14 Mar 2015 19:22:29 +0000 (19:22 +0000)]
Merge "Fix typo in alias symbol."

9 years agoFix typo in alias symbol.
Christopher Ferris [Sat, 14 Mar 2015 19:17:45 +0000 (12:17 -0700)]
Fix typo in alias symbol.

Change-Id: I41d2c29bd4a9ba382bbe3440541c8e1506fc5809

9 years agoMerge "For libm, use a macro for aliasing symbols."
Christopher Ferris [Sat, 14 Mar 2015 17:44:31 +0000 (17:44 +0000)]
Merge "For libm, use a macro for aliasing symbols."

9 years agoFor libm, use a macro for aliasing symbols.
Christopher Ferris [Sat, 14 Mar 2015 00:43:52 +0000 (17:43 -0700)]
For libm, use a macro for aliasing symbols.

Change-Id: Ibd42ebc387c2bf3eba9aa96091770915b4b34184

9 years agoMoving StringPrintf to libbase.
Dan Albert [Sat, 14 Mar 2015 05:34:37 +0000 (22:34 -0700)]
Moving StringPrintf to libbase.

Change-Id: I47ef28bb294ffb7c7c065c5624417edf23503b77

9 years agoam d2cf59d4: Merge "Hide content of pthread_rwlock_t in pthread_rwlock_internal_t."
Yabin Cui [Sat, 14 Mar 2015 02:51:12 +0000 (02:51 +0000)]
am d2cf59d4: Merge "Hide content of pthread_rwlock_t in pthread_rwlock_internal_t."

* commit 'd2cf59d4633d9e731d0342d4f94b6e925589ab1e':
  Hide content of pthread_rwlock_t in pthread_rwlock_internal_t.

9 years agoMerge "Hide content of pthread_rwlock_t in pthread_rwlock_internal_t."
Yabin Cui [Sat, 14 Mar 2015 02:38:31 +0000 (02:38 +0000)]
Merge "Hide content of pthread_rwlock_t in pthread_rwlock_internal_t."

9 years agoHide content of pthread_rwlock_t in pthread_rwlock_internal_t.
Yabin Cui [Fri, 13 Mar 2015 21:22:05 +0000 (14:22 -0700)]
Hide content of pthread_rwlock_t in pthread_rwlock_internal_t.

Bug: 19249079
Change-Id: Ifbe634c716b6793bef897ec5134b55eb44c6b8d5

9 years agoam 81c31bdd: Merge "Add some GNU specific elf constants."
Christopher Ferris [Fri, 13 Mar 2015 21:23:43 +0000 (21:23 +0000)]
am 81c31bdd: Merge "Add some GNU specific elf constants."

* commit '81c31bdd43e50538fa45f5e7783782a5ae5666e9':
  Add some GNU specific elf constants.

9 years agoam d7e091ef: Merge "Switch libc and libm to sysv-only hash style"
Dmitriy Ivanov [Fri, 13 Mar 2015 21:16:47 +0000 (21:16 +0000)]
am d7e091ef: Merge "Switch libc and libm to sysv-only hash style"

* commit 'd7e091efc477c17da97415fa944675c6f16dcdb5':
  Switch libc and libm to sysv-only hash style

9 years agoMerge "Add some GNU specific elf constants."
Christopher Ferris [Fri, 13 Mar 2015 21:12:05 +0000 (21:12 +0000)]
Merge "Add some GNU specific elf constants."

9 years agoMerge "Switch libc and libm to sysv-only hash style"
Dmitriy Ivanov [Fri, 13 Mar 2015 21:04:07 +0000 (21:04 +0000)]
Merge "Switch libc and libm to sysv-only hash style"

9 years agoSwitch libc and libm to sysv-only hash style
Dmitriy Ivanov [Fri, 13 Mar 2015 19:43:30 +0000 (12:43 -0700)]
Switch libc and libm to sysv-only hash style

Bug: 19059885
Change-Id: I60a23dc5f9c756994d566818332ca42b305b4a05

9 years agoAdd some GNU specific elf constants.
Christopher Ferris [Fri, 13 Mar 2015 17:32:45 +0000 (10:32 -0700)]
Add some GNU specific elf constants.

Change-Id: I6c668463a27a641c9a280ce1937857d622344ff8

9 years agoam f074b531: Merge "Add the optimized implementation of 18 math functions for x86...
Christopher Ferris [Fri, 13 Mar 2015 17:27:43 +0000 (17:27 +0000)]
am f074b531: Merge "Add the optimized implementation of 18 math functions for x86 and x86_64 respectively"

* commit 'f074b531d266deb63c17e1d3bff751f3f3740d9d':
  Add the optimized implementation of 18 math functions for x86 and x86_64 respectively

9 years agoMerge "Add the optimized implementation of 18 math functions for x86 and x86_64 respe...
Christopher Ferris [Fri, 13 Mar 2015 17:18:20 +0000 (17:18 +0000)]
Merge "Add the optimized implementation of 18 math functions for x86 and x86_64 respectively"

9 years agoam 5507deda: Merge "Make gtest_main exit 1 when some test are failed."
Yabin Cui [Fri, 13 Mar 2015 17:09:14 +0000 (17:09 +0000)]
am 5507deda: Merge "Make gtest_main exit 1 when some test are failed."

* commit '5507dedaeb43e01edfab4b0e2cc290622b20e678':
  Make gtest_main exit 1 when some test are failed.

9 years agoMerge "Make gtest_main exit 1 when some test are failed."
Yabin Cui [Fri, 13 Mar 2015 17:02:17 +0000 (17:02 +0000)]
Merge "Make gtest_main exit 1 when some test are failed."

9 years agoMake gtest_main exit 1 when some test are failed.
Yabin Cui [Fri, 13 Mar 2015 05:16:03 +0000 (22:16 -0700)]
Make gtest_main exit 1 when some test are failed.

This is the gtest behavior, which I think can make test status
judgement more convenient.

Change-Id: I7d3c210d1744b954a4148cd905dd5c353207fce8

9 years agoRemove duplication in pthread_mutex.cpp.
Yabin Cui [Thu, 5 Mar 2015 01:36:59 +0000 (17:36 -0800)]
Remove duplication in pthread_mutex.cpp.

Also add unit tests about thread woken up by pthread_mutex_unlock.

Bug: 19216648

Change-Id: I8bde8105b00186c52a2f41d92458ae4a5eb90426

9 years agoMake pthread join_state not protected by g_thread_list_lock.
Yabin Cui [Sat, 7 Mar 2015 01:23:53 +0000 (17:23 -0800)]
Make pthread join_state not protected by g_thread_list_lock.

1. Move the representation of thread join_state from pthread.attr.flag
   to pthread.join_state. This clarifies thread state change.
2. Use atomic operations for pthread.join_state. So we don't need to
   protect it by g_thread_list_lock. g_thread_list_lock will be reduced
   to only protect g_thread_list or even removed in further changes.

Bug: 19636317
Change-Id: I31fb143a7c69508c7287307dd3b0776993ec0f43

9 years agoam f6f96df5: Merge "syslog.h: missing LOG_MAKEPRI definition"
Mark Salyzyn [Thu, 12 Mar 2015 21:39:12 +0000 (21:39 +0000)]
am f6f96df5: Merge "syslog.h: missing LOG_MAKEPRI definition"

* commit 'f6f96df5b031b0bf79eb8ad49bd73a3ceab87db5':
  syslog.h: missing LOG_MAKEPRI definition

9 years agoMerge "syslog.h: missing LOG_MAKEPRI definition"
Mark Salyzyn [Thu, 12 Mar 2015 20:33:25 +0000 (20:33 +0000)]
Merge "syslog.h: missing LOG_MAKEPRI definition"

9 years agosyslog.h: missing LOG_MAKEPRI definition
Mark Salyzyn [Thu, 12 Mar 2015 20:21:35 +0000 (13:21 -0700)]
syslog.h: missing LOG_MAKEPRI definition

Bug: 19681572
Change-Id: Ice5f5cb1f71522ffc47b2243a8dc4c277c2a288f

9 years agoam be86f877: Merge "Add the UMOUNT_NOFOLLOW flag to <sys/mount.h>."
Elliott Hughes [Wed, 11 Mar 2015 16:56:26 +0000 (16:56 +0000)]
am be86f877: Merge "Add the UMOUNT_NOFOLLOW flag to <sys/mount.h>."

* commit 'be86f87711ee71ff971da2e2ae7a092081177951':
  Add the UMOUNT_NOFOLLOW flag to <sys/mount.h>.

9 years agoMerge "Add the UMOUNT_NOFOLLOW flag to <sys/mount.h>."
Elliott Hughes [Wed, 11 Mar 2015 16:42:48 +0000 (16:42 +0000)]
Merge "Add the UMOUNT_NOFOLLOW flag to <sys/mount.h>."

9 years agoAdd the UMOUNT_NOFOLLOW flag to <sys/mount.h>.
Elliott Hughes [Wed, 11 Mar 2015 16:32:25 +0000 (09:32 -0700)]
Add the UMOUNT_NOFOLLOW flag to <sys/mount.h>.

Change-Id: I2b81cfc3147d9a0a6ac2a8f064e6d9864fa7e04d

9 years agoam e8107b66: Merge "Rename LinkerAllocator and LinkerAllocatorPage"
Dmitriy Ivanov [Wed, 11 Mar 2015 03:19:21 +0000 (03:19 +0000)]
am e8107b66: Merge "Rename LinkerAllocator and LinkerAllocatorPage"

* commit 'e8107b66c56509a8d1b1d21f217e4e71a9f74bee':
  Rename LinkerAllocator and LinkerAllocatorPage

9 years agoam 57e800d5: Merge "Refactoring: rename linker_allocator files"
Dmitriy Ivanov [Wed, 11 Mar 2015 03:19:20 +0000 (03:19 +0000)]
am 57e800d5: Merge "Refactoring: rename linker_allocator files"

* commit '57e800d534b43bda849858ed4bb47d556469032f':
  Refactoring: rename linker_allocator files

9 years agoMerge "Rename LinkerAllocator and LinkerAllocatorPage"
Dmitriy Ivanov [Wed, 11 Mar 2015 00:37:48 +0000 (00:37 +0000)]
Merge "Rename LinkerAllocator and LinkerAllocatorPage"

9 years agoMerge "Refactoring: rename linker_allocator files"
Dmitriy Ivanov [Wed, 11 Mar 2015 00:35:22 +0000 (00:35 +0000)]
Merge "Refactoring: rename linker_allocator files"

9 years agoRename LinkerAllocator and LinkerAllocatorPage
Dmitriy Ivanov [Tue, 10 Mar 2015 22:43:50 +0000 (15:43 -0700)]
Rename LinkerAllocator and LinkerAllocatorPage

Change-Id: I87d80fbcd4ec26c0ee4f601b9c4c64f600418dd9

9 years agoRefactoring: rename linker_allocator files
Dmitriy Ivanov [Tue, 10 Mar 2015 22:30:26 +0000 (15:30 -0700)]
Refactoring: rename linker_allocator files

Change-Id: Ifc08e64b3a85205f072b7abab1149c7ab71e2f75

9 years agoam e842dc0d: am c16c8368: Merge "Generate gnu hash for arm only"
Dimitry Ivanov [Tue, 10 Mar 2015 17:48:29 +0000 (17:48 +0000)]
am e842dc0d: am c16c8368: Merge "Generate gnu hash for arm only"

* commit 'e842dc0de5ce5f9950e323ae8805909f60867bf6':
  Generate gnu hash for arm only

9 years agoam c16c8368: Merge "Generate gnu hash for arm only"
Dimitry Ivanov [Tue, 10 Mar 2015 17:41:18 +0000 (17:41 +0000)]
am c16c8368: Merge "Generate gnu hash for arm only"

* commit 'c16c8368773452e2d18d761a7b3ea6f249dc2ac5':
  Generate gnu hash for arm only

9 years agoMerge "Generate gnu hash for arm only"
Dimitry Ivanov [Tue, 10 Mar 2015 17:34:51 +0000 (17:34 +0000)]
Merge "Generate gnu hash for arm only"

9 years agoGenerate gnu hash for arm only
Goran Jakovljevic [Tue, 10 Mar 2015 16:11:39 +0000 (17:11 +0100)]
Generate gnu hash for arm only

Fixes build failure caused by:
https://android-review.googlesource.com/#/c/139660

As previously discussed [1], MIPS does not support GNU-style ELF hashes.

[1] https://android-review.googlesource.com/#/c/49282/2/tests/Android.mk

Change-Id: I9a7966eebfd1ef0a587a20b71faefde38e84ab62

9 years agoam dca2fadd: am a94cf791: Merge "Generate sysv hash for libc, libstdc++ and libm"
Dmitriy Ivanov [Tue, 10 Mar 2015 15:12:09 +0000 (15:12 +0000)]
am dca2fadd: am a94cf791: Merge "Generate sysv hash for libc, libstdc++ and libm"

* commit 'dca2fadd8252a5c0664d2811187bc39bd7916aa4':
  Generate sysv hash for libc, libstdc++ and libm

9 years agoam 50119cec: am 37c71b14: Merge "Loosen fchmodat AT_SYMLINK_NOFOLLOW test on symlink."
Yabin Cui [Tue, 10 Mar 2015 15:12:07 +0000 (15:12 +0000)]
am 50119cec: am 37c71b14: Merge "Loosen fchmodat AT_SYMLINK_NOFOLLOW test on symlink."

* commit '50119cec8d872df02547af39a3a85aea9125299b':
  Loosen fchmodat AT_SYMLINK_NOFOLLOW test on symlink.

9 years agoam a94cf791: Merge "Generate sysv hash for libc, libstdc++ and libm"
Dmitriy Ivanov [Tue, 10 Mar 2015 15:03:35 +0000 (15:03 +0000)]
am a94cf791: Merge "Generate sysv hash for libc, libstdc++ and libm"

* commit 'a94cf791c1c9b93d49f5573716de93348757ae15':
  Generate sysv hash for libc, libstdc++ and libm

9 years agoam 37c71b14: Merge "Loosen fchmodat AT_SYMLINK_NOFOLLOW test on symlink."
Yabin Cui [Tue, 10 Mar 2015 15:03:34 +0000 (15:03 +0000)]
am 37c71b14: Merge "Loosen fchmodat AT_SYMLINK_NOFOLLOW test on symlink."

* commit '37c71b14e51c53b0cb5daa19bf38559d063453dc':
  Loosen fchmodat AT_SYMLINK_NOFOLLOW test on symlink.

9 years agoMerge "Generate sysv hash for libc, libstdc++ and libm"
Dmitriy Ivanov [Tue, 10 Mar 2015 04:41:01 +0000 (04:41 +0000)]
Merge "Generate sysv hash for libc, libstdc++ and libm"

9 years agoMerge "Loosen fchmodat AT_SYMLINK_NOFOLLOW test on symlink."
Yabin Cui [Tue, 10 Mar 2015 04:14:12 +0000 (04:14 +0000)]
Merge "Loosen fchmodat AT_SYMLINK_NOFOLLOW test on symlink."

9 years agoGenerate sysv hash for libc, libstdc++ and libm
Dmitriy Ivanov [Tue, 10 Mar 2015 02:38:56 +0000 (19:38 -0700)]
Generate sysv hash for libc, libstdc++ and libm

Bug: 19059885
Change-Id: I35e2a9cd0bb3914d9d0c82d163bfaf0fff844667