OSDN Git Service

android-x86/bionic.git
8 years agoMerge \\\\"Don\\\\'t declare SYS_* constants for unavailable __NR_* constants.\\...
Elliott Hughes [Mon, 18 Jul 2016 20:59:19 +0000 (20:59 +0000)]
Merge \\\\"Don\\\\'t declare SYS_* constants for unavailable __NR_* constants.\\\\" am: 20de9ef5bd am: 1b2b8362c9 am: 36edfa0260
am: 8f326adfab

Change-Id: I3e0b915f828f7e3438986f3e97f1fcce28ad2760

8 years agoMerge \\\"Don\\\'t declare SYS_* constants for unavailable __NR_* constants.\\\"...
Elliott Hughes [Mon, 18 Jul 2016 20:55:49 +0000 (20:55 +0000)]
Merge \\\"Don\\\'t declare SYS_* constants for unavailable __NR_* constants.\\\" am: 20de9ef5bd am: 1b2b8362c9
am: 36edfa0260

Change-Id: Ic2fc7cbae83a207b3409f9d3fcd47df97ff76be1

8 years agoMerge \\"Don\\'t declare SYS_* constants for unavailable __NR_* constants.\\" am...
Elliott Hughes [Mon, 18 Jul 2016 20:52:19 +0000 (20:52 +0000)]
Merge \\"Don\\'t declare SYS_* constants for unavailable __NR_* constants.\\" am: 20de9ef5bd
am: 1b2b8362c9

Change-Id: I38820757a6a083f7010a1e94d053372d99401c8c

8 years agoMerge \"Don\'t declare SYS_* constants for unavailable __NR_* constants.\"
Elliott Hughes [Mon, 18 Jul 2016 20:48:52 +0000 (20:48 +0000)]
Merge \"Don\'t declare SYS_* constants for unavailable __NR_* constants.\"
am: 20de9ef5bd

Change-Id: Ib9e6ef7fc06df0ac42414870061da287a9692d09

8 years agoMerge "Don't declare SYS_* constants for unavailable __NR_* constants."
Treehugger Robot [Mon, 18 Jul 2016 20:39:10 +0000 (20:39 +0000)]
Merge "Don't declare SYS_* constants for unavailable __NR_* constants."

8 years agoDon't declare SYS_* constants for unavailable __NR_* constants.
Elliott Hughes [Fri, 15 Jul 2016 22:47:47 +0000 (15:47 -0700)]
Don't declare SYS_* constants for unavailable __NR_* constants.

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

8 years agoMerge \\\"resolve merge conflicts of cf85fd5 to stage-aosp-master\\\" into stage...
Colin Cross [Fri, 15 Jul 2016 23:58:38 +0000 (23:58 +0000)]
Merge \\\"resolve merge conflicts of cf85fd5 to stage-aosp-master\\\" into stage-aosp-master am: 22d5ddcb95 am: f6e9894d18
am: 56b756661a

Change-Id: I957a2d3d707e8df0e21d22eb239e8bc729a4ff23

8 years agoresolve merge conflicts of cf85fd5 to stage-aosp-master am: 476950d104 am: fa3572cdec
Colin Cross [Fri, 15 Jul 2016 23:58:37 +0000 (23:58 +0000)]
resolve merge conflicts of cf85fd5 to stage-aosp-master am: 476950d104 am: fa3572cdec
am: b6289b56bb

Change-Id: I724b6fab88c11d4e2c768ce6423044234a925c3e

8 years agoMerge \\"resolve merge conflicts of cf85fd5 to stage-aosp-master\\" into stage-aosp...
Colin Cross [Fri, 15 Jul 2016 23:56:40 +0000 (23:56 +0000)]
Merge \\"resolve merge conflicts of cf85fd5 to stage-aosp-master\\" into stage-aosp-master am: 22d5ddcb95
am: f6e9894d18

Change-Id: I70de85907bf2296fefde333cdd8c9ac1a690514b

8 years agoresolve merge conflicts of cf85fd5 to stage-aosp-master am: 476950d104
Dimitry Ivanov [Fri, 15 Jul 2016 23:56:36 +0000 (23:56 +0000)]
resolve merge conflicts of cf85fd5 to stage-aosp-master am: 476950d104
am: fa3572cdec

Change-Id: I90a42442372475d6171ed7ab99be70b392ff8ae8

8 years agoMerge \"resolve merge conflicts of cf85fd5 to stage-aosp-master\" into stage-aosp...
Colin Cross [Fri, 15 Jul 2016 23:53:39 +0000 (23:53 +0000)]
Merge \"resolve merge conflicts of cf85fd5 to stage-aosp-master\" into stage-aosp-master
am: 22d5ddcb95

Change-Id: Ibb4f21faff2701b6ebc1e47154a8880dc3084dae

8 years agoresolve merge conflicts of cf85fd5 to stage-aosp-master
Colin Cross [Fri, 15 Jul 2016 23:53:37 +0000 (23:53 +0000)]
resolve merge conflicts of cf85fd5 to stage-aosp-master
am: 476950d104

Change-Id: I9663cbb46481cc026728a0ada38b061a3260dba1

8 years agoMerge "resolve merge conflicts of cf85fd5 to stage-aosp-master" into stage-aosp-master
TreeHugger Robot [Fri, 15 Jul 2016 23:51:04 +0000 (23:51 +0000)]
Merge "resolve merge conflicts of cf85fd5 to stage-aosp-master" into stage-aosp-master

8 years agoresolve merge conflicts of cf85fd5 to stage-aosp-master
Dimitry Ivanov [Fri, 15 Jul 2016 23:49:14 +0000 (16:49 -0700)]
resolve merge conflicts of cf85fd5 to stage-aosp-master

Change-Id: Id73b6e03a224ce9a3e3838731be24a16692ef6e0

8 years agoresolve merge conflicts of cf85fd5 to stage-aosp-master
Colin Cross [Fri, 15 Jul 2016 22:49:51 +0000 (15:49 -0700)]
resolve merge conflicts of cf85fd5 to stage-aosp-master

Change-Id: I29bb554c9469109f999c6921e169625ad52cc515

8 years agoMerge "Convert linker from Android.mk to Android.bp"
Treehugger Robot [Fri, 15 Jul 2016 22:31:13 +0000 (22:31 +0000)]
Merge "Convert linker from Android.mk to Android.bp"

8 years agoMerge \\\\"Put the legacy stdio fds back for pre-M.\\\\" am: 098d8ef5b2 am: 548d8e037...
Dan Albert [Fri, 15 Jul 2016 22:16:04 +0000 (22:16 +0000)]
Merge \\\\"Put the legacy stdio fds back for pre-M.\\\\" am: 098d8ef5b2 am: 548d8e0374 am: bba8702d7a
am: ade06ff924

Change-Id: I3cc16409169d94e3568908288bc9ea54f36a53a3

8 years agoMerge \\\"Put the legacy stdio fds back for pre-M.\\\" am: 098d8ef5b2 am: 548d8e0374
Dan Albert [Fri, 15 Jul 2016 21:53:28 +0000 (21:53 +0000)]
Merge \\\"Put the legacy stdio fds back for pre-M.\\\" am: 098d8ef5b2 am: 548d8e0374
am: bba8702d7a

Change-Id: I2c8b8a793f8f80f508d3056074a2c56185632cbc

8 years agoMerge \\"Put the legacy stdio fds back for pre-M.\\" am: 098d8ef5b2
Dan Albert [Fri, 15 Jul 2016 21:50:58 +0000 (21:50 +0000)]
Merge \\"Put the legacy stdio fds back for pre-M.\\" am: 098d8ef5b2
am: 548d8e0374

Change-Id: I26ca792199009a338c95414783470d9e77afa2b2

8 years agoMerge \"Put the legacy stdio fds back for pre-M.\"
Dan Albert [Fri, 15 Jul 2016 21:48:30 +0000 (21:48 +0000)]
Merge \"Put the legacy stdio fds back for pre-M.\"
am: 098d8ef5b2

Change-Id: I32565181dcfc9caab8212baa1c3f7a03f490ce0d

8 years agoMerge "Put the legacy stdio fds back for pre-M."
Treehugger Robot [Fri, 15 Jul 2016 21:33:00 +0000 (21:33 +0000)]
Merge "Put the legacy stdio fds back for pre-M."

8 years agoMerge \\\\"Add an alias for _CTYPE_N.\\\\" am: 730fa648c2 am: 32d7ca35ec am: 4fee863475
Dan Albert [Fri, 15 Jul 2016 21:16:17 +0000 (21:16 +0000)]
Merge \\\\"Add an alias for _CTYPE_N.\\\\" am: 730fa648c2 am: 32d7ca35ec am: 4fee863475
am: a6622e8aea

Change-Id: Ic4ddb6db9146ccae76dbf5ade07c3ad76b47923c

8 years agoMerge \\\"Add an alias for _CTYPE_N.\\\" am: 730fa648c2 am: 32d7ca35ec
Dan Albert [Fri, 15 Jul 2016 21:08:53 +0000 (21:08 +0000)]
Merge \\\"Add an alias for _CTYPE_N.\\\" am: 730fa648c2 am: 32d7ca35ec
am: 4fee863475

Change-Id: I5640bd451661e19097e1418dc17bc9eea29e8c47

8 years agoMerge \\"Add an alias for _CTYPE_N.\\" am: 730fa648c2
Dan Albert [Fri, 15 Jul 2016 21:05:23 +0000 (21:05 +0000)]
Merge \\"Add an alias for _CTYPE_N.\\" am: 730fa648c2
am: 32d7ca35ec

Change-Id: I68f304c9160874cd6e4f99470338f86b7a3d276f

8 years agoMerge \"Add an alias for _CTYPE_N.\"
Dan Albert [Fri, 15 Jul 2016 21:02:25 +0000 (21:02 +0000)]
Merge \"Add an alias for _CTYPE_N.\"
am: 730fa648c2

Change-Id: I84e7abe390146bfb2deb0987ccd997fd11c7d6aa

8 years agoMerge "Add an alias for _CTYPE_N."
Treehugger Robot [Fri, 15 Jul 2016 20:56:01 +0000 (20:56 +0000)]
Merge "Add an alias for _CTYPE_N."

8 years agoConvert linker from Android.mk to Android.bp
Colin Cross [Thu, 14 Jul 2016 23:05:46 +0000 (16:05 -0700)]
Convert linker from Android.mk to Android.bp

Change-Id: Ibf7da301defb2fd7e24fb3f4cd2e967a8f376497

8 years agoPut the legacy stdio fds back for pre-M.
Dan Albert [Fri, 15 Jul 2016 18:32:23 +0000 (11:32 -0700)]
Put the legacy stdio fds back for pre-M.

Change-Id: I2e397b04cba2969b9f9a3767b9b2fd12a289fcd2

8 years agoAdd an alias for _CTYPE_N.
Dan Albert [Fri, 15 Jul 2016 18:31:11 +0000 (11:31 -0700)]
Add an alias for _CTYPE_N.

gnustl is using this. It would be easy to change gnustl to *not* use
it for Android, but we've had this in released NDKs for years now so
we probably need this anyway.

Change-Id: I398a550664bf4ccbd9ea54f53c65428293a599a4

8 years agoForce pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC. am: a36b574011
Yabin Cui [Fri, 15 Jul 2016 19:26:58 +0000 (19:26 +0000)]
Force pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC. am: a36b574011
am: 29f5a7c437

Change-Id: If8c305e16d130e27ee94b4d7072521928b4f19f0

8 years agoForce pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC.
Yabin Cui [Fri, 15 Jul 2016 19:16:46 +0000 (19:16 +0000)]
Force pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC.
am: a36b574011

Change-Id: I04081491fd2c3db90396136c8aa4aaef2da80840

8 years agoMerge \\\\"Force pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC.\\\\" am...
Yabin Cui [Fri, 15 Jul 2016 01:47:14 +0000 (01:47 +0000)]
Merge \\\\"Force pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC.\\\\" am: a24a2476d0 am: cd165f63c2 am: ab3ac95ba5
am: be4bf64a88

Change-Id: If39d23fa4a439cdadc3d162bb87d1dfe065405f8

8 years agoMerge \\\"Force pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC.\\\" am...
Yabin Cui [Fri, 15 Jul 2016 01:44:52 +0000 (01:44 +0000)]
Merge \\\"Force pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC.\\\" am: a24a2476d0 am: cd165f63c2
am: ab3ac95ba5

Change-Id: I8c9b50a33dc834d9491124937e95883e8b1d43af

8 years agoMerge \\"Force pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC.\\" am: a24a2...
Yabin Cui [Fri, 15 Jul 2016 01:42:11 +0000 (01:42 +0000)]
Merge \\"Force pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC.\\" am: a24a2476d0
am: cd165f63c2

Change-Id: I2894b396e8dfd309a21eac2fc2c68bcb265ebce1

8 years agoMerge \"Force pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC.\"
Yabin Cui [Fri, 15 Jul 2016 01:39:12 +0000 (01:39 +0000)]
Merge \"Force pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC.\"
am: a24a2476d0

Change-Id: I5d1ebca87932f915fc33dd44d3b383e83b940d90

8 years agoForce pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC.
Yabin Cui [Wed, 13 Jul 2016 22:53:25 +0000 (15:53 -0700)]
Force pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC.

Previous patch changed pthread_cond_timedwait_relative_np to use
CLOCK_REALTIME, which causes app compatibility problem. So change
it back to CLOCK_MONOTONIC.

Bug: 30106240
Change-Id: I8e04058e92ede098f4f9f8d133f094001921441e
(cherry picked from commit fe4a4d8f67cf84b0b10d6c689f356229e057603b)

8 years agoMerge "Force pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC."
Yabin Cui [Fri, 15 Jul 2016 01:29:28 +0000 (01:29 +0000)]
Merge "Force pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC."

8 years agoMerge \\\\"Fix clean mma in bionic\\\\" am: 1e4a945f27 am: 14bef04838 am: 1a29a01213
Colin Cross [Fri, 15 Jul 2016 01:09:41 +0000 (01:09 +0000)]
Merge \\\\"Fix clean mma in bionic\\\\" am: 1e4a945f27 am: 14bef04838 am: 1a29a01213
am: e6852272dc

Change-Id: I2ebb423e818eae209892a57f9be7f281c02c8c7f

8 years agoMerge \\\"Fix clean mma in bionic\\\" am: 1e4a945f27 am: 14bef04838
Colin Cross [Fri, 15 Jul 2016 01:06:49 +0000 (01:06 +0000)]
Merge \\\"Fix clean mma in bionic\\\" am: 1e4a945f27 am: 14bef04838
am: 1a29a01213

Change-Id: Ifa2e0b161b0f63d6b16ee808dbcd63a16c908c2d

8 years agoMerge \\"Fix clean mma in bionic\\" am: 1e4a945f27
Colin Cross [Fri, 15 Jul 2016 01:04:08 +0000 (01:04 +0000)]
Merge \\"Fix clean mma in bionic\\" am: 1e4a945f27
am: 14bef04838

Change-Id: I0aa661c0ef65ca8eb763347c29c24fa122c847df

8 years agoMerge \"Fix clean mma in bionic\"
Colin Cross [Fri, 15 Jul 2016 01:00:44 +0000 (01:00 +0000)]
Merge \"Fix clean mma in bionic\"
am: 1e4a945f27

Change-Id: Ie6e69b74c7c1fa044db5e6eed58981ef0d57af28

8 years agoMerge "Fix clean mma in bionic"
Treehugger Robot [Fri, 15 Jul 2016 00:52:37 +0000 (00:52 +0000)]
Merge "Fix clean mma in bionic"

8 years agoFix clean mma in bionic
Colin Cross [Thu, 14 Jul 2016 23:53:18 +0000 (16:53 -0700)]
Fix clean mma in bionic

Change-Id: If2410c5ff9c08372098e5ec831e33e4da0e04b30

8 years agoMerge \\\\"Convert bionic benchmarks and tests to Android.bp\\\\" am: 55653cc33b...
Colin Cross [Thu, 14 Jul 2016 21:19:38 +0000 (21:19 +0000)]
Merge \\\\"Convert bionic benchmarks and tests to Android.bp\\\\" am: 55653cc33b am: 2d61b5bc3a am: 6de6d43cd3
am: e6ae372c11

Change-Id: I737b3bce2b394b61ea00e6557949998182ee95e0

8 years agoMerge \\\"Convert bionic benchmarks and tests to Android.bp\\\" am: 55653cc33b am...
Colin Cross [Thu, 14 Jul 2016 21:16:21 +0000 (21:16 +0000)]
Merge \\\"Convert bionic benchmarks and tests to Android.bp\\\" am: 55653cc33b am: 2d61b5bc3a
am: 6de6d43cd3

Change-Id: I9c826c1eb0c20f21eff250c34a300547acb968e2

8 years agoMerge \\"Convert bionic benchmarks and tests to Android.bp\\" am: 55653cc33b
Colin Cross [Thu, 14 Jul 2016 21:13:52 +0000 (21:13 +0000)]
Merge \\"Convert bionic benchmarks and tests to Android.bp\\" am: 55653cc33b
am: 2d61b5bc3a

Change-Id: Idaa5a2b6294e9b6ac8671812219c09e321443a15

8 years agoMerge \"Convert bionic benchmarks and tests to Android.bp\"
Colin Cross [Thu, 14 Jul 2016 21:11:23 +0000 (21:11 +0000)]
Merge \"Convert bionic benchmarks and tests to Android.bp\"
am: 55653cc33b

Change-Id: I577eb6db457bfbc520ca4528315715674173c489

8 years agoMerge "Convert bionic benchmarks and tests to Android.bp"
Treehugger Robot [Thu, 14 Jul 2016 21:05:27 +0000 (21:05 +0000)]
Merge "Convert bionic benchmarks and tests to Android.bp"

8 years agoMerge \\\\"Fix typo in the comment\\\\" am: d0e764f91e am: deabb9030b am: f9249f2508
Dimitry Ivanov [Thu, 14 Jul 2016 20:28:44 +0000 (20:28 +0000)]
Merge \\\\"Fix typo in the comment\\\\" am: d0e764f91e am: deabb9030b am: f9249f2508
am: 913cc4c936

Change-Id: I04e1bc424af9e81ee73b08123ecb73d1e5ef59eb

8 years agoMerge \\\"Fix typo in the comment\\\" am: d0e764f91e am: deabb9030b
Dimitry Ivanov [Thu, 14 Jul 2016 20:20:17 +0000 (20:20 +0000)]
Merge \\\"Fix typo in the comment\\\" am: d0e764f91e am: deabb9030b
am: f9249f2508

Change-Id: I9ef3aeb9d16876d5e4afa0e228f0124983bb7428

8 years agoMerge \\"Fix typo in the comment\\" am: d0e764f91e
Dimitry Ivanov [Thu, 14 Jul 2016 20:17:47 +0000 (20:17 +0000)]
Merge \\"Fix typo in the comment\\" am: d0e764f91e
am: deabb9030b

Change-Id: Ia5a3f485e5ee3aa57fab05d7b128376190c9e4d0

8 years agoMerge \"Fix typo in the comment\"
Dimitry Ivanov [Thu, 14 Jul 2016 20:14:51 +0000 (20:14 +0000)]
Merge \"Fix typo in the comment\"
am: d0e764f91e

Change-Id: Id4579211e39c2806debcda66c971473de7b2d2b6

8 years agoMerge "Fix typo in the comment"
Treehugger Robot [Thu, 14 Jul 2016 20:11:20 +0000 (20:11 +0000)]
Merge "Fix typo in the comment"

8 years agoMerge \\\\"Convert malloc_debug from Android.mk to Android.bp\\\\" am: 0393437b53...
Colin Cross [Thu, 14 Jul 2016 20:01:13 +0000 (20:01 +0000)]
Merge \\\\"Convert malloc_debug from Android.mk to Android.bp\\\\" am: 0393437b53 am: f45e58585c am: c1bfa89879
am: 7a7fc9798b

Change-Id: I553900c45e141c032fcbd18b1aa196c60b58697d

8 years agoMerge \\\"Convert malloc_debug from Android.mk to Android.bp\\\" am: 0393437b53 am...
Colin Cross [Thu, 14 Jul 2016 19:52:47 +0000 (19:52 +0000)]
Merge \\\"Convert malloc_debug from Android.mk to Android.bp\\\" am: 0393437b53 am: f45e58585c
am: c1bfa89879

Change-Id: Iab62bd34f8c56c6b43e49133486b589e57a0ab5e

8 years agoMerge \\"Convert malloc_debug from Android.mk to Android.bp\\" am: 0393437b53
Colin Cross [Thu, 14 Jul 2016 19:49:44 +0000 (19:49 +0000)]
Merge \\"Convert malloc_debug from Android.mk to Android.bp\\" am: 0393437b53
am: f45e58585c

Change-Id: I39f6281dd70582765e56a3aeb7f23fe2678fe5a5

8 years agoMerge \"Convert malloc_debug from Android.mk to Android.bp\"
Colin Cross [Thu, 14 Jul 2016 19:47:18 +0000 (19:47 +0000)]
Merge \"Convert malloc_debug from Android.mk to Android.bp\"
am: 0393437b53

Change-Id: Iea3dbd038677e42075c6be87fceeb32e442ae152

8 years agoMerge \\\\"Move relocation_packer from Android.mk to Android.bp\\\\" am: 41933386c0...
Colin Cross [Thu, 14 Jul 2016 19:45:22 +0000 (19:45 +0000)]
Merge \\\\"Move relocation_packer from Android.mk to Android.bp\\\\" am: 41933386c0 am: 0b6963e5b1 am: f74ab889a8
am: 34c8858882

Change-Id: I1750c4c4f7d9a6534a7fffe14c2c858212c14f2b

8 years agoMerge \\\"Move relocation_packer from Android.mk to Android.bp\\\" am: 41933386c0...
Colin Cross [Thu, 14 Jul 2016 19:44:45 +0000 (19:44 +0000)]
Merge \\\"Move relocation_packer from Android.mk to Android.bp\\\" am: 41933386c0 am: 0b6963e5b1
am: f74ab889a8

Change-Id: I66dbf3bd49cb1ecf11a196669fde4a9547597b47

8 years agoMerge "Convert malloc_debug from Android.mk to Android.bp"
Colin Cross [Thu, 14 Jul 2016 19:43:29 +0000 (19:43 +0000)]
Merge "Convert malloc_debug from Android.mk to Android.bp"

8 years agoMerge \\"Move relocation_packer from Android.mk to Android.bp\\" am: 41933386c0
Colin Cross [Thu, 14 Jul 2016 19:42:15 +0000 (19:42 +0000)]
Merge \\"Move relocation_packer from Android.mk to Android.bp\\" am: 41933386c0
am: 0b6963e5b1

Change-Id: I607ff599cf3a7508f733942eb73b65a7ec5ff053

8 years agoMerge \"Move relocation_packer from Android.mk to Android.bp\"
Colin Cross [Thu, 14 Jul 2016 19:39:18 +0000 (19:39 +0000)]
Merge \"Move relocation_packer from Android.mk to Android.bp\"
am: 41933386c0

Change-Id: Iaac010c42c1c1d75cd36645a8b25e89a05abac06

8 years agoMerge "Move relocation_packer from Android.mk to Android.bp"
Treehugger Robot [Thu, 14 Jul 2016 19:34:47 +0000 (19:34 +0000)]
Merge "Move relocation_packer from Android.mk to Android.bp"

8 years agoConvert bionic benchmarks and tests to Android.bp
Colin Cross [Mon, 11 Jul 2016 23:20:06 +0000 (16:20 -0700)]
Convert bionic benchmarks and tests to Android.bp

The compile-time tests and a few custom libraries for dynamic linker
testing are still compiled in make.

Also converts the make rules to run tests on the host to shell scripts
in tests/run-on-host.sh and benchmarks/run-on-host.sh

Change-Id: I6f174b3a69d58c4ed74d29f4e79332d483681534

8 years agoMerge \\\\"linker: Improve elf-file validation\\\\" am: 51f64197ae am: 0340450440...
Dimitry Ivanov [Thu, 14 Jul 2016 19:24:20 +0000 (19:24 +0000)]
Merge \\\\"linker: Improve elf-file validation\\\\" am: 51f64197ae am: 0340450440 am: 0352bb576f
am: 0fa8fb90cc

Change-Id: If59e5a12f4478dea1ff594c68e96fe3d57fcb65d

8 years agoMerge \\\"linker: Improve elf-file validation\\\" am: 51f64197ae am: 0340450440
Dimitry Ivanov [Thu, 14 Jul 2016 18:26:39 +0000 (18:26 +0000)]
Merge \\\"linker: Improve elf-file validation\\\" am: 51f64197ae am: 0340450440
am: 0352bb576f

Change-Id: Ic48f01904f0fadeca98e255da1473f56d66050f4

8 years agoMerge \\"linker: Improve elf-file validation\\" am: 51f64197ae
Dimitry Ivanov [Thu, 14 Jul 2016 18:21:08 +0000 (18:21 +0000)]
Merge \\"linker: Improve elf-file validation\\" am: 51f64197ae
am: 0340450440

Change-Id: I7ad18523f42a13680567df8f9bfbe03ea826247c

8 years agoMerge \"linker: Improve elf-file validation\"
Dimitry Ivanov [Thu, 14 Jul 2016 18:18:11 +0000 (18:18 +0000)]
Merge \"linker: Improve elf-file validation\"
am: 51f64197ae

Change-Id: I0093b7fda86f7445b5a6cbe55b7237cba3020af6

8 years agoFix typo in the comment
Dimitry Ivanov [Thu, 14 Jul 2016 18:15:44 +0000 (11:15 -0700)]
Fix typo in the comment

Addressing review comment from change I11bc2567b0cff89f48699ec74015991fee5b137b

Change-Id: I5d479ef61421c86fae06167815aa0a2681d9142d

8 years agoMerge "linker: Improve elf-file validation"
Dimitry Ivanov [Thu, 14 Jul 2016 18:12:59 +0000 (18:12 +0000)]
Merge "linker: Improve elf-file validation"

8 years agoMerge \\\\"Support 32-bit ARM vdso.\\\\" am: 85f900d589 am: 7513194e8a am: 2e9f66642f
Elliott Hughes [Thu, 14 Jul 2016 17:59:55 +0000 (17:59 +0000)]
Merge \\\\"Support 32-bit ARM vdso.\\\\" am: 85f900d589 am: 7513194e8a am: 2e9f66642f
am: c04673b68b

Change-Id: I8dcfc70368e161130e10fca79eac50094249bcae

8 years agoMerge \\\"Support 32-bit ARM vdso.\\\" am: 85f900d589 am: 7513194e8a
Elliott Hughes [Thu, 14 Jul 2016 17:51:32 +0000 (17:51 +0000)]
Merge \\\"Support 32-bit ARM vdso.\\\" am: 85f900d589 am: 7513194e8a
am: 2e9f66642f

Change-Id: I45e7324e714fd35613375183946487fb85a0ded1

8 years agoMerge \\"Support 32-bit ARM vdso.\\" am: 85f900d589
Elliott Hughes [Thu, 14 Jul 2016 17:41:10 +0000 (17:41 +0000)]
Merge \\"Support 32-bit ARM vdso.\\" am: 85f900d589
am: 7513194e8a

Change-Id: I4c07fdaf24894e5bb8a78deda56930fe08467557

8 years agoMerge \"Support 32-bit ARM vdso.\"
Elliott Hughes [Thu, 14 Jul 2016 17:32:57 +0000 (17:32 +0000)]
Merge \"Support 32-bit ARM vdso.\"
am: 85f900d589

Change-Id: I20c259c574b519e10efc054b7f2ae13ec9f7b451

8 years agoMerge "Support 32-bit ARM vdso."
Elliott Hughes [Thu, 14 Jul 2016 16:54:23 +0000 (16:54 +0000)]
Merge "Support 32-bit ARM vdso."

8 years agoConvert malloc_debug from Android.mk to Android.bp
Colin Cross [Wed, 13 Jul 2016 18:15:21 +0000 (11:15 -0700)]
Convert malloc_debug from Android.mk to Android.bp

Change-Id: I60ad376d222a92a29263c2804dcd1bd0d3c383d0

8 years agoMove relocation_packer from Android.mk to Android.bp
Colin Cross [Wed, 13 Jul 2016 21:01:45 +0000 (14:01 -0700)]
Move relocation_packer from Android.mk to Android.bp

Change-Id: I3d24f8513fe3ca19900705d4861ab797464e0930

8 years agoMerge \\\\"Fix dlext.ns_smoke test\\\\" am: 48cedda02a am: 4b0c4250d2 am: a80d01e62b
Dimitry Ivanov [Thu, 14 Jul 2016 00:41:30 +0000 (00:41 +0000)]
Merge \\\\"Fix dlext.ns_smoke test\\\\" am: 48cedda02a am: 4b0c4250d2 am: a80d01e62b
am: 8160c2c21f

Change-Id: I2ed56d8d50d5ce2549f625e5aa80c4680658180d

8 years agoMerge \\\"Fix dlext.ns_smoke test\\\" am: 48cedda02a am: 4b0c4250d2
Dimitry Ivanov [Thu, 14 Jul 2016 00:38:59 +0000 (00:38 +0000)]
Merge \\\"Fix dlext.ns_smoke test\\\" am: 48cedda02a am: 4b0c4250d2
am: a80d01e62b

Change-Id: I02f363288a29e2fcaacb2bbf225c5e42b6947511

8 years agoMerge \\"Fix dlext.ns_smoke test\\" am: 48cedda02a
Dimitry Ivanov [Thu, 14 Jul 2016 00:36:19 +0000 (00:36 +0000)]
Merge \\"Fix dlext.ns_smoke test\\" am: 48cedda02a
am: 4b0c4250d2

Change-Id: Ic531c6c295062c405b870ee23e985098c10de632

8 years agoMerge \"Fix dlext.ns_smoke test\"
Dimitry Ivanov [Thu, 14 Jul 2016 00:33:54 +0000 (00:33 +0000)]
Merge \"Fix dlext.ns_smoke test\"
am: 48cedda02a

Change-Id: Ib234e29c9e20b1a4133124b770c9674bd0a9dbdd

8 years agoMerge "Fix dlext.ns_smoke test"
Treehugger Robot [Thu, 14 Jul 2016 00:22:34 +0000 (00:22 +0000)]
Merge "Fix dlext.ns_smoke test"

8 years agolinker: Improve elf-file validation
Dimitry Ivanov [Thu, 14 Jul 2016 00:06:36 +0000 (17:06 -0700)]
linker: Improve elf-file validation

1. Make sure that the .dynamic section offset and size matches
   PT_DYNAMIC segment offset and filesz
2. No section offset can be 0

Bug: http://b/16548758
Bug: http://b/29637134
Change-Id: I11bc2567b0cff89f48699ec74015991fee5b137b
Test: Install and start the app from http://b/29637134

8 years agoFix dlext.ns_smoke test
Dimitry Ivanov [Wed, 13 Jul 2016 23:28:20 +0000 (16:28 -0700)]
Fix dlext.ns_smoke test

Check for updated error_message

Change-Id: I0f0dd59a6deba016d37d0ccc80113b62db86c1c2
Test: adb shell bionic-unit-tests32/64 --gtest_filter=dlext.ns*

8 years agoForce pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC.
Yabin Cui [Wed, 13 Jul 2016 22:53:25 +0000 (15:53 -0700)]
Force pthread_cond_timedwait_relative_np using CLOCK_MONOTONIC.

Previous patch changed pthread_cond_timedwait_relative_np to use
CLOCK_REALTIME, which causes app compatibility problem. So change
it back to CLOCK_MONOTONIC.

Bug: 30106240
Change-Id: I8e04058e92ede098f4f9f8d133f094001921441e

8 years agoMerge \\\\"Use trivial types to avoid calls to new for globals\\\\" am: cc55bd8313...
Dimitry Ivanov [Wed, 13 Jul 2016 19:08:26 +0000 (19:08 +0000)]
Merge \\\\"Use trivial types to avoid calls to new for globals\\\\" am: cc55bd8313 am: 0416887d5e am: 840897cda3
am: 9535201616

Change-Id: I0d4dbf6fed50575f3f92cba771add262600e227c

8 years agoMerge \\\"Use trivial types to avoid calls to new for globals\\\" am: cc55bd8313...
Dimitry Ivanov [Wed, 13 Jul 2016 18:57:35 +0000 (18:57 +0000)]
Merge \\\"Use trivial types to avoid calls to new for globals\\\" am: cc55bd8313 am: 0416887d5e
am: 840897cda3

Change-Id: I320a09661278dd47b33463f7ae435a57722785df

8 years agoMerge \\"Use trivial types to avoid calls to new for globals\\" am: cc55bd8313
Dimitry Ivanov [Wed, 13 Jul 2016 18:55:05 +0000 (18:55 +0000)]
Merge \\"Use trivial types to avoid calls to new for globals\\" am: cc55bd8313
am: 0416887d5e

Change-Id: I7dd192a9e65160f80ebcee0bf4d6b97070b85dd7

8 years agoMerge \"Use trivial types to avoid calls to new for globals\"
Dimitry Ivanov [Wed, 13 Jul 2016 18:52:31 +0000 (18:52 +0000)]
Merge \"Use trivial types to avoid calls to new for globals\"
am: cc55bd8313

Change-Id: I5b594d67c33e51b1b3c6013beca618e159cb409e

8 years agoMerge "Use trivial types to avoid calls to new for globals"
Dimitry Ivanov [Wed, 13 Jul 2016 18:45:00 +0000 (18:45 +0000)]
Merge "Use trivial types to avoid calls to new for globals"

8 years agoUse trivial types to avoid calls to new for globals
Dimitry Ivanov [Wed, 13 Jul 2016 17:24:06 +0000 (10:24 -0700)]
Use trivial types to avoid calls to new for globals

To avoid initialization ordering problem avoid constructing
non-trivial global objects for linker_logger.

This patch also adds explicit check for bloc_size_ on alloc

Change-Id: I2cb3b13a10b7fac1f52a20038af77266d3e1da96

8 years agoMerge \\\\"linker: Enable debug logging via properties\\\\" am: c8d5d2a524 am: c128cc...
Dimitry Ivanov [Tue, 12 Jul 2016 22:48:28 +0000 (22:48 +0000)]
Merge \\\\"linker: Enable debug logging via properties\\\\" am: c8d5d2a524 am: c128cc183e am: c31002b201
am: 45dcdfb6a9

Change-Id: I46afc12aed933582ebda4545f187a934e1d5e485

8 years agoMerge \\\"linker: Enable debug logging via properties\\\" am: c8d5d2a524 am: c128cc183e
Dimitry Ivanov [Tue, 12 Jul 2016 22:44:51 +0000 (22:44 +0000)]
Merge \\\"linker: Enable debug logging via properties\\\" am: c8d5d2a524 am: c128cc183e
am: c31002b201

Change-Id: Id6f87d17c0c921c9eee392473ff76c9df2542927

8 years agoMerge \\"linker: Enable debug logging via properties\\" am: c8d5d2a524
Dimitry Ivanov [Tue, 12 Jul 2016 22:41:18 +0000 (22:41 +0000)]
Merge \\"linker: Enable debug logging via properties\\" am: c8d5d2a524
am: c128cc183e

Change-Id: I5eff751b27a95a23af972fc7b6a502186c970bcc

8 years agoMerge \"linker: Enable debug logging via properties\"
Dimitry Ivanov [Tue, 12 Jul 2016 22:37:55 +0000 (22:37 +0000)]
Merge \"linker: Enable debug logging via properties\"
am: c8d5d2a524

Change-Id: Ia24feca7951934046f7255fbcc88f7a4cbe0c6e8

8 years agoMerge "linker: Enable debug logging via properties"
Treehugger Robot [Tue, 12 Jul 2016 22:27:19 +0000 (22:27 +0000)]
Merge "linker: Enable debug logging via properties"

8 years agolinker: Enable debug logging via properties
Dimitry Ivanov [Tue, 12 Jul 2016 01:11:39 +0000 (18:11 -0700)]
linker: Enable debug logging via properties

This patch lets developers tune logging of dlopen/dlerror with
setting system property.

Note that for security purposes this option is disabled on user build
for non-debuggable apps.

For starters there are 3 debug options:
 dlerror - enables logging of all dlerrors
 dlopen - traces dlopen calls

To enable system-wide logging (works only for userdebug/eng builds)
use debug.ld.all property.

To enable logging for particular app use debug.ld.app.<appname> property.

Example: Running "adb shell setprop debug.ld.all dlerror,dlopen" will log all
dlerror message as well as trace all calls to dlopen.

Bug: http://b/29458203
Change-Id: I2392c80a795509e16fe5689d0500d18b99772a64

8 years agoSupport 32-bit ARM vdso.
Elliott Hughes [Tue, 12 Jul 2016 20:55:51 +0000 (13:55 -0700)]
Support 32-bit ARM vdso.

Linux 4.1 added this.

Bug: http://b/19198045
Change-Id: I28be802ff403a61dd6733a001411b3ff05fef5a5

8 years agoMerge \\\\"Rename Android.soong.mk to Android.mk\\\\" am: 7fd1e75e24 am: 769f3a9153...
Colin Cross [Tue, 12 Jul 2016 16:44:31 +0000 (16:44 +0000)]
Merge \\\\"Rename Android.soong.mk to Android.mk\\\\" am: 7fd1e75e24 am: 769f3a9153 am: 497e71b18b
am: 4076f98c2d

Change-Id: Iefdaa1ef53f022bd0283d6ee1488ba4571c898a3

8 years agoMerge \\\"Rename Android.soong.mk to Android.mk\\\" am: 7fd1e75e24 am: 769f3a9153
Colin Cross [Tue, 12 Jul 2016 16:31:47 +0000 (16:31 +0000)]
Merge \\\"Rename Android.soong.mk to Android.mk\\\" am: 7fd1e75e24 am: 769f3a9153
am: 497e71b18b

Change-Id: I128192e15e4b69436dd7aba866d047420fa3f226