OSDN Git Service

android-x86/bionic.git
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: 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
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.
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: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
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 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
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 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: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 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
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
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 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: 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:31:47 +0000 (16:31 +0000)]
Merge \\\"Rename Android.soong.mk to Android.mk\\\" am: 7fd1e75e24 am: 769f3a9153
am: 497e71b18b

Change-Id: I128192e15e4b69436dd7aba866d047420fa3f226

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

Change-Id: I3c2f41d6dd28414fca6315a65a1c2e32a05d09ec

8 years agoMerge \"Rename Android.soong.mk to Android.mk\"
Colin Cross [Tue, 12 Jul 2016 16:20:25 +0000 (16:20 +0000)]
Merge \"Rename Android.soong.mk to Android.mk\"
am: 7fd1e75e24

Change-Id: I6ee75b0f4f53667eb820542529febcbe1751a494

8 years agoMerge "Rename Android.soong.mk to Android.mk"
Colin Cross [Tue, 12 Jul 2016 16:15:53 +0000 (16:15 +0000)]
Merge "Rename Android.soong.mk to Android.mk"

8 years agoRename Android.soong.mk to Android.mk
Colin Cross [Mon, 11 Jul 2016 23:54:20 +0000 (16:54 -0700)]
Rename Android.soong.mk to Android.mk

Soong is always on now, so we don't have to distinguish between
makefiles that should be ignored because Soong is handling them with an
Android.bp file, and makefiles that are still needed with Soong.  All
obsolete Android.mk files have been removed, rename all Android.soong.mk
files to Android.mk.

Change-Id: Ic0494e1800dec13a9f5714559cffe3a5ebe49418

8 years agoMerge \\\"Update the kernel header documentation.\\\" am: 4580ea4f16 am: ec9c1d3f00
Christopher Ferris [Fri, 8 Jul 2016 22:41:35 +0000 (22:41 +0000)]
Merge \\\"Update the kernel header documentation.\\\" am: 4580ea4f16 am: ec9c1d3f00
am: 60e035b1cc

Change-Id: I867e9bf3cd71c6f223383f7c0326aeb782c2c1ec

8 years agoMerge \\"Update the kernel header documentation.\\" am: 4580ea4f16
Christopher Ferris [Fri, 8 Jul 2016 22:39:14 +0000 (22:39 +0000)]
Merge \\"Update the kernel header documentation.\\" am: 4580ea4f16
am: ec9c1d3f00

Change-Id: Iaa34ff467fb27e223998b99b7fbe1d68d3d68482

8 years agoMerge \"Update the kernel header documentation.\"
Christopher Ferris [Fri, 8 Jul 2016 22:36:56 +0000 (22:36 +0000)]
Merge \"Update the kernel header documentation.\"
am: 4580ea4f16

Change-Id: I69c3d6edb6107183da96f4bf5b36d15cc50dc525

8 years agoMerge "Update the kernel header documentation."
Christopher Ferris [Fri, 8 Jul 2016 22:31:14 +0000 (22:31 +0000)]
Merge "Update the kernel header documentation."

8 years agoUpdate the kernel header documentation.
Christopher Ferris [Fri, 8 Jul 2016 22:25:21 +0000 (15:25 -0700)]
Update the kernel header documentation.

Change the references to using the android kernel source, to use
the linux stable source code repository.

Change-Id: Ibc6c90fc67c80bef235459bb3af31656f4d403ac

8 years agoMerge \\\"Add the record alloc option.\\\" am: 779aa5ac33 am: 1d9f403ec4
Christopher Ferris [Fri, 8 Jul 2016 22:09:43 +0000 (22:09 +0000)]
Merge \\\"Add the record alloc option.\\\" am: 779aa5ac33 am: 1d9f403ec4
am: 7db8f5ecfb

Change-Id: I4e7d7ace7f582e6a3f89c71ff5b4466d161c2dd8

8 years agoMerge \\"Add the record alloc option.\\" am: 779aa5ac33
Christopher Ferris [Fri, 8 Jul 2016 22:07:24 +0000 (22:07 +0000)]
Merge \\"Add the record alloc option.\\" am: 779aa5ac33
am: 1d9f403ec4

Change-Id: I783522616837b54b695fa1cc9f480c7264d6c238

8 years agoMerge \"Add the record alloc option.\"
Christopher Ferris [Fri, 8 Jul 2016 22:05:00 +0000 (22:05 +0000)]
Merge \"Add the record alloc option.\"
am: 779aa5ac33

Change-Id: Icdda3305fef2804b92692b31459fcfde2c83de1c

8 years agoMerge "Add the record alloc option."
Treehugger Robot [Fri, 8 Jul 2016 21:59:18 +0000 (21:59 +0000)]
Merge "Add the record alloc option."

8 years agoAdd the record alloc option.
Christopher Ferris [Wed, 20 Apr 2016 19:30:58 +0000 (12:30 -0700)]
Add the record alloc option.

This option adds the ability to record all of the allocation requests
and dump them to a file when a signal is sent to the process.

Included in this change, redo the option processing to add a new
string option.

Bug: 27747898

Change-Id: Ida043362e38b5eb1d459c99db9c2581015dab366

8 years agoMerge "Update timezone data to 2016f am: 88d23859e0 am: 6c4968a6e7 am: a884aa8df7...
Android Build Merger (Role) [Thu, 7 Jul 2016 16:10:59 +0000 (16:10 +0000)]
Merge "Update timezone data to 2016f am: 88d23859e0 am: 6c4968a6e7 am: a884aa8df7 am: bc1ce3b828 am: 8fce5a6558" into nyc-mr1-dev-plus-aosp

8 years agoUpdate timezone data to 2016f am: 88d23859e0 am: 6c4968a6e7 am: a884aa8df7 am: bc1ce3b828
Neil Fuller [Thu, 7 Jul 2016 16:10:37 +0000 (16:10 +0000)]
Update timezone data to 2016f am: 88d23859e0 am: 6c4968a6e7 am: a884aa8df7 am: bc1ce3b828
am: 8fce5a6558

Change-Id: Ia9b98d9acb658e7b02a5729411fc70736a85ba23

8 years agoUpdate timezone data to 2016f am: 88d23859e0 am: 6c4968a6e7 am: a884aa8df7 am: bc1ce3b828
Neil Fuller [Thu, 7 Jul 2016 16:10:35 +0000 (16:10 +0000)]
Update timezone data to 2016f am: 88d23859e0 am: 6c4968a6e7 am: a884aa8df7 am: bc1ce3b828
am: 61e618227d

Change-Id: Ia88063a465b3241773cf0a714f4134c5d99428b5

8 years agoUpdate timezone data to 2016f am: 88d23859e0 am: 6c4968a6e7 am: a884aa8df7
Neil Fuller [Thu, 7 Jul 2016 16:07:49 +0000 (16:07 +0000)]
Update timezone data to 2016f am: 88d23859e0 am: 6c4968a6e7 am: a884aa8df7
am: bc1ce3b828

Change-Id: I61c8c4b1d68053cc7bc5dbfbbdc1e6b90824b81e

8 years agoUpdate timezone data to 2016f am: 88d23859e0 am: 6c4968a6e7 am: a884aa8df7
Neil Fuller [Thu, 7 Jul 2016 16:07:46 +0000 (16:07 +0000)]
Update timezone data to 2016f am: 88d23859e0 am: 6c4968a6e7 am: a884aa8df7
am: bc1ce3b828

Change-Id: I7cfc0bb7755fb4c0559c79ec458610a59c398482

8 years agoUpdate timezone data to 2016f am: 88d23859e0 am: 6c4968a6e7
Neil Fuller [Thu, 7 Jul 2016 16:05:31 +0000 (16:05 +0000)]
Update timezone data to 2016f am: 88d23859e0 am: 6c4968a6e7
am: a884aa8df7

Change-Id: I84612c410e4fea54733ed340b6a6695771bba4d9

8 years agoMerge \\"Update timezone data to 2016f\\" into stage-aosp-master am: f3cde2ba6b
Neil Fuller [Thu, 7 Jul 2016 15:59:00 +0000 (15:59 +0000)]
Merge \\"Update timezone data to 2016f\\" into stage-aosp-master am: f3cde2ba6b
am: 3f9c72e1d3

Change-Id: Ic271eeb1ccc126862fb68f142c2e0127dff4145d

8 years agoUpdate timezone data to 2016f am: 88d23859e0
Neil Fuller [Thu, 7 Jul 2016 15:58:57 +0000 (15:58 +0000)]
Update timezone data to 2016f am: 88d23859e0
am: 6c4968a6e7

Change-Id: I2b7bbc586b55719fd80d985c0972084dd25c7ada

8 years agoMerge \"Update timezone data to 2016f\" into stage-aosp-master
Neil Fuller [Thu, 7 Jul 2016 15:55:48 +0000 (15:55 +0000)]
Merge \"Update timezone data to 2016f\" into stage-aosp-master
am: f3cde2ba6b

Change-Id: I69ce5ade72d37cad860621530b820740377fa3b6