OSDN Git Service

android-x86/bionic.git
7 years agoMerge "Fix complex.csqrtf test and add a trivial sincosl test." am: 424a5f629c
Elliott Hughes [Mon, 26 Sep 2016 18:41:43 +0000 (18:41 +0000)]
Merge "Fix complex.csqrtf test and add a trivial sincosl test." am: 424a5f629c
am: 1692a4d2bc

Change-Id: I4406e650bd97fcd0346025a268e7f72f3a820521

7 years agoMerge "Fix complex.csqrtf test and add a trivial sincosl test."
Elliott Hughes [Mon, 26 Sep 2016 18:39:12 +0000 (18:39 +0000)]
Merge "Fix complex.csqrtf test and add a trivial sincosl test."
am: 424a5f629c

Change-Id: I357f244cd94b34c8cea507e290b69a8e028d3707

7 years agoMerge "Fix complex.csqrtf test and add a trivial sincosl test."
Treehugger Robot [Mon, 26 Sep 2016 18:34:55 +0000 (18:34 +0000)]
Merge "Fix complex.csqrtf test and add a trivial sincosl test."

7 years agoFix complex.csqrtf test and add a trivial sincosl test.
Elliott Hughes [Mon, 26 Sep 2016 16:35:04 +0000 (09:35 -0700)]
Fix complex.csqrtf test and add a trivial sincosl test.

sincos and sincosf are being tested more thoroughly with a table of data,
but there's nothing equivalent for sincosl.

Test: ran the tests, obviously.
Change-Id: I5b4b22b73cad9b0030549de2e2ed2a0e38648806

7 years agoMerge changes Ic43d690d,Ifec6c320 am: 0855431067
Dan Albert [Thu, 22 Sep 2016 17:53:54 +0000 (17:53 +0000)]
Merge changes Ic43d690d,Ifec6c320 am: 0855431067
am: 0a849b5d99

Change-Id: I6ab172a78ec2f43a3ee5b810f8342fdb5990db23

7 years agoAdd legacy inlines for locale aware APIs. am: 6576a3749b
Dan Albert [Thu, 22 Sep 2016 17:53:36 +0000 (17:53 +0000)]
Add legacy inlines for locale aware APIs. am: 6576a3749b
am: f07097a2ff

Change-Id: If92cc3910d8f4ca1e9b3bb70edc073ad95cd409e

7 years agoAdd strtof_l and strtod_l. am: 3103f6d39e
Dan Albert [Thu, 22 Sep 2016 17:53:22 +0000 (17:53 +0000)]
Add strtof_l and strtod_l. am: 3103f6d39e
am: df5bb6cbee

Change-Id: I184574b4c32e3b9265bb310d07e450641cbbc6a7

7 years agoMerge changes Ic43d690d,Ifec6c320
Dan Albert [Thu, 22 Sep 2016 17:49:24 +0000 (17:49 +0000)]
Merge changes Ic43d690d,Ifec6c320
am: 0855431067

Change-Id: Ib122da0020068de7e61282a15f67224709976024

7 years agoAdd legacy inlines for locale aware APIs.
Dan Albert [Thu, 22 Sep 2016 17:49:23 +0000 (17:49 +0000)]
Add legacy inlines for locale aware APIs.
am: 6576a3749b

Change-Id: Id0369d3efc4f2245754d86d3fa49d7af25e0334e

7 years agoAdd strtof_l and strtod_l.
Dan Albert [Thu, 22 Sep 2016 17:49:18 +0000 (17:49 +0000)]
Add strtof_l and strtod_l.
am: 3103f6d39e

Change-Id: If83197fe3e6be86264cd0f84918f011fd304fbdb

7 years agoMerge changes Ic43d690d,Ifec6c320
Treehugger Robot [Thu, 22 Sep 2016 16:28:14 +0000 (16:28 +0000)]
Merge changes Ic43d690d,Ifec6c320

* changes:
  Add legacy inlines for locale aware APIs.
  Add strtof_l and strtod_l.

7 years agoAdd legacy inlines for locale aware APIs.
Dan Albert [Wed, 21 Sep 2016 08:16:13 +0000 (01:16 -0700)]
Add legacy inlines for locale aware APIs.

Test: make checkbuild tests
Bug: http://b/31639993
Change-Id: Ic43d690dff3c6960d7826bd0b064640a3ea0e883

7 years agoAdd strtof_l and strtod_l.
Dan Albert [Wed, 21 Sep 2016 08:42:19 +0000 (01:42 -0700)]
Add strtof_l and strtod_l.

libc++ needs these now. Add shims to match the others.

Test: make checkbuild tests
Bug: http://b/31639993
Change-Id: Ifec6c32099145d8d3d1a5639a4809e5e9f553c33

7 years agoMerge "bionic: tests: add test for fallocate FALLOC_FL_PUNCH_HOLE" am: 904460f749
Nick Desaulniers [Wed, 21 Sep 2016 23:29:40 +0000 (23:29 +0000)]
Merge "bionic: tests: add test for fallocate FALLOC_FL_PUNCH_HOLE" am: 904460f749
am: 1d52d65277

Change-Id: I61d9c05457d58f92e94f9a22ea954357f4abf73d

7 years agoMerge "Remove remaining big-endian cruft." am: 53ad33b993
Elliott Hughes [Wed, 21 Sep 2016 23:29:28 +0000 (23:29 +0000)]
Merge "Remove remaining big-endian cruft." am: 53ad33b993
am: b00f351cef

Change-Id: I5cb55ab64cee2abcacb235651c31446df3f8d83a

7 years agoMerge "Remove _KERNEL references from <machine/elf_machdep.h>." am: c351cbd7c0
Elliott Hughes [Wed, 21 Sep 2016 23:29:17 +0000 (23:29 +0000)]
Merge "Remove _KERNEL references from <machine/elf_machdep.h>." am: c351cbd7c0
am: 0ecccff0f6

Change-Id: I5c57f5c626cdab6028dc8a58cd8e54466c6222b2

7 years agoMerge "bionic: tests: add test for fallocate FALLOC_FL_PUNCH_HOLE"
Nick Desaulniers [Wed, 21 Sep 2016 22:43:25 +0000 (22:43 +0000)]
Merge "bionic: tests: add test for fallocate FALLOC_FL_PUNCH_HOLE"
am: 904460f749

Change-Id: I05b4736d73e2122e082286157878fca8a804e6bb

7 years agoMerge "bionic: tests: add test for fallocate FALLOC_FL_PUNCH_HOLE"
Nick Desaulniers [Wed, 21 Sep 2016 22:30:31 +0000 (22:30 +0000)]
Merge "bionic: tests: add test for fallocate FALLOC_FL_PUNCH_HOLE"

7 years agoMerge "Remove remaining big-endian cruft."
Elliott Hughes [Wed, 21 Sep 2016 22:07:59 +0000 (22:07 +0000)]
Merge "Remove remaining big-endian cruft."
am: 53ad33b993

Change-Id: Ic812ff2fd3a89dbbf8c78877ec84bdd5a32c1299

7 years agoMerge "Remove _KERNEL references from <machine/elf_machdep.h>."
Elliott Hughes [Wed, 21 Sep 2016 22:07:49 +0000 (22:07 +0000)]
Merge "Remove _KERNEL references from <machine/elf_machdep.h>."
am: c351cbd7c0

Change-Id: I1bf559da5185fb4dd1375c441e1f3fe1017aa42b

7 years agoMerge "Remove remaining big-endian cruft."
Elliott Hughes [Wed, 21 Sep 2016 21:48:24 +0000 (21:48 +0000)]
Merge "Remove remaining big-endian cruft."

7 years agoMerge "Remove _KERNEL references from <machine/elf_machdep.h>."
Elliott Hughes [Wed, 21 Sep 2016 21:48:15 +0000 (21:48 +0000)]
Merge "Remove _KERNEL references from <machine/elf_machdep.h>."

7 years agobionic: tests: add test for fallocate FALLOC_FL_PUNCH_HOLE
Nick Desaulniers [Tue, 19 Jul 2016 22:20:24 +0000 (15:20 -0700)]
bionic: tests: add test for fallocate FALLOC_FL_PUNCH_HOLE

Bug: 28760453
Change-Id: I1a58d19bf45eac5f930b0f649cf9b8c9046302f3

7 years agoMerge "Match _Nonnull between char and wchar_t funcs." am: d263fe5d13
Dan Albert [Wed, 21 Sep 2016 15:48:22 +0000 (15:48 +0000)]
Merge "Match _Nonnull between char and wchar_t funcs." am: d263fe5d13
am: 484a50a7f6

Change-Id: I4d88a7e35a64ffa73bb34d4535623f076cde00ec

7 years agoMerge "Match _Nonnull between char and wchar_t funcs."
Dan Albert [Wed, 21 Sep 2016 15:44:40 +0000 (15:44 +0000)]
Merge "Match _Nonnull between char and wchar_t funcs."
am: d263fe5d13

Change-Id: I487a24cf2cd19c899ea41806856c2ca00ce44391

7 years agoMerge "Match _Nonnull between char and wchar_t funcs."
Treehugger Robot [Wed, 21 Sep 2016 15:39:33 +0000 (15:39 +0000)]
Merge "Match _Nonnull between char and wchar_t funcs."

7 years agoMerge "Add __ANDROID_API_FUTURE__." am: 01b70ac552
Dan Albert [Wed, 21 Sep 2016 15:39:08 +0000 (15:39 +0000)]
Merge "Add __ANDROID_API_FUTURE__." am: 01b70ac552
am: d1162db1a9

Change-Id: I760ac9b1ae4793eae1c59730245b19655375c850

7 years agoMerge "Add __ANDROID_API_FUTURE__."
Dan Albert [Wed, 21 Sep 2016 15:35:39 +0000 (15:35 +0000)]
Merge "Add __ANDROID_API_FUTURE__."
am: 01b70ac552

Change-Id: I9a8fb6720d68188fd9da869269045b4441ac23a4

7 years agoMerge "Add __ANDROID_API_FUTURE__."
Treehugger Robot [Wed, 21 Sep 2016 15:29:52 +0000 (15:29 +0000)]
Merge "Add __ANDROID_API_FUTURE__."

7 years agoMatch _Nonnull between char and wchar_t funcs.
Dan Albert [Wed, 21 Sep 2016 08:57:51 +0000 (01:57 -0700)]
Match _Nonnull between char and wchar_t funcs.

The char versions of these functions have `_Nonnull` on these
parameters. Match it in the wide char versions. strxfrm_l also has
`__restrict` on its pointer arguments, I believe we've decided that's
something that shouldn't be proliferated...

Test: make checkbuild tests
Bug: None
Change-Id: Ie533e1af92b2a7c9df657073dbc4c345abf72473

7 years agoAdd __ANDROID_API_FUTURE__.
Dan Albert [Wed, 21 Sep 2016 08:08:44 +0000 (01:08 -0700)]
Add __ANDROID_API_FUTURE__.

Needed for checking conditions like `__ANDROID_API__ <
__ANDROID_API_FUTURE__` for providing inlines for things that have
not yet been included in any release.

Test: make checkbuild tests
Bug: None
Change-Id: Ibcddac5a538ede020a8cb65fca03194475121966

7 years agoMerge "Fix some easy cases of __ANDROID__ versus __BIONIC__." am: 42743f1e9e
Elliott Hughes [Sat, 17 Sep 2016 16:49:49 +0000 (16:49 +0000)]
Merge "Fix some easy cases of __ANDROID__ versus __BIONIC__." am: 42743f1e9e
am: 38718ceac2

Change-Id: I78c74a81bb42d97470b19ca2e1c8afc92d5df54c

7 years agoMerge "Fix some easy cases of __ANDROID__ versus __BIONIC__."
Elliott Hughes [Sat, 17 Sep 2016 16:47:19 +0000 (16:47 +0000)]
Merge "Fix some easy cases of __ANDROID__ versus __BIONIC__."
am: 42743f1e9e

Change-Id: I15acfed16e1381673ae9d8338348d6ad925abba8

7 years agoMerge "Fix some easy cases of __ANDROID__ versus __BIONIC__."
Elliott Hughes [Sat, 17 Sep 2016 16:40:59 +0000 (16:40 +0000)]
Merge "Fix some easy cases of __ANDROID__ versus __BIONIC__."

7 years agoRemove remaining big-endian cruft.
Elliott Hughes [Sat, 17 Sep 2016 01:53:01 +0000 (18:53 -0700)]
Remove remaining big-endian cruft.

We'd removed most of it already, but a few bits and pieces were still lying
around.

Change-Id: I572a23eb15b9670d8d0f95586eca99ab0bdb4a1b
Test: mm.

7 years agoRemove _KERNEL references from <machine/elf_machdep.h>.
Elliott Hughes [Sat, 17 Sep 2016 01:38:48 +0000 (18:38 -0700)]
Remove _KERNEL references from <machine/elf_machdep.h>.

Test: mm.
Change-Id: I9dff708dd05d4f9e52ccdfde96e096553c873054

7 years agoFix some easy cases of __ANDROID__ versus __BIONIC__.
Elliott Hughes [Sat, 17 Sep 2016 01:16:47 +0000 (18:16 -0700)]
Fix some easy cases of __ANDROID__ versus __BIONIC__.

We need to make a clearer distinction for bionic on the host. This patch
doesn't fully address things like "should host bionic try to talk to netd?"
for now, but is a step in the right direction.

Bug: http://b/31559095
Test: bionic tests.
Change-Id: I49812f8b75d9d78c4fd8a8ddf5df1201d63771d6

7 years agoMerge "Make static library for loader tests" am: 9d4d60b480
Dimitry Ivanov [Fri, 16 Sep 2016 16:23:07 +0000 (16:23 +0000)]
Merge "Make static library for loader tests" am: 9d4d60b480
am: 0a727b2550

Change-Id: If3b144c1d1f208fdf2d766e7ab158c67c9098bc0

7 years agoMerge "Make static library for loader tests"
Dimitry Ivanov [Fri, 16 Sep 2016 16:20:37 +0000 (16:20 +0000)]
Merge "Make static library for loader tests"
am: 9d4d60b480

Change-Id: I7820804153709c0c08b9860d5ebf88dd1f158ffa

7 years agoMerge "Make static library for loader tests"
Treehugger Robot [Fri, 16 Sep 2016 16:14:48 +0000 (16:14 +0000)]
Merge "Make static library for loader tests"

7 years agoMerge changes Iada279ee,Ic6089895,Ie2241b19,Ib0610707 am: 847fd9b315
Josh Gao [Thu, 15 Sep 2016 23:49:47 +0000 (23:49 +0000)]
Merge changes Iada279ee,Ic6089895,Ie2241b19,Ib0610707 am: 847fd9b315
am: 9daafece95

Change-Id: I8844ff892505e754e6f15c683d0a5d0ecc97ec54

7 years agoversioner: turn on -Wundef. am: ac3e564142
Josh Gao [Thu, 15 Sep 2016 23:49:41 +0000 (23:49 +0000)]
versioner: turn on -Wundef. am: ac3e564142
am: 7ec5f0df2b

Change-Id: I83fd6751d0d66fadbbe3d4b659bfc7cbebc0b954

7 years agoFix BYTE_ORDER check in <netinet/ip6.h>. am: 81b4aadb48
Josh Gao [Thu, 15 Sep 2016 23:49:36 +0000 (23:49 +0000)]
Fix BYTE_ORDER check in <netinet/ip6.h>. am: 81b4aadb48
am: 93e09655a9

Change-Id: I6868459ed0877cf976006c30409290a70544ee27

7 years agoFix instances of '#if __i386__'. am: cb728e6f63
Josh Gao [Thu, 15 Sep 2016 23:49:31 +0000 (23:49 +0000)]
Fix instances of '#if __i386__'. am: cb728e6f63
am: ba2ad78ccf

Change-Id: I9d96b4074472c78f0cab924925dc3a4ee2d7f3be

7 years agoFix instances of '#if __LP64__'. am: b36efa4343
Josh Gao [Thu, 15 Sep 2016 23:49:26 +0000 (23:49 +0000)]
Fix instances of '#if __LP64__'. am: b36efa4343
am: 8a72a46efa

Change-Id: I8b2993ca00dab764519dba03efb7cfe6cf89dc5e

7 years agoMerge changes Iada279ee,Ic6089895,Ie2241b19,Ib0610707
Josh Gao [Thu, 15 Sep 2016 23:47:09 +0000 (23:47 +0000)]
Merge changes Iada279ee,Ic6089895,Ie2241b19,Ib0610707
am: 847fd9b315

Change-Id: I360ac3ed375278e1ae19f0858cb9cb511e2af7d7

7 years agoversioner: turn on -Wundef.
Josh Gao [Thu, 15 Sep 2016 23:47:08 +0000 (23:47 +0000)]
versioner: turn on -Wundef.
am: ac3e564142

Change-Id: Ic9097d9e6f1d44205372dbb6247754e8ecf81bb6

7 years agoFix BYTE_ORDER check in <netinet/ip6.h>.
Josh Gao [Thu, 15 Sep 2016 23:47:04 +0000 (23:47 +0000)]
Fix BYTE_ORDER check in <netinet/ip6.h>.
am: 81b4aadb48

Change-Id: Ie4476cbcaf3be20b46ea4a47c9b9d8413e588a46

7 years agoFix instances of '#if __i386__'.
Josh Gao [Thu, 15 Sep 2016 23:46:59 +0000 (23:46 +0000)]
Fix instances of '#if __i386__'.
am: cb728e6f63

Change-Id: I86278c82b6b4572597a592204c073695bacd5219

7 years agoFix instances of '#if __LP64__'.
Josh Gao [Thu, 15 Sep 2016 23:46:54 +0000 (23:46 +0000)]
Fix instances of '#if __LP64__'.
am: b36efa4343

Change-Id: I3e1ee13501abdec6e27bb104eb9c17cd4eed076d

7 years agoMerge changes Iada279ee,Ic6089895,Ie2241b19,Ib0610707
Treehugger Robot [Thu, 15 Sep 2016 23:40:11 +0000 (23:40 +0000)]
Merge changes Iada279ee,Ic6089895,Ie2241b19,Ib0610707

* changes:
  versioner: turn on -Wundef.
  Fix BYTE_ORDER check in <netinet/ip6.h>.
  Fix instances of '#if __i386__'.
  Fix instances of '#if __LP64__'.

7 years agoMake static library for loader tests
Dimitry Ivanov [Thu, 15 Sep 2016 23:25:31 +0000 (16:25 -0700)]
Make static library for loader tests

1. Extract bionic loader tests to static library in
order to link it to bionic cts tests.
2. Make libpagemap dependency static to reduce dependencies
on internal native libraries.

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

7 years agoversioner: turn on -Wundef.
Josh Gao [Thu, 15 Sep 2016 21:16:15 +0000 (14:16 -0700)]
versioner: turn on -Wundef.

Poking around with -Wundef exposed a pretty horrifying bug, so we
should probably keep it turned on.

Bug: http://b/31496165
Change-Id: Iada279eec91ded0d59ff3841d5a3ce1a36e34c3a

7 years agoFix BYTE_ORDER check in <netinet/ip6.h>.
Josh Gao [Thu, 15 Sep 2016 20:57:19 +0000 (13:57 -0700)]
Fix BYTE_ORDER check in <netinet/ip6.h>.

Neither BYTE_ORDER nor BIG_ENDIAN were being defined anywhere, so they
were defaulting to zero, leading to BIG_ENDIAN values being used.

Bug: http://b/31496165
Change-Id: Ic6089895f39b86e7762bdb5b7d5b01feb0d2fd17

7 years agoFix instances of '#if __i386__'.
Josh Gao [Thu, 15 Sep 2016 20:56:37 +0000 (13:56 -0700)]
Fix instances of '#if __i386__'.

Triggers -Wundef, which is on in -Weverything.

Bug: http://b/31496165
Change-Id: Ie2241b19abd6257bebf68baa3ecc4de8066c722e

7 years agoFix instances of '#if __LP64__'.
Josh Gao [Thu, 15 Sep 2016 20:55:41 +0000 (13:55 -0700)]
Fix instances of '#if __LP64__'.

Triggers -Wundef, which is on in -Weverything.

Bug: http://b/31496165
Change-Id: Ib06107073f7dd1d584c19c222d0430da9d35630b

7 years agoMerge "Initialize main thread TLS before the global stack guard." am: 5622837301
Josh Gao [Thu, 15 Sep 2016 19:35:36 +0000 (19:35 +0000)]
Merge "Initialize main thread TLS before the global stack guard." am: 5622837301
am: b767ba5590

Change-Id: Ib3c36ec76a3a3720dba39e4d12a10d83a423e716

7 years agoMerge "Initialize main thread TLS before the global stack guard."
Josh Gao [Thu, 15 Sep 2016 19:32:36 +0000 (19:32 +0000)]
Merge "Initialize main thread TLS before the global stack guard."
am: 5622837301

Change-Id: Ia582464997cb9df5ec29f1525272265616bb7036

7 years agoMerge "Initialize main thread TLS before the global stack guard."
Josh Gao [Thu, 15 Sep 2016 19:28:56 +0000 (19:28 +0000)]
Merge "Initialize main thread TLS before the global stack guard."

7 years agoMerge "Fix memory leak in test util" am: b32184eb84
Kenny Root [Thu, 15 Sep 2016 19:24:35 +0000 (19:24 +0000)]
Merge "Fix memory leak in test util" am: b32184eb84
am: 3c749f13d3

Change-Id: Idf5cd6eaa98622ccee7314fb910ab7ae0f1747cf

7 years agoMerge "Fix memory leak in test util"
Kenny Root [Thu, 15 Sep 2016 19:21:34 +0000 (19:21 +0000)]
Merge "Fix memory leak in test util"
am: b32184eb84

Change-Id: Iecc8686379fb61963f8948348ac3c1a74f8429e8

7 years agoMerge "Fix memory leak in test util"
Kenny Root [Thu, 15 Sep 2016 19:12:46 +0000 (19:12 +0000)]
Merge "Fix memory leak in test util"

7 years agoMerge "Add missing uapi header module." am: 57a4e8d1fe
Dan Albert [Thu, 15 Sep 2016 05:44:03 +0000 (05:44 +0000)]
Merge "Add missing uapi header module." am: 57a4e8d1fe
am: c746f3ab6a

Change-Id: I7baa8c6fcac6d3e15699164e5d5f3611a92cbec8

7 years agoMerge "Add missing uapi header module."
Dan Albert [Thu, 15 Sep 2016 05:41:32 +0000 (05:41 +0000)]
Merge "Add missing uapi header module."
am: 57a4e8d1fe

Change-Id: I7ae274b76eaaf8c6c6b9d0d40f708cd3c7c75884

7 years agoMerge "Add missing uapi header module."
Treehugger Robot [Thu, 15 Sep 2016 05:36:51 +0000 (05:36 +0000)]
Merge "Add missing uapi header module."

7 years agoMerge "Make getpagesize inline static." am: be454614c2
Dan Albert [Thu, 15 Sep 2016 03:42:11 +0000 (03:42 +0000)]
Merge "Make getpagesize inline static." am: be454614c2
am: 52ce8884e5

Change-Id: Ibc8319220fd9afd3aff7afc313267135271120eb

7 years agoMerge "Make getpagesize inline static."
Dan Albert [Thu, 15 Sep 2016 03:39:40 +0000 (03:39 +0000)]
Merge "Make getpagesize inline static."
am: be454614c2

Change-Id: I4f350e3dbaa93cb64e08e5f569af15797f373fd0

7 years agoMerge "Make getpagesize inline static."
Treehugger Robot [Thu, 15 Sep 2016 03:34:30 +0000 (03:34 +0000)]
Merge "Make getpagesize inline static."

7 years agoFix memory leak in test util
Kenny Root [Thu, 15 Sep 2016 00:14:42 +0000 (17:14 -0700)]
Fix memory leak in test util

This shows up when you're doing make HOST_SANITIZE=address

Test: mmma bionic && out/host/linux-x86/bin/bionic_tests_zipalign (compare before and after)
Change-Id: Ia94790496327f3818d5fdb7b5ad07e14e60bcae1

7 years agoMerge "versioner: turn on -Wall -Wextra -Werror." am: db79694bda
Josh Gao [Thu, 15 Sep 2016 00:17:03 +0000 (00:17 +0000)]
Merge "versioner: turn on -Wall -Wextra -Werror." am: db79694bda
am: 2453492ff6

Change-Id: I2f1faf168df08ba9d53c789c851b187fa7420b5e

7 years agoAdd missing uapi header module.
Dan Albert [Thu, 15 Sep 2016 00:15:48 +0000 (17:15 -0700)]
Add missing uapi header module.

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

7 years agoMake getpagesize inline static.
Dan Albert [Thu, 15 Sep 2016 00:10:26 +0000 (17:10 -0700)]
Make getpagesize inline static.

Needed to avoid multiple definition errors.

Test: make checkbuild tests
Bug: None
Change-Id: Ife83e89f5232e98d363e2b2edd7a353ed61c4836

7 years agoMerge "versioner: turn on -Wall -Wextra -Werror."
Josh Gao [Thu, 15 Sep 2016 00:14:34 +0000 (00:14 +0000)]
Merge "versioner: turn on -Wall -Wextra -Werror."
am: db79694bda

Change-Id: I6e26e7ad8e44960575d031a85c80655d1274c324

7 years agoMerge "versioner: turn on -Wall -Wextra -Werror."
Josh Gao [Thu, 15 Sep 2016 00:03:40 +0000 (00:03 +0000)]
Merge "versioner: turn on -Wall -Wextra -Werror."

7 years agoMerge "Add modules for NDK headers and libraries." am: 93892add44
Dan Albert [Wed, 14 Sep 2016 22:54:06 +0000 (22:54 +0000)]
Merge "Add modules for NDK headers and libraries." am: 93892add44
am: 86b9c54b77

Change-Id: Ic4bb227fff0cd29a35f8c348151a8a65b0155c61

7 years agoMerge "Add modules for NDK headers and libraries."
Dan Albert [Wed, 14 Sep 2016 22:49:21 +0000 (22:49 +0000)]
Merge "Add modules for NDK headers and libraries."
am: 93892add44

Change-Id: I424e425eca599af6b4858ec4561cd29d06938c20

7 years agoMerge "Add modules for NDK headers and libraries."
Treehugger Robot [Wed, 14 Sep 2016 22:32:23 +0000 (22:32 +0000)]
Merge "Add modules for NDK headers and libraries."

7 years agoversioner: turn on -Wall -Wextra -Werror.
Josh Gao [Wed, 14 Sep 2016 21:21:56 +0000 (14:21 -0700)]
versioner: turn on -Wall -Wextra -Werror.

Change-Id: Ica47d0fa671934a1ea193869265de8986b012a58
Test: mma && versioner

7 years agoMerge "Expose some more function decls." am: 76fcad2a6f
Dan Albert [Tue, 13 Sep 2016 23:36:09 +0000 (23:36 +0000)]
Merge "Expose some more function decls." am: 76fcad2a6f
am: 16e91fecb6

Change-Id: Ifc19c293a5f6eb158368cc5afedfe3ab3b55078b

7 years agoMerge "Expose some more function decls."
Dan Albert [Tue, 13 Sep 2016 23:33:08 +0000 (23:33 +0000)]
Merge "Expose some more function decls."
am: 76fcad2a6f

Change-Id: I862349f271d16adcccb682a1fc44bf45ba7f9e3e

7 years agoMerge "Expose some more function decls."
Treehugger Robot [Tue, 13 Sep 2016 23:24:41 +0000 (23:24 +0000)]
Merge "Expose some more function decls."

7 years agoMerge "linker: Refactoring step 3 of many" am: 8c1e2b9e38
Dimitry Ivanov [Tue, 13 Sep 2016 22:43:05 +0000 (22:43 +0000)]
Merge "linker: Refactoring step 3 of many" am: 8c1e2b9e38
am: d6b5fe0e50

Change-Id: I8fc1d32ade9d8b1762ac03874546da483263f1c2

7 years agoMerge "linker: Refactoring step 3 of many"
Dimitry Ivanov [Tue, 13 Sep 2016 22:40:05 +0000 (22:40 +0000)]
Merge "linker: Refactoring step 3 of many"
am: 8c1e2b9e38

Change-Id: I1cf3554ef8edb0f6eafda37e884eed69d469a7f7

7 years agoMerge "linker: Refactoring step 3 of many"
Treehugger Robot [Tue, 13 Sep 2016 22:34:59 +0000 (22:34 +0000)]
Merge "linker: Refactoring step 3 of many"

7 years agoAdd modules for NDK headers and libraries.
Dan Albert [Tue, 28 Jun 2016 18:18:05 +0000 (11:18 -0700)]
Add modules for NDK headers and libraries.

Test: make checkbuild
Bug: http://b/27533932
Change-Id: I285e483ba9fb80cc3baf0d025c85344e5b79a08b

7 years agoExpose some more function decls.
Dan Albert [Tue, 13 Sep 2016 21:15:21 +0000 (14:15 -0700)]
Expose some more function decls.

Test: make checkbuild tests # for x86-eng this time
Bug: http://b/30465923
Change-Id: I98c5a8d09463e85ac22b05035c87edab04eaa200

7 years agolinker: Refactoring step 3 of many
Dimitry Ivanov [Fri, 9 Sep 2016 17:00:39 +0000 (10:00 -0700)]
linker: Refactoring step 3 of many

Extract linker executable specific code to linker_main.cpp;
this part of code does not have a place in libdl.a/so.

Bug: http://b/14998480
Bug: http://b/30706810
Test: mm && run bionic-unit-tests
Change-Id: I90f7475e93a919b0f9525da22928089ad35b8f6c

7 years agoMerge "Move test libraries under /data/nativetests" am: 0f81dd3548
Dimitry Ivanov [Fri, 9 Sep 2016 19:05:53 +0000 (19:05 +0000)]
Merge "Move test libraries under /data/nativetests" am: 0f81dd3548
am: b2d09c71b1

Change-Id: Idb0701d47fabddaf4f94fe00235ed5a0baca1588

7 years agoMerge "Move test libraries under /data/nativetests"
Dimitry Ivanov [Fri, 9 Sep 2016 19:03:23 +0000 (19:03 +0000)]
Merge "Move test libraries under /data/nativetests"
am: 0f81dd3548

Change-Id: I181a13f3a9f0cde0f4f39b73610b95cd65460f25

7 years agoMerge "Move test libraries under /data/nativetests"
Treehugger Robot [Fri, 9 Sep 2016 18:58:33 +0000 (18:58 +0000)]
Merge "Move test libraries under /data/nativetests"

7 years agoMerge "[mips64] Fix ipc syscalls" am: ce4d419f7a
Nikola Veljkovic [Fri, 9 Sep 2016 17:31:16 +0000 (17:31 +0000)]
Merge "[mips64] Fix ipc syscalls" am: ce4d419f7a
am: c2e6d5e4e9

Change-Id: Iccc78df6555e508c9c6fa68633864f3a87771136

7 years agoMerge "[mips64] Fix ipc syscalls"
Nikola Veljkovic [Fri, 9 Sep 2016 17:28:16 +0000 (17:28 +0000)]
Merge "[mips64] Fix ipc syscalls"
am: ce4d419f7a

Change-Id: Iac727e4eee3de3286246aee9482bb09a5a702808

7 years agoMerge "[mips64] Fix ipc syscalls"
Treehugger Robot [Fri, 9 Sep 2016 17:19:54 +0000 (17:19 +0000)]
Merge "[mips64] Fix ipc syscalls"

7 years ago[mips64] Fix ipc syscalls
Nikola Veljkovic [Fri, 9 Sep 2016 00:01:01 +0000 (02:01 +0200)]
[mips64] Fix ipc syscalls

Mips defines CONFIG_ARCH_WANT_IPC_PARSE_VERSION for both 32 and 64-bit.
See arch/mips/Kconfig. Other supported arches do it for 32-bit only.
This translates in having to pass IPC_64 flag for mips32 and mips64.
We use __mips__ to pass the flag, which is also defined for both 32 and
64-bit.

Change fixes bionic smoke tests (sys_msg, sys_sem, sys_shm) for mips64.

Test: bionic-unit-tests --gtest_filter="sys_*.smoke"
Change-Id: I918e4ffafd2002bb3e62ee252406746778100031

7 years agoMerge changes Id513b72a,I92cd0116,I62393b58,I90ac2224,I527f88ac am: 572791e027
Dan Albert [Fri, 9 Sep 2016 01:20:44 +0000 (01:20 +0000)]
Merge changes Id513b72a,I92cd0116,I62393b58,I90ac2224,I527f88ac am: 572791e027
am: 482dde3e03

Change-Id: I08e04785b4a85f805b53f995c90b6cadcb3faa7b

7 years agoProvide fake definitions for libstdc++. am: cb0b14385b
Dan Albert [Fri, 9 Sep 2016 01:20:40 +0000 (01:20 +0000)]
Provide fake definitions for libstdc++. am: cb0b14385b
am: 42abea4c71

Change-Id: If0c31c05378714290185901bd930b3d4aa0f52aa

7 years agoProvide static inlines for in6addr things. am: 69b26542de
Dan Albert [Fri, 9 Sep 2016 01:20:35 +0000 (01:20 +0000)]
Provide static inlines for in6addr things. am: 69b26542de
am: d0275f4ced

Change-Id: Ia2099ecf453a693b0c7ee2de92445d090bd30107

7 years agoProvide an inline __cmsg_nxthdr. am: 11f0e10c49
Dan Albert [Fri, 9 Sep 2016 01:20:30 +0000 (01:20 +0000)]
Provide an inline __cmsg_nxthdr. am: 11f0e10c49
am: d0525283e0

Change-Id: I8497b097865ae03f01e3ba166e869ff5fd0fe7ad

7 years agoCorrect more fortify availability guards. am: 2990404206
Dan Albert [Fri, 9 Sep 2016 01:20:26 +0000 (01:20 +0000)]
Correct more fortify availability guards. am: 2990404206
am: 4a1341ee71

Change-Id: Id68318bf708e4fa557bb70c5f529378e29165092

7 years agoMove strncpy fortify into android-21. am: e5dd632e43
Dan Albert [Fri, 9 Sep 2016 01:20:21 +0000 (01:20 +0000)]
Move strncpy fortify into android-21. am: e5dd632e43
am: 84528e40e0

Change-Id: I1b93592cfec504f02968d3c2b6106ef368d0f316