OSDN Git Service

android-x86/bionic.git
8 years agoMerge "Add regression test for http://b/31938693." am: 6901ca2799 am: 91e16d4436
Elliott Hughes [Thu, 20 Oct 2016 16:57:23 +0000 (16:57 +0000)]
Merge "Add regression test for b/31938693." am: 6901ca2799 am: 91e16d4436
am: 2268f6c349

Change-Id: I9be7b740639e56b8eaaffed8e2f596785eca2922

8 years agoMerge "Add regression test for http://b/31938693." am: 6901ca2799
Elliott Hughes [Thu, 20 Oct 2016 16:48:52 +0000 (16:48 +0000)]
Merge "Add regression test for b/31938693." am: 6901ca2799
am: 91e16d4436

Change-Id: I2bf59fe0812cb3a433d754e1480d7f396887a49b

8 years agoMerge "Add regression test for http://b/31938693."
Elliott Hughes [Thu, 20 Oct 2016 16:40:52 +0000 (16:40 +0000)]
Merge "Add regression test for http://b/31938693."
am: 6901ca2799

Change-Id: I08432c98bfae0bf087b01b4901aa982e1e21d3fe

8 years agoMerge "Add regression test for http://b/31938693."
Elliott Hughes [Thu, 20 Oct 2016 16:30:05 +0000 (16:30 +0000)]
Merge "Add regression test for http://b/31938693."

8 years agoMerge "Add test for libraries with textrels" am: 2a2b41038f am: 49bad0e609
Dimitry Ivanov [Thu, 20 Oct 2016 15:30:58 +0000 (15:30 +0000)]
Merge "Add test for libraries with textrels" am: 2a2b41038f am: 49bad0e609
am: c215dd2e5b

Change-Id: I42aa73020468c5e9e934e1f38d0385452010c408

8 years agoMerge "Add test for libraries with textrels" am: 2a2b41038f
Dimitry Ivanov [Thu, 20 Oct 2016 01:52:41 +0000 (01:52 +0000)]
Merge "Add test for libraries with textrels" am: 2a2b41038f
am: 49bad0e609

Change-Id: I9341653fa6b041b5ffb2ed81e6da6bd8b3c18918

8 years agoMerge "Add test for libraries with textrels"
Dimitry Ivanov [Thu, 20 Oct 2016 01:44:43 +0000 (01:44 +0000)]
Merge "Add test for libraries with textrels"
am: 2a2b41038f

Change-Id: I76f947bcf19e87834e048bff5d1057b04af4090a

8 years agoMerge "Add test for libraries with textrels"
Treehugger Robot [Thu, 20 Oct 2016 01:37:19 +0000 (01:37 +0000)]
Merge "Add test for libraries with textrels"

8 years agoAdd regression test for http://b/31938693.
Elliott Hughes [Wed, 19 Oct 2016 23:02:31 +0000 (16:02 -0700)]
Add regression test for http://b/31938693.

Bug: http://b/31938693
Bug: https://code.google.com/p/android/issues/detail?id=225132
Test: this is a test
Change-Id: I858962a1dcd56d555a4836a7bfbdf92d5c3042f6

8 years agoMerge "Fix our _POSIX_* macros to declare barriers and spin locks." am: 0759e7f5c1...
Elliott Hughes [Wed, 19 Oct 2016 21:41:18 +0000 (21:41 +0000)]
Merge "Fix our _POSIX_* macros to declare barriers and spin locks." am: 0759e7f5c1 am: cb9b9781e3
am: 492cc26afc

Change-Id: I28106ce729fa2a1dc13c28c7e3017633a3a85aa7

8 years agoMerge "Fix our _POSIX_* macros to declare barriers and spin locks." am: 0759e7f5c1
Elliott Hughes [Wed, 19 Oct 2016 21:32:46 +0000 (21:32 +0000)]
Merge "Fix our _POSIX_* macros to declare barriers and spin locks." am: 0759e7f5c1
am: cb9b9781e3

Change-Id: I1a0914e4038f771ade14c4ed576307129076549a

8 years agoMerge "Fix our _POSIX_* macros to declare barriers and spin locks."
Elliott Hughes [Wed, 19 Oct 2016 21:25:17 +0000 (21:25 +0000)]
Merge "Fix our _POSIX_* macros to declare barriers and spin locks."
am: 0759e7f5c1

Change-Id: I602b845f97ce26dbc22edff2124d075951eb941c

8 years agoAdd test for libraries with textrels
Dimitry Ivanov [Wed, 19 Oct 2016 18:00:28 +0000 (11:00 -0700)]
Add test for libraries with textrels

Make sure android fails to load them.

Bug: http://b/30795430
Test: bionic-unit-tests --gtest_filter=dlfcn.dlopen_invalid*
Test: cts-tradefed run singleCommand cts --skip-preconditions -m CtsBionicTestCases
Change-Id: Id0ebdf336b2f297007479ceb1bbccf778a7ca3f2

8 years agoMerge "Fix our _POSIX_* macros to declare barriers and spin locks."
Elliott Hughes [Wed, 19 Oct 2016 21:16:21 +0000 (21:16 +0000)]
Merge "Fix our _POSIX_* macros to declare barriers and spin locks."

8 years agoFix our _POSIX_* macros to declare barriers and spin locks.
Elliott Hughes [Wed, 19 Oct 2016 16:27:02 +0000 (09:27 -0700)]
Fix our _POSIX_* macros to declare barriers and spin locks.

We have these now.

Test: ran tests
Change-Id: Ie7b479061ecec19c8b35ea81e04debfd8323d94a

8 years agoMerge "Fix ifaddrs error handling." am: d824421475 am: 0aec154aa8
Elliott Hughes [Fri, 14 Oct 2016 23:48:55 +0000 (23:48 +0000)]
Merge "Fix ifaddrs error handling." am: d824421475 am: 0aec154aa8
am: c99e4885d3

Change-Id: Ib39f92ba0772a51aaf17de6a5476ab31e67b97fe

8 years agoMerge "Fix ifaddrs error handling." am: d824421475
Elliott Hughes [Fri, 14 Oct 2016 23:44:54 +0000 (23:44 +0000)]
Merge "Fix ifaddrs error handling." am: d824421475
am: 0aec154aa8

Change-Id: I3e8e54b8b5bdf5562db47904a5a5106c41ce015e

8 years agoMerge "Fix ifaddrs error handling."
Elliott Hughes [Fri, 14 Oct 2016 23:40:53 +0000 (23:40 +0000)]
Merge "Fix ifaddrs error handling."
am: d824421475

Change-Id: I1eb9d61522501a9e5c925a8d3b4976674169af97

8 years agoMerge "Fix ifaddrs error handling."
Treehugger Robot [Fri, 14 Oct 2016 23:35:52 +0000 (23:35 +0000)]
Merge "Fix ifaddrs error handling."

8 years agoFix ifaddrs error handling.
Elliott Hughes [Fri, 14 Oct 2016 19:15:32 +0000 (12:15 -0700)]
Fix ifaddrs error handling.

An NLMSG_ERROR packet includes an errno value that we should use. Also report
failures to create a socket immediately, rather than falling through to the
send and reporting EBADF.

Bug: http://b/32145516
Bug: http://b/31038971
Test: bionic ifaddr tests on ryu (with broken kernel) and flounder
Change-Id: I84c480c5b75077eb90d40426a9d66d7bffbd3d51

8 years agoMerge "Remove unused build targets" am: 49ef8c822f am: df4e844940 am: 7e22b1317b
Dimitry Ivanov [Thu, 13 Oct 2016 00:13:05 +0000 (00:13 +0000)]
Merge "Remove unused build targets" am: 49ef8c822f am: df4e844940 am: 7e22b1317b
am: 2e70370aaa

Change-Id: Id6431cdf13038d1af0995a53db6c03d291e58b0d

8 years agoMerge "Remove unused build targets" am: 49ef8c822f am: df4e844940
Dimitry Ivanov [Thu, 13 Oct 2016 00:06:04 +0000 (00:06 +0000)]
Merge "Remove unused build targets" am: 49ef8c822f am: df4e844940
am: 7e22b1317b

Change-Id: Ia012e4ee440c14150f8a70f631bf13d5820b6553

8 years agoMerge "Remove unused build targets" am: 49ef8c822f
Dimitry Ivanov [Wed, 12 Oct 2016 23:59:05 +0000 (23:59 +0000)]
Merge "Remove unused build targets" am: 49ef8c822f
am: df4e844940

Change-Id: I4129a4ff758552c0eb29b7ce4471a25f05e0286c

8 years agoMerge "Remove unused build targets"
Dimitry Ivanov [Wed, 12 Oct 2016 23:52:33 +0000 (23:52 +0000)]
Merge "Remove unused build targets"
am: 49ef8c822f

Change-Id: I68e8fd8ab0fd6f1fefd80e9e6a664be32ce3c593

8 years agoMerge "Remove unused build targets"
Treehugger Robot [Wed, 12 Oct 2016 23:46:40 +0000 (23:46 +0000)]
Merge "Remove unused build targets"

8 years agoRemove unused build targets
Dimitry Ivanov [Wed, 12 Oct 2016 21:06:18 +0000 (14:06 -0700)]
Remove unused build targets

Test: mm
Change-Id: I4eadc40411a31a0e5fa910b0054c19f0dea6c1e2

8 years agoMerge "Allocate all arc4random data on the same page." am: 2eaba9343f am: a1a07174a1...
Elliott Hughes [Tue, 11 Oct 2016 22:28:39 +0000 (22:28 +0000)]
Merge "Allocate all arc4random data on the same page." am: 2eaba9343f am: a1a07174a1 am: 9cc503d76e
am: 8f8fab1100

Change-Id: I7771ed0b363b1cfa52be6fdd27c895ae3d899a40

8 years agoMerge "Allocate all arc4random data on the same page." am: 2eaba9343f am: a1a07174a1
Elliott Hughes [Tue, 11 Oct 2016 22:22:40 +0000 (22:22 +0000)]
Merge "Allocate all arc4random data on the same page." am: 2eaba9343f am: a1a07174a1
am: 9cc503d76e

Change-Id: If0a00f7076e6a29af1cdd316d30a4bff4e08c365

8 years agoMerge "Allocate all arc4random data on the same page." am: 2eaba9343f
Elliott Hughes [Tue, 11 Oct 2016 22:16:39 +0000 (22:16 +0000)]
Merge "Allocate all arc4random data on the same page." am: 2eaba9343f
am: a1a07174a1

Change-Id: Ic7ba1567e9807ef56edee95428f0ef9e1161b457

8 years agoMerge "Allocate all arc4random data on the same page."
Elliott Hughes [Tue, 11 Oct 2016 22:10:39 +0000 (22:10 +0000)]
Merge "Allocate all arc4random data on the same page."
am: 2eaba9343f

Change-Id: I7ff5a437db6ec403d269a530bf755c915ef0e601

8 years agoMerge "Allocate all arc4random data on the same page."
Treehugger Robot [Tue, 11 Oct 2016 22:05:41 +0000 (22:05 +0000)]
Merge "Allocate all arc4random data on the same page."

8 years agoAllocate all arc4random data on the same page.
Elliott Hughes [Tue, 11 Oct 2016 19:58:40 +0000 (12:58 -0700)]
Allocate all arc4random data on the same page.

Saves one dirty page per process.

Test: bionic unit tests, reboot, manual check of /proc/*/maps
Change-Id: Ibbcafa955d60e43f4cb735fa484c6868aa357cd5

8 years agoMerge "Remove obsolete -std request." am: 0e6aa81999 am: 5e76352cc3 am: aab356acef
Elliott Hughes [Tue, 11 Oct 2016 18:41:26 +0000 (18:41 +0000)]
Merge "Remove obsolete -std request." am: 0e6aa81999 am: 5e76352cc3 am: aab356acef
am: 51e1ba294f

Change-Id: I34e3ca783c51b01ec6d2ca0528faa164a2b13a0f

8 years agoMerge "Remove obsolete -std request." am: 0e6aa81999 am: 5e76352cc3
Elliott Hughes [Tue, 11 Oct 2016 18:35:54 +0000 (18:35 +0000)]
Merge "Remove obsolete -std request." am: 0e6aa81999 am: 5e76352cc3
am: aab356acef

Change-Id: I95d7de76179069323077067f175306c01a93355a

8 years agoMerge "Remove obsolete -std request." am: 0e6aa81999
Elliott Hughes [Tue, 11 Oct 2016 18:30:24 +0000 (18:30 +0000)]
Merge "Remove obsolete -std request." am: 0e6aa81999
am: 5e76352cc3

Change-Id: Iddf239acbf665466505a625314be7c312323476a

8 years agoMerge "Remove obsolete -std request."
Elliott Hughes [Tue, 11 Oct 2016 18:24:54 +0000 (18:24 +0000)]
Merge "Remove obsolete -std request."
am: 0e6aa81999

Change-Id: I84df5bdc9d37ca2df7e2c9a2675c23b8275bca11

8 years agoMerge "Remove obsolete -std request."
Elliott Hughes [Tue, 11 Oct 2016 18:13:07 +0000 (18:13 +0000)]
Merge "Remove obsolete -std request."

8 years agoMerge "Migrate libstdc++ to ndk_library." am: 2c8a26d8bf am: 090e27556a am: 4adc5710e9
Dan Albert [Tue, 11 Oct 2016 06:25:40 +0000 (06:25 +0000)]
Merge "Migrate libstdc++ to ndk_library." am: 2c8a26d8bf am: 090e27556a am: 4adc5710e9
am: 115fd3c95a

Change-Id: Ic1efe54893e36bb65d5900028930771def593f9b

8 years agoMerge "Migrate libstdc++ to ndk_library." am: 2c8a26d8bf am: 090e27556a
Dan Albert [Tue, 11 Oct 2016 06:20:10 +0000 (06:20 +0000)]
Merge "Migrate libstdc++ to ndk_library." am: 2c8a26d8bf am: 090e27556a
am: 4adc5710e9

Change-Id: Ic6b645666d762b8c017c566bfbd79adfd50c2011

8 years agoMerge "Migrate libstdc++ to ndk_library." am: 2c8a26d8bf
Dan Albert [Tue, 11 Oct 2016 06:14:39 +0000 (06:14 +0000)]
Merge "Migrate libstdc++ to ndk_library." am: 2c8a26d8bf
am: 090e27556a

Change-Id: I72fe1bac44e440f2a526538caeb6ab79ba49f86f

8 years agoMerge "Migrate libstdc++ to ndk_library."
Dan Albert [Tue, 11 Oct 2016 06:08:39 +0000 (06:08 +0000)]
Merge "Migrate libstdc++ to ndk_library."
am: 2c8a26d8bf

Change-Id: Icd01cea8c7390daf081f26d8d7aadcb9fb329cf9

8 years agoMerge "Migrate libstdc++ to ndk_library."
Treehugger Robot [Tue, 11 Oct 2016 06:01:17 +0000 (06:01 +0000)]
Merge "Migrate libstdc++ to ndk_library."

8 years agoMerge "Fix Mac build." am: e89385743e am: cbe7d68916 am: 76d8f51256
Elliott Hughes [Tue, 11 Oct 2016 04:18:02 +0000 (04:18 +0000)]
Merge "Fix Mac build." am: e89385743e am: cbe7d68916 am: 76d8f51256
am: 8c2b7620f9

Change-Id: I6e6c50696822eaa3c1e528a65bc262072ab883a0

8 years agoMerge "Fix Mac build." am: e89385743e am: cbe7d68916
Elliott Hughes [Tue, 11 Oct 2016 04:12:01 +0000 (04:12 +0000)]
Merge "Fix Mac build." am: e89385743e am: cbe7d68916
am: 76d8f51256

Change-Id: I0f93ba5cd644eff7661392353263398e96b483c8

8 years agoMerge "Fix Mac build." am: e89385743e
Elliott Hughes [Tue, 11 Oct 2016 04:06:03 +0000 (04:06 +0000)]
Merge "Fix Mac build." am: e89385743e
am: cbe7d68916

Change-Id: I689671c08773b0d9e7f5a3bb1990d72d17e28ecc

8 years agoMerge "Fix Mac build."
Elliott Hughes [Tue, 11 Oct 2016 04:00:31 +0000 (04:00 +0000)]
Merge "Fix Mac build."
am: e89385743e

Change-Id: Ie5feeb3e2834b8dd2bba868fbf66dbb98b6d23de

8 years agoMerge "Fix Mac build."
Elliott Hughes [Tue, 11 Oct 2016 03:50:26 +0000 (03:50 +0000)]
Merge "Fix Mac build."

8 years agoFix Mac build.
Elliott Hughes [Tue, 11 Oct 2016 01:34:27 +0000 (18:34 -0700)]
Fix Mac build.

Test: builds on Linux (I don't have a Mac)
Change-Id: I049e1d6420b0d169e727680da9c3d97e0b8aa3d2

8 years agoMerge changes I5667e991,I9d2a873e am: c3e09e1ff0 am: 676196c1e2 am: 209dd35443
Dimitry Ivanov [Tue, 11 Oct 2016 00:59:27 +0000 (00:59 +0000)]
Merge changes I5667e991,I9d2a873e am: c3e09e1ff0 am: 676196c1e2 am: 209dd35443
am: ae33b48b2c

Change-Id: I23b31533f2b14039601a0919ab79fcd7ddb71f2f

8 years agobionic-unit-tests: remove dependency on ANDROID_DATA am: 927877c7d3 am: 474da5a6d4...
Dimitry Ivanov [Tue, 11 Oct 2016 00:59:23 +0000 (00:59 +0000)]
bionic-unit-tests: remove dependency on ANDROID_DATA am: 927877c7d3 am: 474da5a6d4 am: dde2ec372b
am: 48d28b50ac

Change-Id: Ica59baa9c3246742a1684ae63d87cd7a6823eed8

8 years agobionic-unit-tests: Create symlinks in runtime am: 708589f5e8 am: dbad17c928 am: 56f41...
Dimitry Ivanov [Tue, 11 Oct 2016 00:59:19 +0000 (00:59 +0000)]
bionic-unit-tests: Create symlinks in runtime am: 708589f5e8 am: dbad17c928 am: 56f4114322
am: 676db441c8

Change-Id: I6baa1bd3da65dba5117e31a277797f9e7f5a99b0

8 years agoMerge changes I5667e991,I9d2a873e am: c3e09e1ff0 am: 676196c1e2
Dimitry Ivanov [Tue, 11 Oct 2016 00:53:56 +0000 (00:53 +0000)]
Merge changes I5667e991,I9d2a873e am: c3e09e1ff0 am: 676196c1e2
am: 209dd35443

Change-Id: I0072c18ed9e7940739422474d5c12aa07ab0f8ec

8 years agobionic-unit-tests: remove dependency on ANDROID_DATA am: 927877c7d3 am: 474da5a6d4
Dimitry Ivanov [Tue, 11 Oct 2016 00:53:53 +0000 (00:53 +0000)]
bionic-unit-tests: remove dependency on ANDROID_DATA am: 927877c7d3 am: 474da5a6d4
am: dde2ec372b

Change-Id: I394bdb0e53af24c075f95946efcfa75d534c03b6

8 years agobionic-unit-tests: Create symlinks in runtime am: 708589f5e8 am: dbad17c928
Dimitry Ivanov [Tue, 11 Oct 2016 00:53:49 +0000 (00:53 +0000)]
bionic-unit-tests: Create symlinks in runtime am: 708589f5e8 am: dbad17c928
am: 56f4114322

Change-Id: I491aaf15a2bf292ea52a4137cb18b08a29c4e2c0

8 years agoMerge changes I5667e991,I9d2a873e am: c3e09e1ff0
Dimitry Ivanov [Tue, 11 Oct 2016 00:48:27 +0000 (00:48 +0000)]
Merge changes I5667e991,I9d2a873e am: c3e09e1ff0
am: 676196c1e2

Change-Id: I0eba8e67c507ffd9614594e51855f1d707abdf3e

8 years agobionic-unit-tests: remove dependency on ANDROID_DATA am: 927877c7d3
Dimitry Ivanov [Tue, 11 Oct 2016 00:48:23 +0000 (00:48 +0000)]
bionic-unit-tests: remove dependency on ANDROID_DATA am: 927877c7d3
am: 474da5a6d4

Change-Id: I5c8816296a341971317775d9682ac6d5bf92f446

8 years agobionic-unit-tests: Create symlinks in runtime am: 708589f5e8
Dimitry Ivanov [Tue, 11 Oct 2016 00:48:19 +0000 (00:48 +0000)]
bionic-unit-tests: Create symlinks in runtime am: 708589f5e8
am: dbad17c928

Change-Id: I37fbe821391d5461fd14eaea51b0b063e5859a63

8 years agoMerge changes I5667e991,I9d2a873e
Dimitry Ivanov [Tue, 11 Oct 2016 00:42:55 +0000 (00:42 +0000)]
Merge changes I5667e991,I9d2a873e
am: c3e09e1ff0

Change-Id: I1fa7770646c90e42dda53bcf08a19ab6c6ab97c2

8 years agobionic-unit-tests: remove dependency on ANDROID_DATA
Dimitry Ivanov [Tue, 11 Oct 2016 00:42:54 +0000 (00:42 +0000)]
bionic-unit-tests: remove dependency on ANDROID_DATA
am: 927877c7d3

Change-Id: Icbebb8309d5f6a6fa3173b5d844c1d75915bc7e3

8 years agobionic-unit-tests: Create symlinks in runtime
Dimitry Ivanov [Tue, 11 Oct 2016 00:42:49 +0000 (00:42 +0000)]
bionic-unit-tests: Create symlinks in runtime
am: 708589f5e8

Change-Id: I0074677cb1561ce5924f4b9bf32501d57a31b0bd

8 years agoMerge changes I5667e991,I9d2a873e
Treehugger Robot [Tue, 11 Oct 2016 00:30:53 +0000 (00:30 +0000)]
Merge changes I5667e991,I9d2a873e

* changes:
  bionic-unit-tests: remove dependency on ANDROID_DATA
  bionic-unit-tests: Create symlinks in runtime

8 years agoMerge "Use STDERR_FILENO instead of opening /dev/stderr." am: e0505ab0fb am: 8efd55b7...
Josh Gao [Mon, 10 Oct 2016 22:04:39 +0000 (22:04 +0000)]
Merge "Use STDERR_FILENO instead of opening /dev/stderr." am: e0505ab0fb am: 8efd55b774 am: 12e1498fa6
am: 61b18ecfd6

Change-Id: Iabb7c6b34e9e45fa96e851b71c9889023f0e6469

8 years agoMerge "Use STDERR_FILENO instead of opening /dev/stderr." am: e0505ab0fb am: 8efd55b774
Josh Gao [Mon, 10 Oct 2016 21:49:06 +0000 (21:49 +0000)]
Merge "Use STDERR_FILENO instead of opening /dev/stderr." am: e0505ab0fb am: 8efd55b774
am: 12e1498fa6

Change-Id: I5427033c4e00f14321873a23f9b6305105fe6e12

8 years agoMerge "Use STDERR_FILENO instead of opening /dev/stderr." am: e0505ab0fb
Josh Gao [Mon, 10 Oct 2016 21:43:37 +0000 (21:43 +0000)]
Merge "Use STDERR_FILENO instead of opening /dev/stderr." am: e0505ab0fb
am: 8efd55b774

Change-Id: I5898e427a4f875af5e4dbe0b5c9401ce479ea3fb

8 years agoMerge "Use STDERR_FILENO instead of opening /dev/stderr."
Josh Gao [Mon, 10 Oct 2016 21:38:05 +0000 (21:38 +0000)]
Merge "Use STDERR_FILENO instead of opening /dev/stderr."
am: e0505ab0fb

Change-Id: I3918867ec5806ae57f77e5d03a1b80fbc8fc143b

8 years agoMerge "Use STDERR_FILENO instead of opening /dev/stderr."
Treehugger Robot [Mon, 10 Oct 2016 21:19:05 +0000 (21:19 +0000)]
Merge "Use STDERR_FILENO instead of opening /dev/stderr."

8 years agobionic-unit-tests: remove dependency on ANDROID_DATA
Dimitry Ivanov [Wed, 21 Sep 2016 18:17:13 +0000 (11:17 -0700)]
bionic-unit-tests: remove dependency on ANDROID_DATA

Replace references to ANDROID_DATA enviroment variable with references
to g_testlib_root.

Bug: http://b/22182538
Test: build and run bionic-unit-tests --gtest_filter=dl*:Dl*
Test: make cts && cts-tradefed run singleCommand cts --skip-preconditions -m CtsBionicTestCases
Change-Id: I5667e991551cec55b9b664f2f0063039671ff34b

8 years agobionic-unit-tests: Create symlinks in runtime
Dimitry Ivanov [Mon, 19 Sep 2016 17:50:28 +0000 (10:50 -0700)]
bionic-unit-tests: Create symlinks in runtime

Instead of creating symlinks in build time and then relying
on usage of adb sync (adb push follows symlinks) - create
them in test run time.

Test: mm && run bionic-unit-tests --gtest_filter=dl*:Dl*
Bug: http://b/22182538
Change-Id: I9d2a873e3ba303533c14ba5e3b779e4a67925462

8 years agoMerge "Document a post-N dynamic linker change." am: 1c45e6fa47 am: a38fd57a0b am...
Elliott Hughes [Sat, 8 Oct 2016 21:02:34 +0000 (21:02 +0000)]
Merge "Document a post-N dynamic linker change." am: 1c45e6fa47 am: a38fd57a0b am: 61cd6b977f
am: b2c72cd155

Change-Id: I25a13edcc0b43c840aea95eb04584a32e1faa7ed

8 years agoMerge "Document a post-N dynamic linker change." am: 1c45e6fa47 am: a38fd57a0b
Elliott Hughes [Sat, 8 Oct 2016 20:58:03 +0000 (20:58 +0000)]
Merge "Document a post-N dynamic linker change." am: 1c45e6fa47 am: a38fd57a0b
am: 61cd6b977f

Change-Id: I0f35bb50e8f4ee2194de0cd084e009fec440429c

8 years agoMerge "Document a post-N dynamic linker change." am: 1c45e6fa47
Elliott Hughes [Sat, 8 Oct 2016 20:53:33 +0000 (20:53 +0000)]
Merge "Document a post-N dynamic linker change." am: 1c45e6fa47
am: a38fd57a0b

Change-Id: I92e3efb634d7912fcc37b3c54a46cac43bf2826a

8 years agoMerge "Document a post-N dynamic linker change."
Elliott Hughes [Sat, 8 Oct 2016 20:48:31 +0000 (20:48 +0000)]
Merge "Document a post-N dynamic linker change."
am: 1c45e6fa47

Change-Id: I9107e734f1796a5570d171cd6dcbe9225a5411c2

8 years agoMerge "Document a post-N dynamic linker change."
Treehugger Robot [Sat, 8 Oct 2016 20:41:27 +0000 (20:41 +0000)]
Merge "Document a post-N dynamic linker change."

8 years agoMerge "Turn the recent blog post into markdown docs." am: a3745834f2 am: f9e330bbc8...
Elliott Hughes [Fri, 7 Oct 2016 23:21:47 +0000 (23:21 +0000)]
Merge "Turn the recent blog post into markdown docs." am: a3745834f2 am: f9e330bbc8 am: 83b211bc16
am: 4c4e241189

Change-Id: Ib4ad59d22672e525de4f4552ed5bb0b56f8e947b

8 years agoTurn the recent blog post into markdown docs. am: c45380d20c am: 277864c3d1 am: c9628...
Elliott Hughes [Fri, 7 Oct 2016 23:21:36 +0000 (23:21 +0000)]
Turn the recent blog post into markdown docs. am: c45380d20c am: 277864c3d1 am: c962852a5d
am: 1bb0a23373

Change-Id: I500608830aba03f8defcf449f018f3c540edaaaa

8 years agoMerge "Turn the recent blog post into markdown docs." am: a3745834f2 am: f9e330bbc8
Elliott Hughes [Fri, 7 Oct 2016 23:12:32 +0000 (23:12 +0000)]
Merge "Turn the recent blog post into markdown docs." am: a3745834f2 am: f9e330bbc8
am: 83b211bc16

Change-Id: I27347d859f437b82324b23cf176a602a792aa9fd

8 years agoTurn the recent blog post into markdown docs. am: c45380d20c am: 277864c3d1
Elliott Hughes [Fri, 7 Oct 2016 23:12:22 +0000 (23:12 +0000)]
Turn the recent blog post into markdown docs. am: c45380d20c am: 277864c3d1
am: c962852a5d

Change-Id: I2f2832c6c7f9aa542da8ad7d0251d5ea9668ffd0

8 years agoMerge "Turn the recent blog post into markdown docs." am: a3745834f2
Elliott Hughes [Fri, 7 Oct 2016 23:08:33 +0000 (23:08 +0000)]
Merge "Turn the recent blog post into markdown docs." am: a3745834f2
am: f9e330bbc8

Change-Id: I4225830fe3a51c09369eab8e7c2b79b999d59523

8 years agoTurn the recent blog post into markdown docs. am: c45380d20c
Elliott Hughes [Fri, 7 Oct 2016 23:08:23 +0000 (23:08 +0000)]
Turn the recent blog post into markdown docs. am: c45380d20c
am: 277864c3d1

Change-Id: I414c4cdf9f31c05c264e5cbf8fb4905ad7013d89

8 years agoMerge "Turn the recent blog post into markdown docs."
Elliott Hughes [Fri, 7 Oct 2016 23:03:27 +0000 (23:03 +0000)]
Merge "Turn the recent blog post into markdown docs."
am: a3745834f2

Change-Id: I221adde4dde21cec911fe0537f72f39f7f2b13e7

8 years agoTurn the recent blog post into markdown docs.
Elliott Hughes [Fri, 7 Oct 2016 23:03:26 +0000 (23:03 +0000)]
Turn the recent blog post into markdown docs.
am: c45380d20c

Change-Id: I3559e1ae5e2c4fd9d7a4687fab39d9678d557234

8 years agoDocument a post-N dynamic linker change.
Elliott Hughes [Fri, 7 Oct 2016 22:59:58 +0000 (15:59 -0700)]
Document a post-N dynamic linker change.

Test: N/A
Change-Id: I37f3ccccd81c29a4ffe400fc2177bbe082195ade

8 years agoMerge "Turn the recent blog post into markdown docs."
Elliott Hughes [Fri, 7 Oct 2016 22:56:32 +0000 (22:56 +0000)]
Merge "Turn the recent blog post into markdown docs."

8 years agoUse STDERR_FILENO instead of opening /dev/stderr.
Josh Gao [Fri, 7 Oct 2016 20:21:03 +0000 (13:21 -0700)]
Use STDERR_FILENO instead of opening /dev/stderr.

/dev/stderr is a symlink to /proc/self/fd/2, so this only has different
behavior when we're out of file descriptors, or when STDERR_FILENO is in
a different state (it's not at the end, it's not writable, etc.).

Test: mma
Change-Id: Ie99688d810218eca8482ff060373e88c4e001824

8 years agoRemove obsolete -std request.
Elliott Hughes [Fri, 7 Oct 2016 17:43:30 +0000 (10:43 -0700)]
Remove obsolete -std request.

Bug: http://b/32019064
Test: builds
Change-Id: Id662a63f08054634721750d26e0dcd3c366ed2e6

8 years agoTurn the recent blog post into markdown docs.
Elliott Hughes [Wed, 5 Oct 2016 21:35:00 +0000 (14:35 -0700)]
Turn the recent blog post into markdown docs.

Originally http://android-developers.blogspot.com/2016/06/android-changes-for-ndk-developers.html

Test: N/A
Change-Id: I7ab75bcf9d518310fdf4e752929ba71c286fa242

8 years agoFix a linking error in bionic/tests am: 3656958a16 -s ours am: a9813616da
Tianjie Xu [Fri, 7 Oct 2016 04:55:29 +0000 (04:55 +0000)]
Fix a linking error in bionic/tests am: 3656958a16  -s ours am: a9813616da
am: cad928220d

Change-Id: I39bc74e6653f9107c925dd3a5f97dd78ef309b62

8 years agoFix a linking error in bionic/tests am: 3656958a16 am: 0893380bed am: b2b0460c5b...
Tianjie Xu [Fri, 7 Oct 2016 04:55:17 +0000 (04:55 +0000)]
Fix a linking error in bionic/tests am: 3656958a16 am: 0893380bed am: b2b0460c5b am: 8c94feaa09  -s ours
am: 3fe8ac55bd

Change-Id: I90149e05e09d3dcd2c16ed02136c4806d36fc04a

8 years agoFix a linking error in bionic/tests am: 3656958a16 -s ours
Tianjie Xu [Fri, 7 Oct 2016 04:42:46 +0000 (04:42 +0000)]
Fix a linking error in bionic/tests am: 3656958a16  -s ours
am: a9813616da

Change-Id: If53938714dd238ffe0d14af216cf383d9f8de323

8 years agoFix a linking error in bionic/tests am: 3656958a16 am: 0893380bed am: b2b0460c5b
Tianjie Xu [Fri, 7 Oct 2016 04:38:47 +0000 (04:38 +0000)]
Fix a linking error in bionic/tests am: 3656958a16 am: 0893380bed am: b2b0460c5b
am: 8c94feaa09  -s ours

Change-Id: I2af80b2c17dcc82aac169958744f93f15f8f3ccb

8 years agoFix a linking error in bionic/tests
Tianjie Xu [Fri, 7 Oct 2016 04:38:46 +0000 (04:38 +0000)]
Fix a linking error in bionic/tests
am: 3656958a16  -s ours

Change-Id: I5eb11248a4f76abd0e5ba937edb79b56bfec40fa

8 years agoFix a linking error in bionic/tests am: 3656958a16 am: 0893380bed
Tianjie Xu [Fri, 7 Oct 2016 04:30:14 +0000 (04:30 +0000)]
Fix a linking error in bionic/tests am: 3656958a16 am: 0893380bed
am: b2b0460c5b

Change-Id: I049b57acdb89e2e841e46120ce06616b0bc65922

8 years agoFix a linking error in bionic/tests am: 3656958a16
Tianjie Xu [Fri, 7 Oct 2016 04:26:44 +0000 (04:26 +0000)]
Fix a linking error in bionic/tests am: 3656958a16
am: 0893380bed

Change-Id: I462b022e42676ec6ceba39ece3933dc4cc6237d0

8 years agoFix a linking error in bionic/tests
Tianjie Xu [Fri, 7 Oct 2016 04:22:45 +0000 (04:22 +0000)]
Fix a linking error in bionic/tests
am: 3656958a16

Change-Id: I5636ecc4e0a5ff4e1ee0a6cd0f1d182d444e63f9

8 years agoFix a linking error in bionic/tests
Tianjie Xu [Fri, 7 Oct 2016 02:23:05 +0000 (19:23 -0700)]
Fix a linking error in bionic/tests

Fix the following linking error by adding liblog in the makefile:
"system/core/libziparchive/zip_archive.cc:277: error: undefined reference to
'__android_log_error_write'"

The error happens because libziparchive has dependency on liblog. This
error affects the downstream branches of nyc-dev.

Bug: 31251826
Test: mma -j32
Change-Id: Ia42909bbbd150ae0ca9f6aa6b14372f2e0aedccf

8 years agoMigrate libstdc++ to ndk_library.
Dan Albert [Thu, 6 Oct 2016 22:50:41 +0000 (15:50 -0700)]
Migrate libstdc++ to ndk_library.

Test: make checkbuild
Bug: http://b/30465923
Change-Id: I3b75b4e7fa652c83846c5978f9908e8b32d43aa7

8 years agoFix for default library path "/vendor/lib" am: 8995c3876b am: faaf582f60
neo.chae [Wed, 5 Oct 2016 16:38:01 +0000 (16:38 +0000)]
Fix for default library path "/vendor/lib" am: 8995c3876b am: faaf582f60
am: 6559ef5f46

Change-Id: I6cf21aa5627704808052c7a4be158d94359d89f4

8 years agoMerge changes Ie6777e2b,Iaed834be am: e35872605b am: 4be70a368b am: cd4bb629fa
Dimitry Ivanov [Wed, 5 Oct 2016 16:32:42 +0000 (16:32 +0000)]
Merge changes Ie6777e2b,Iaed834be am: e35872605b am: 4be70a368b am: cd4bb629fa
am: ed9b193173

Change-Id: Iea70b726e1c4c936ec3e6634383903f066c35547

8 years agoFix for default library path "/vendor/lib" am: 2589f9de64 am: 6769c98fdb am: f047b1dbbb
neo.chae [Wed, 5 Oct 2016 16:32:37 +0000 (16:32 +0000)]
Fix for default library path "/vendor/lib" am: 2589f9de64 am: 6769c98fdb am: f047b1dbbb
am: 24179bfa22

Change-Id: Ic2949745fc223b8660d7590a482fb82a85cce395

8 years agoFix bionic-unit-tests am: d11d1e4a97 am: 1a4e213bce am: ec7a2273c6
Dimitry Ivanov [Wed, 5 Oct 2016 16:32:32 +0000 (16:32 +0000)]
Fix bionic-unit-tests am: d11d1e4a97 am: 1a4e213bce am: ec7a2273c6
am: ff006267b6

Change-Id: Ic0c3ed7fa9d12bf4b3bbe9897a57462c3b82377c