OSDN Git Service

android-x86/bionic.git
9 years agoam 8661b092: am a9c3d056: Merge "Modify MIPS64 stat structure to match a generic...
Elliott Hughes [Thu, 29 Jan 2015 01:42:06 +0000 (01:42 +0000)]
am 8661b092: am a9c3d056: Merge "Modify MIPS64 stat structure to match a generic one in AOSP."

* commit '8661b092fe24c6b56426e07c6f02f5d83daae172':
  Modify MIPS64 stat structure to match a generic one in AOSP.

9 years agoam a9c3d056: Merge "Modify MIPS64 stat structure to match a generic one in AOSP."
Elliott Hughes [Thu, 29 Jan 2015 01:35:38 +0000 (01:35 +0000)]
am a9c3d056: Merge "Modify MIPS64 stat structure to match a generic one in AOSP."

* commit 'a9c3d0569f3b9511af445457cd455a7bb967b60e':
  Modify MIPS64 stat structure to match a generic one in AOSP.

9 years agoMerge "Modify MIPS64 stat structure to match a generic one in AOSP."
Elliott Hughes [Thu, 29 Jan 2015 01:31:58 +0000 (01:31 +0000)]
Merge "Modify MIPS64 stat structure to match a generic one in AOSP."

9 years agoModify MIPS64 stat structure to match a generic one in AOSP.
Raghu Gandham [Thu, 15 Jan 2015 19:12:22 +0000 (11:12 -0800)]
Modify MIPS64 stat structure to match a generic one in AOSP.

The kernel version of the stat structure is used during the syscalls. After the syscall,
the kernel stat structure is converted to match the generic one. Eventually we would like
the generic stat structure and related syscalls be added to MIPS64 kernel, removing the
thunks added to AOSP.

Change-Id: I7764e80278c1cc8254754c3531ec2dda7544a8ec

9 years agoam 3c95c887: am 9e82c4be: Merge "Switch pthread_once_t to stdatomic.h."
Yabin Cui [Wed, 28 Jan 2015 21:27:32 +0000 (21:27 +0000)]
am 3c95c887: am 9e82c4be: Merge "Switch pthread_once_t to stdatomic.h."

* commit '3c95c887820018cff06039e1dc35afe585e661c1':
  Switch pthread_once_t to stdatomic.h.

9 years agoam 9e82c4be: Merge "Switch pthread_once_t to stdatomic.h."
Yabin Cui [Wed, 28 Jan 2015 21:20:54 +0000 (21:20 +0000)]
am 9e82c4be: Merge "Switch pthread_once_t to stdatomic.h."

* commit '9e82c4be359a4637f21988b66b6d25abbfb79ddb':
  Switch pthread_once_t to stdatomic.h.

9 years agoMerge "Switch pthread_once_t to stdatomic.h."
Yabin Cui [Wed, 28 Jan 2015 21:16:04 +0000 (21:16 +0000)]
Merge "Switch pthread_once_t to stdatomic.h."

9 years agoam 18661cd8: am 3780aba6: Merge "Fix mips64 build. Replace explicit cast with static_...
Dimitry Ivanov [Wed, 28 Jan 2015 17:42:47 +0000 (17:42 +0000)]
am 18661cd8: am 3780aba6: Merge "Fix mips64 build. Replace explicit cast with static_cast"

* commit '18661cd8881dfce34306242011198128867777bb':
  Fix mips64 build. Replace explicit cast with static_cast

9 years agoam 3780aba6: Merge "Fix mips64 build. Replace explicit cast with static_cast"
Dimitry Ivanov [Wed, 28 Jan 2015 17:39:01 +0000 (17:39 +0000)]
am 3780aba6: Merge "Fix mips64 build. Replace explicit cast with static_cast"

* commit '3780aba6352affc7d2dcdad0737cb4254448fcae':
  Fix mips64 build. Replace explicit cast with static_cast

9 years agoMerge "Fix mips64 build. Replace explicit cast with static_cast"
Dimitry Ivanov [Wed, 28 Jan 2015 17:34:51 +0000 (17:34 +0000)]
Merge "Fix mips64 build. Replace explicit cast with static_cast"

9 years agoFix mips64 build. Replace explicit cast with static_cast
Nikola Veljkovic [Wed, 28 Jan 2015 15:18:52 +0000 (16:18 +0100)]
Fix mips64 build. Replace explicit cast with static_cast

Change-Id: Ib08fbe8bb832884a3eb33904fe4d490759116cb2

9 years agoSwitch pthread_once_t to stdatomic.h.
Yabin Cui [Sat, 24 Jan 2015 02:21:46 +0000 (18:21 -0800)]
Switch pthread_once_t to stdatomic.h.

Bug: 17574610

Change-Id: I653f2aa4b5b38dbdaffe4a6c3deccfe6ad3b0e74

9 years agoam d13e6268: am 385c07a7: Merge "Fix parse of gtest_filter in bionic gtest main."
Yabin Cui [Tue, 27 Jan 2015 22:13:28 +0000 (22:13 +0000)]
am d13e6268: am 385c07a7: Merge "Fix parse of gtest_filter in bionic gtest main."

* commit 'd13e626817cfd552bf082fb35019177274147449':
  Fix parse of gtest_filter in bionic gtest main.

9 years agoam 385c07a7: Merge "Fix parse of gtest_filter in bionic gtest main."
Yabin Cui [Tue, 27 Jan 2015 22:05:40 +0000 (22:05 +0000)]
am 385c07a7: Merge "Fix parse of gtest_filter in bionic gtest main."

* commit '385c07a74ca5438a6f7fe0ada2b461f880563073':
  Fix parse of gtest_filter in bionic gtest main.

9 years agoMerge "Fix parse of gtest_filter in bionic gtest main."
Yabin Cui [Tue, 27 Jan 2015 22:00:35 +0000 (22:00 +0000)]
Merge "Fix parse of gtest_filter in bionic gtest main."

9 years agoam 6c55034a: am 86d98962: Merge "Fix mips build."
Elliott Hughes [Tue, 27 Jan 2015 19:51:12 +0000 (19:51 +0000)]
am 6c55034a: am 86d98962: Merge "Fix mips build."

* commit '6c55034a1d24caa82cb7e5a6c0ca71e9697c0f12':
  Fix mips build.

9 years agoam 86d98962: Merge "Fix mips build."
Elliott Hughes [Tue, 27 Jan 2015 19:43:32 +0000 (19:43 +0000)]
am 86d98962: Merge "Fix mips build."

* commit '86d9896273e81941d16034fdbf781a3f2bf94b81':
  Fix mips build.

9 years agoMerge "Fix mips build."
Elliott Hughes [Tue, 27 Jan 2015 19:39:37 +0000 (19:39 +0000)]
Merge "Fix mips build."

9 years agoFix parse of gtest_filter in bionic gtest main.
Yabin Cui [Tue, 27 Jan 2015 19:22:46 +0000 (11:22 -0800)]
Fix parse of gtest_filter in bionic gtest main.

Bug: 19130330
Change-Id: Id6a60570a8aab6ae7259ff228b3801285b378f77

9 years agoam aa0b88f7: am acc06a0b: Merge "Add a test for float registers across setjmp/logjmp."
Elliott Hughes [Tue, 27 Jan 2015 19:19:38 +0000 (19:19 +0000)]
am aa0b88f7: am acc06a0b: Merge "Add a test for float registers across setjmp/logjmp."

* commit 'aa0b88f7a8a96bef2cec739678ceb69c3f9f1ce1':
  Add a test for float registers across setjmp/logjmp.

9 years agoam acc06a0b: Merge "Add a test for float registers across setjmp/logjmp."
Elliott Hughes [Tue, 27 Jan 2015 19:13:23 +0000 (19:13 +0000)]
am acc06a0b: Merge "Add a test for float registers across setjmp/logjmp."

* commit 'acc06a0b74e41728c6067280134a59d8b700d535':
  Add a test for float registers across setjmp/logjmp.

9 years agoFix mips build.
Elliott Hughes [Tue, 27 Jan 2015 19:09:27 +0000 (11:09 -0800)]
Fix mips build.

Move various mips-only things into the arch-mips directory. As soon as mips
writes assembler replacements, we can remove these.

Change-Id: Ia7308559bc361f5c8df3e1d456b381865e060b93

9 years agoMerge "Add a test for float registers across setjmp/logjmp."
Elliott Hughes [Tue, 27 Jan 2015 19:08:33 +0000 (19:08 +0000)]
Merge "Add a test for float registers across setjmp/logjmp."

9 years agoam ca3396ef: am 192e169a: Merge "x86 has an assembler bcopy implementation."
Elliott Hughes [Tue, 27 Jan 2015 05:59:07 +0000 (05:59 +0000)]
am ca3396ef: am 192e169a: Merge "x86 has an assembler bcopy implementation."

* commit 'ca3396ef2d08777f83362c72939aed7cfd4f6edf':
  x86 has an assembler bcopy implementation.

9 years agoam 192e169a: Merge "x86 has an assembler bcopy implementation."
Elliott Hughes [Tue, 27 Jan 2015 05:52:55 +0000 (05:52 +0000)]
am 192e169a: Merge "x86 has an assembler bcopy implementation."

* commit '192e169a404fee48483335ed988788924266ff5d':
  x86 has an assembler bcopy implementation.

9 years agoMerge "x86 has an assembler bcopy implementation."
Elliott Hughes [Tue, 27 Jan 2015 05:46:55 +0000 (05:46 +0000)]
Merge "x86 has an assembler bcopy implementation."

9 years agox86 has an assembler bcopy implementation.
Elliott Hughes [Tue, 27 Jan 2015 05:45:56 +0000 (21:45 -0800)]
x86 has an assembler bcopy implementation.

Change-Id: I4ed7af3c5b104f86550120401f773150c460f37b

9 years agoam a8041f9b: am b518836e: Merge "Rename "TIMEWARN" to "SLOW" in bionic gtest."
Yabin Cui [Tue, 27 Jan 2015 05:43:37 +0000 (05:43 +0000)]
am a8041f9b: am b518836e: Merge "Rename "TIMEWARN" to "SLOW" in bionic gtest."

* commit 'a8041f9b1db0ea8e232bbd98eeb98b7395fca0e6':
  Rename "TIMEWARN" to "SLOW" in bionic gtest.

9 years agoam b518836e: Merge "Rename "TIMEWARN" to "SLOW" in bionic gtest."
Yabin Cui [Tue, 27 Jan 2015 05:38:20 +0000 (05:38 +0000)]
am b518836e: Merge "Rename "TIMEWARN" to "SLOW" in bionic gtest."

* commit 'b518836e8c8aa8fce933d59705a24543672bf238':
  Rename "TIMEWARN" to "SLOW" in bionic gtest.

9 years agoMerge "Rename "TIMEWARN" to "SLOW" in bionic gtest."
Yabin Cui [Tue, 27 Jan 2015 05:32:52 +0000 (05:32 +0000)]
Merge "Rename "TIMEWARN" to "SLOW" in bionic gtest."

9 years agoam 2bb5664f: am 643a9be8: Merge "[Arm64] Fix overlapping fp fields in jmp_buf"
Elliott Hughes [Tue, 27 Jan 2015 05:05:56 +0000 (05:05 +0000)]
am 2bb5664f: am 643a9be8: Merge "[Arm64] Fix overlapping fp fields in jmp_buf"

* commit '2bb5664f5e73221bbc14def1721bb541c901b277':
  [Arm64] Fix overlapping fp fields in jmp_buf

9 years agoam dedacf10: am 5c7964c5: Merge "Clean up <stdlib.h> slightly."
Elliott Hughes [Tue, 27 Jan 2015 05:00:11 +0000 (05:00 +0000)]
am dedacf10: am 5c7964c5: Merge "Clean up <stdlib.h> slightly."

* commit 'dedacf109b35e74d76594c29560a09f4ef3eb94d':
  Clean up <stdlib.h> slightly.

9 years agoam 643a9be8: Merge "[Arm64] Fix overlapping fp fields in jmp_buf"
Elliott Hughes [Tue, 27 Jan 2015 04:59:51 +0000 (04:59 +0000)]
am 643a9be8: Merge "[Arm64] Fix overlapping fp fields in jmp_buf"

* commit '643a9be82e4a9897f22cee6dcb6070ee102107d6':
  [Arm64] Fix overlapping fp fields in jmp_buf

9 years agoRename "TIMEWARN" to "SLOW" in bionic gtest.
Yabin Cui [Tue, 27 Jan 2015 01:19:37 +0000 (17:19 -0800)]
Rename "TIMEWARN" to "SLOW" in bionic gtest.

Bug: 19109188.
Change-Id: Idfe769ac652bf37642da24e4abb6061ca861d57e

9 years agoMerge "[Arm64] Fix overlapping fp fields in jmp_buf"
Elliott Hughes [Tue, 27 Jan 2015 04:56:19 +0000 (04:56 +0000)]
Merge "[Arm64] Fix overlapping fp fields in jmp_buf"

9 years agoam 5c7964c5: Merge "Clean up <stdlib.h> slightly."
Elliott Hughes [Tue, 27 Jan 2015 04:54:07 +0000 (04:54 +0000)]
am 5c7964c5: Merge "Clean up <stdlib.h> slightly."

* commit '5c7964c5f159bc3e1bbc577c7ace52177f399b21':
  Clean up <stdlib.h> slightly.

9 years agoAdd a test for float registers across setjmp/logjmp.
Elliott Hughes [Tue, 27 Jan 2015 04:52:34 +0000 (20:52 -0800)]
Add a test for float registers across setjmp/logjmp.

Change-Id: I17cc056b185755e0b91de096b5ceefee4f4e0b3a

9 years agoMerge "Clean up <stdlib.h> slightly."
Elliott Hughes [Tue, 27 Jan 2015 04:49:06 +0000 (04:49 +0000)]
Merge "Clean up <stdlib.h> slightly."

9 years agoam 329db346: am f2d02c38: Merge "Make bionic compile even if resolver debugging is...
Lorenzo Colitti [Tue, 27 Jan 2015 04:14:09 +0000 (04:14 +0000)]
am 329db346: am f2d02c38: Merge "Make bionic compile even if resolver debugging is enabled."

* commit '329db346f54c629e0c9fcc98c21c19619a573e9b':
  Make bionic compile even if resolver debugging is enabled.

9 years agoam f2d02c38: Merge "Make bionic compile even if resolver debugging is enabled."
Lorenzo Colitti [Tue, 27 Jan 2015 04:07:10 +0000 (04:07 +0000)]
am f2d02c38: Merge "Make bionic compile even if resolver debugging is enabled."

* commit 'f2d02c38fb7a7b91ddbb7e54fffa1e9c6c0c7449':
  Make bionic compile even if resolver debugging is enabled.

9 years agoMerge "Make bionic compile even if resolver debugging is enabled."
Lorenzo Colitti [Tue, 27 Jan 2015 04:02:42 +0000 (04:02 +0000)]
Merge "Make bionic compile even if resolver debugging is enabled."

9 years agoam 85ecef2c: am 5d428bba: Merge "Do not build host benchmark code on macs."
Christopher Ferris [Tue, 27 Jan 2015 02:18:49 +0000 (02:18 +0000)]
am 85ecef2c: am 5d428bba: Merge "Do not build host benchmark code on macs."

* commit '85ecef2c6b7a624ba9db066ebefcfd0d394da6af':
  Do not build host benchmark code on macs.

9 years agoam 65b227b0: am 0e6af17a: Merge "Support --gtest_ouput option in bionic gtest main."
Yabin Cui [Tue, 27 Jan 2015 02:18:17 +0000 (02:18 +0000)]
am 65b227b0: am 0e6af17a: Merge "Support --gtest_ouput option in bionic gtest main."

* commit '65b227b02e8239ee6a72c3c26f0b1937f80b8027':
  Support --gtest_ouput option in bionic gtest main.

9 years agoam 5d428bba: Merge "Do not build host benchmark code on macs."
Christopher Ferris [Tue, 27 Jan 2015 01:37:45 +0000 (01:37 +0000)]
am 5d428bba: Merge "Do not build host benchmark code on macs."

* commit '5d428bbab4d5a1124186a75bef6a4fb008682e43':
  Do not build host benchmark code on macs.

9 years agoMerge "Do not build host benchmark code on macs."
Christopher Ferris [Tue, 27 Jan 2015 01:32:06 +0000 (01:32 +0000)]
Merge "Do not build host benchmark code on macs."

9 years agoam 0e6af17a: Merge "Support --gtest_ouput option in bionic gtest main."
Yabin Cui [Tue, 27 Jan 2015 01:21:06 +0000 (01:21 +0000)]
am 0e6af17a: Merge "Support --gtest_ouput option in bionic gtest main."

* commit '0e6af17a35b1e5e6e8c4a22dcb934bb641a92488':
  Support --gtest_ouput option in bionic gtest main.

9 years agoMerge "Support --gtest_ouput option in bionic gtest main."
Yabin Cui [Tue, 27 Jan 2015 01:01:05 +0000 (01:01 +0000)]
Merge "Support --gtest_ouput option in bionic gtest main."

9 years agoDo not build host benchmark code on macs.
Christopher Ferris [Tue, 27 Jan 2015 00:54:40 +0000 (16:54 -0800)]
Do not build host benchmark code on macs.

Macs don't have clock_gettime, and it doesn't seem worth getting this
to run on the host for mac.

Change-Id: I59d9939acc2ede1308b24a60c4242d45355d967d

9 years agoSupport --gtest_ouput option in bionic gtest main.
Yabin Cui [Fri, 23 Jan 2015 03:26:12 +0000 (19:26 -0800)]
Support --gtest_ouput option in bionic gtest main.

Bug: 19109500
Change-Id: Ib18f90ad522e66ea62dd4e02e314585d9b36e15f

9 years ago[Arm64] Fix overlapping fp fields in jmp_buf
Duane Sand [Tue, 27 Jan 2015 00:20:05 +0000 (16:20 -0800)]
[Arm64] Fix overlapping fp fields in jmp_buf

Change-Id: I9be9f118108f3f6e2bb02a5b01e0420fbfd15d85

9 years agoClean up <stdlib.h> slightly.
Elliott Hughes [Mon, 26 Jan 2015 21:34:58 +0000 (13:34 -0800)]
Clean up <stdlib.h> slightly.

Interestingly, this mostly involves cleaning up our implementation of
various <string.h> functions.

Change-Id: Ifaef49b5cb997134f7bc0cc31bdac844bdb9e089

9 years agoam a5af57d3: am 419ed122: Merge "Update kernel headers to v3.18.3."
Christopher Ferris [Mon, 26 Jan 2015 21:45:15 +0000 (21:45 +0000)]
am a5af57d3: am 419ed122: Merge "Update kernel headers to v3.18.3."

* commit 'a5af57d3e6e8cccf32d0e84eb148b5f4b9db3552':
  Update kernel headers to v3.18.3.

9 years agoam 419ed122: Merge "Update kernel headers to v3.18.3."
Christopher Ferris [Mon, 26 Jan 2015 21:33:55 +0000 (21:33 +0000)]
am 419ed122: Merge "Update kernel headers to v3.18.3."

* commit '419ed122aa21cf04334f21baab135ac4f9f49840':
  Update kernel headers to v3.18.3.

9 years agoMerge "Update kernel headers to v3.18.3."
Christopher Ferris [Mon, 26 Jan 2015 21:27:51 +0000 (21:27 +0000)]
Merge "Update kernel headers to v3.18.3."

9 years agoam e3c350f8: am 247cfe03: Merge "Add <error.h>."
Elliott Hughes [Mon, 26 Jan 2015 20:53:58 +0000 (20:53 +0000)]
am e3c350f8: am 247cfe03: Merge "Add <error.h>."

* commit 'e3c350f8c8a3be0637e4894639b14a3965a1b312':
  Add <error.h>.

9 years agoam 247cfe03: Merge "Add <error.h>."
Elliott Hughes [Mon, 26 Jan 2015 20:46:58 +0000 (20:46 +0000)]
am 247cfe03: Merge "Add <error.h>."

* commit '247cfe03825f46e38371954d04fcb90a8b36c824':
  Add <error.h>.

9 years agoMerge "Add <error.h>."
Elliott Hughes [Mon, 26 Jan 2015 20:38:46 +0000 (20:38 +0000)]
Merge "Add <error.h>."

9 years agoAdd <error.h>.
Elliott Hughes [Sun, 25 Jan 2015 02:36:29 +0000 (18:36 -0800)]
Add <error.h>.

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

9 years agoUpdate kernel headers to v3.18.3.
Christopher Ferris [Mon, 26 Jan 2015 18:57:07 +0000 (10:57 -0800)]
Update kernel headers to v3.18.3.

Bug: 19127803
Change-Id: I67fa0832322ddd0032d909476047578be052bcf2

9 years agoMake bionic compile even if resolver debugging is enabled.
Lorenzo Colitti [Fri, 28 Nov 2014 02:47:13 +0000 (11:47 +0900)]
Make bionic compile even if resolver debugging is enabled.

The code now compiles with all combinations of DEBUG and
DEBUG_DATA except DEBUG_DATA=1, DEBUG=0, which is unsupported.

Change-Id: I9035a65c649df73092f1fc0864ae1cdd9a14aa3b

9 years agoam 2991f2a3: am 6eb5dc1d: Merge "Fix coverage build after adding clang coverage."
Dan Albert [Sun, 25 Jan 2015 23:05:47 +0000 (23:05 +0000)]
am 2991f2a3: am 6eb5dc1d: Merge "Fix coverage build after adding clang coverage."

* commit '2991f2a3d92f54757c0e726a3dcaa103cd8fed9e':
  Fix coverage build after adding clang coverage.

9 years agoam 6eb5dc1d: Merge "Fix coverage build after adding clang coverage."
Dan Albert [Sun, 25 Jan 2015 22:55:24 +0000 (22:55 +0000)]
am 6eb5dc1d: Merge "Fix coverage build after adding clang coverage."

* commit '6eb5dc1d9c38ff8f717b70a2f66417c599aeb08c':
  Fix coverage build after adding clang coverage.

9 years agoMerge "Fix coverage build after adding clang coverage."
Dan Albert [Sun, 25 Jan 2015 22:51:37 +0000 (22:51 +0000)]
Merge "Fix coverage build after adding clang coverage."

9 years agoFix coverage build after adding clang coverage.
Dan Albert [Sun, 25 Jan 2015 22:27:51 +0000 (14:27 -0800)]
Fix coverage build after adding clang coverage.

Static libraries are painful. Details are in the comment. I'll try to
get prebuilts in to the tree so I can fix this on Monday. Until then,
this isn't actually a regression because we've not had coverage
available for this library until now anyway.

Bug: 17574078
Change-Id: I7505c8a94007203e15a6cf192caa06004849d7d9

9 years agoam c7aaf228: am f108bbba: Merge "Remove obsolete BUILD_TINY_ANDROID."
Elliott Hughes [Sun, 25 Jan 2015 20:42:50 +0000 (20:42 +0000)]
am c7aaf228: am f108bbba: Merge "Remove obsolete BUILD_TINY_ANDROID."

* commit 'c7aaf228beddc4c68a3e4f3986aee40c568c208c':
  Remove obsolete BUILD_TINY_ANDROID.

9 years agoam f108bbba: Merge "Remove obsolete BUILD_TINY_ANDROID."
Elliott Hughes [Sun, 25 Jan 2015 05:17:29 +0000 (05:17 +0000)]
am f108bbba: Merge "Remove obsolete BUILD_TINY_ANDROID."

* commit 'f108bbbaf7a11c3226780d0424fa123155e30f36':
  Remove obsolete BUILD_TINY_ANDROID.

9 years agoMerge "Remove obsolete BUILD_TINY_ANDROID."
Elliott Hughes [Sun, 25 Jan 2015 05:09:20 +0000 (05:09 +0000)]
Merge "Remove obsolete BUILD_TINY_ANDROID."

9 years agoRemove obsolete BUILD_TINY_ANDROID.
Elliott Hughes [Sun, 25 Jan 2015 03:01:58 +0000 (19:01 -0800)]
Remove obsolete BUILD_TINY_ANDROID.

Change-Id: If2fc97134340fd09ec2583b666ace2f673cbdf66

9 years agoam 7eed99da: am 66eeec8e: Merge "Reduce <stdlib.h> namespace pollution."
Elliott Hughes [Sat, 24 Jan 2015 23:53:11 +0000 (23:53 +0000)]
am 7eed99da: am 66eeec8e: Merge "Reduce <stdlib.h> namespace pollution."

* commit '7eed99dad95003b8b40e6a1136bd83ac68dc54dc':
  Reduce <stdlib.h> namespace pollution.

9 years agoam 66eeec8e: Merge "Reduce <stdlib.h> namespace pollution."
Elliott Hughes [Sat, 24 Jan 2015 23:47:36 +0000 (23:47 +0000)]
am 66eeec8e: Merge "Reduce <stdlib.h> namespace pollution."

* commit '66eeec8e160feddc2b35c4ff9d20de92f37331dd':
  Reduce <stdlib.h> namespace pollution.

9 years agoMerge "Reduce <stdlib.h> namespace pollution."
Elliott Hughes [Sat, 24 Jan 2015 23:44:26 +0000 (23:44 +0000)]
Merge "Reduce <stdlib.h> namespace pollution."

9 years agoReduce <stdlib.h> namespace pollution.
Elliott Hughes [Sat, 24 Jan 2015 23:22:57 +0000 (15:22 -0800)]
Reduce <stdlib.h> namespace pollution.

<stdlib.h> shouldn't drag in all of <string.h>.

Change-Id: I949172f7ff17e329e411e5054e50f79c13775444

9 years agoam 12144696: am 62d20fb2: Merge "Reduce <signal.h> namespace pollution."
Elliott Hughes [Sat, 24 Jan 2015 22:47:01 +0000 (22:47 +0000)]
am 12144696: am 62d20fb2: Merge "Reduce <signal.h> namespace pollution."

* commit '12144696ac9b53462fbfb0fb4f1a181e10df7437':
  Reduce <signal.h> namespace pollution.

9 years agoam 62d20fb2: Merge "Reduce <signal.h> namespace pollution."
Elliott Hughes [Sat, 24 Jan 2015 22:41:01 +0000 (22:41 +0000)]
am 62d20fb2: Merge "Reduce <signal.h> namespace pollution."

* commit '62d20fb21948d7a31d453ec08ed5abc02d3dd1d3':
  Reduce <signal.h> namespace pollution.

9 years agoMerge "Reduce <signal.h> namespace pollution."
Elliott Hughes [Sat, 24 Jan 2015 22:34:51 +0000 (22:34 +0000)]
Merge "Reduce <signal.h> namespace pollution."

9 years agoReduce <signal.h> namespace pollution.
Elliott Hughes [Sat, 24 Jan 2015 22:18:16 +0000 (14:18 -0800)]
Reduce <signal.h> namespace pollution.

<signal.h> shouldn't drag in all of <string.h>.

Change-Id: I57aea36dad5e89ea2f9541c35594ca6225e532be

9 years agoam 61a80735: am 6e15edcc: Merge "Say "Bad file descriptor" rather than "Bad file...
Elliott Hughes [Sat, 24 Jan 2015 22:18:09 +0000 (22:18 +0000)]
am 61a80735: am 6e15edcc: Merge "Say "Bad file descriptor" rather than "Bad file number"."

* commit '61a8073565dd9870f4f93a96f91881955833757b':
  Say "Bad file descriptor" rather than "Bad file number".

9 years agoam 6e15edcc: Merge "Say "Bad file descriptor" rather than "Bad file number"."
Elliott Hughes [Sat, 24 Jan 2015 22:12:06 +0000 (22:12 +0000)]
am 6e15edcc: Merge "Say "Bad file descriptor" rather than "Bad file number"."

* commit '6e15edcca5f5b35221b33e9994c236f148cb3c38':
  Say "Bad file descriptor" rather than "Bad file number".

9 years agoMerge "Say "Bad file descriptor" rather than "Bad file number"."
Elliott Hughes [Sat, 24 Jan 2015 22:08:19 +0000 (22:08 +0000)]
Merge "Say "Bad file descriptor" rather than "Bad file number"."

9 years agoSay "Bad file descriptor" rather than "Bad file number".
Elliott Hughes [Sat, 24 Jan 2015 21:38:57 +0000 (13:38 -0800)]
Say "Bad file descriptor" rather than "Bad file number".

This text is actually in POSIX (though it's not mandatory) and it's what glibc
says. Who says "file number" anyway?

Change-Id: Icc91ac24587c2bc692e0b97c19d32ac1bdda4ea7

9 years agoam 94a4a173: am 59936a3b: Merge "Fix optimized fread."
Elliott Hughes [Sat, 24 Jan 2015 21:38:15 +0000 (21:38 +0000)]
am 94a4a173: am 59936a3b: Merge "Fix optimized fread."

* commit '94a4a173d24ce8feac5c49fb5ad209a836d41439':
  Fix optimized fread.

9 years agoam 59936a3b: Merge "Fix optimized fread."
Elliott Hughes [Sat, 24 Jan 2015 21:31:09 +0000 (21:31 +0000)]
am 59936a3b: Merge "Fix optimized fread."

* commit '59936a3b51474fc3216659f089ff6543ac31ab4e':
  Fix optimized fread.

9 years agoMerge "Fix optimized fread."
Elliott Hughes [Sat, 24 Jan 2015 21:25:05 +0000 (21:25 +0000)]
Merge "Fix optimized fread."

9 years agoFix optimized fread.
Elliott Hughes [Sat, 24 Jan 2015 01:48:15 +0000 (17:48 -0800)]
Fix optimized fread.

gcov does writes after reads on the same stream, but the bulk read optimization
was clobbering the FILE _flags, causing fwrite to fail.

Bug: 19129055
Change-Id: I9650cb7de4bb173a706b502406266ed0d2b654d7

9 years agoam 37043dff: am 31005ca4: Merge "Minimize calls to mprotect"
Dmitriy Ivanov [Sat, 24 Jan 2015 00:59:54 +0000 (00:59 +0000)]
am 37043dff: am 31005ca4: Merge "Minimize calls to mprotect"

* commit '37043dff1d2d7ea475cea1ef5728fbf88f6fb321':
  Minimize calls to mprotect

9 years agoam 31005ca4: Merge "Minimize calls to mprotect"
Dmitriy Ivanov [Sat, 24 Jan 2015 00:51:09 +0000 (00:51 +0000)]
am 31005ca4: Merge "Minimize calls to mprotect"

* commit '31005ca4c8562f3e6dfbed079eeaff8361ff8cdc':
  Minimize calls to mprotect

9 years agoMerge "Minimize calls to mprotect"
Dmitriy Ivanov [Sat, 24 Jan 2015 00:41:52 +0000 (00:41 +0000)]
Merge "Minimize calls to mprotect"

9 years agoMinimize calls to mprotect
Dmitriy Ivanov [Fri, 23 Jan 2015 20:03:53 +0000 (12:03 -0800)]
Minimize calls to mprotect

  Implement refcounter based data protection guard
  to avoid unnecessary calls to mprotect when dlopen/dlclose
  is called from a constructor.

Bug: 19124318
Big: 7941716
Change-Id: Id221b84ce75443094f99756dc9950b0a1dc87222

9 years agoam e6ad1630: am 305be18d: Merge "Allow make to set a timeout for the host tests."
Dan Albert [Sat, 24 Jan 2015 00:13:54 +0000 (00:13 +0000)]
am e6ad1630: am 305be18d: Merge "Allow make to set a timeout for the host tests."

* commit 'e6ad16304d054a9e6fff25693153a03455808bde':
  Allow make to set a timeout for the host tests.

9 years agoam 305be18d: Merge "Allow make to set a timeout for the host tests."
Dan Albert [Sat, 24 Jan 2015 00:07:20 +0000 (00:07 +0000)]
am 305be18d: Merge "Allow make to set a timeout for the host tests."

* commit '305be18d10254df4a9444f8505f569e94718f488':
  Allow make to set a timeout for the host tests.

9 years agoam 75bce066: am f5ae7e91: Merge "Add comments about the -shared flag."
Chih-Hung Hsieh [Sat, 24 Jan 2015 00:04:17 +0000 (00:04 +0000)]
am 75bce066: am f5ae7e91: Merge "Add comments about the -shared flag."

* commit '75bce0660ad558577dd5a2913f8fbcd39da1cbb6':
  Add comments about the -shared flag.

9 years agoMerge "Allow make to set a timeout for the host tests."
Dan Albert [Sat, 24 Jan 2015 00:01:39 +0000 (00:01 +0000)]
Merge "Allow make to set a timeout for the host tests."

9 years agoam f5ae7e91: Merge "Add comments about the -shared flag."
Chih-Hung Hsieh [Fri, 23 Jan 2015 23:41:01 +0000 (23:41 +0000)]
am f5ae7e91: Merge "Add comments about the -shared flag."

* commit 'f5ae7e91ea2c3364d6423ef4d54f5f295197335f':
  Add comments about the -shared flag.

9 years agoMerge "Add comments about the -shared flag."
Chih-Hung Hsieh [Fri, 23 Jan 2015 23:33:54 +0000 (23:33 +0000)]
Merge "Add comments about the -shared flag."

9 years agoAllow make to set a timeout for the host tests.
Dan Albert [Fri, 23 Jan 2015 19:35:48 +0000 (11:35 -0800)]
Allow make to set a timeout for the host tests.

Change-Id: Icc2ebf64bd1da1687bf313fe7a5640155c5795d8

9 years agoam cf744fc8: am 7f3d65de: Merge "Add a log message to make the transition from linker...
Elliott Hughes [Fri, 23 Jan 2015 19:14:16 +0000 (19:14 +0000)]
am cf744fc8: am 7f3d65de: Merge "Add a log message to make the transition from linker to user code clear."

* commit 'cf744fc89a7bac815bb42802dcfce73101ddbe1d':
  Add a log message to make the transition from linker to user code clear.

9 years agoam 7f3d65de: Merge "Add a log message to make the transition from linker to user...
Elliott Hughes [Fri, 23 Jan 2015 18:59:45 +0000 (18:59 +0000)]
am 7f3d65de: Merge "Add a log message to make the transition from linker to user code clear."

* commit '7f3d65de8cf2920981d73adee278c0d7bee79170':
  Add a log message to make the transition from linker to user code clear.

9 years agoMerge "Add a log message to make the transition from linker to user code clear."
Elliott Hughes [Fri, 23 Jan 2015 18:55:29 +0000 (18:55 +0000)]
Merge "Add a log message to make the transition from linker to user code clear."

9 years agoAdd a log message to make the transition from linker to user code clear.
Elliott Hughes [Fri, 23 Jan 2015 18:43:58 +0000 (10:43 -0800)]
Add a log message to make the transition from linker to user code clear.

Handy when looking at strace output for seeing "where does my code start?",
though you'll need to set LD_DEBUG=1 (or greater) and constructors will
already have run (but you can set LD_DEBUG to a higher value to track that).

Change-Id: I82d53a7123b39febf5b2a956de83c8a30f229651

9 years agoam 8e2b0e55: am bb3b1303: Merge "Enable -Wold-style-cast warnings for linker"
Dmitriy Ivanov [Fri, 23 Jan 2015 03:28:02 +0000 (03:28 +0000)]
am 8e2b0e55: am bb3b1303: Merge "Enable -Wold-style-cast warnings for linker"

* commit '8e2b0e550a8e64da23c95fe265dbea7c6701e7c1':
  Enable -Wold-style-cast warnings for linker