OSDN Git Service
Elliott Hughes [Sat, 30 Apr 2016 05:30:19 +0000 (22:30 -0700)]
Fix various empty .h files in bionic.
Bug: http://b/
28432688
Change-Id: I339f5221b9e66ce5983eb3685b9405e8d6f58808
Treehugger Robot [Sat, 30 Apr 2016 00:48:38 +0000 (00:48 +0000)]
Merge changes I0aa46d9d,I6431111b
* changes:
Add __INTRODUCED_IN_{32,64}.
Add __INTRODUCED_IN hack to complex test.
Josh Gao [Fri, 29 Apr 2016 19:15:18 +0000 (12:15 -0700)]
Add __INTRODUCED_IN_{32,64}.
Some symbols appeared at different times between 32 and 64 bit. Add a
macro to represent this.
Bug: http://b/
28178111
Change-Id: I0aa46d9da3c7301b60df0416bce252f0f37b7b36
Josh Gao [Fri, 29 Apr 2016 18:52:39 +0000 (11:52 -0700)]
Add __INTRODUCED_IN hack to complex test.
complex_test.cpp is compiled with both bionic and glibc, so when
__INTRODUCED_IN starts being used in <complex.h>, we'll need this to
keep it building.
Bug: http://b/
28178111
Change-Id: I6431111be35288cad72e9c23ca8599f548b6d906
Elliott Hughes [Fri, 29 Apr 2016 22:12:20 +0000 (22:12 +0000)]
Merge "Remove __UNAVAILABLE."
Elliott Hughes [Fri, 29 Apr 2016 18:07:55 +0000 (11:07 -0700)]
Remove __UNAVAILABLE.
We fixed the things we needed this for, and should never reintroduce a
similar mistake in future.
Change-Id: I74b447bcf22ea533f3c79db48b66a3c217d76c2f
Elliott Hughes [Fri, 29 Apr 2016 18:05:28 +0000 (18:05 +0000)]
Merge "Fix <wctype.h>."
Elliott Hughes [Fri, 29 Apr 2016 15:11:59 +0000 (15:11 +0000)]
Merge "Remove declaration of pthread_cond_timeout_np."
Neil Fuller [Fri, 29 Apr 2016 09:17:52 +0000 (09:17 +0000)]
Merge "Update timezone data to 2016d"
Neil Fuller [Fri, 29 Apr 2016 09:17:23 +0000 (09:17 +0000)]
Merge "Update timezone data to 2016c"
Neil Fuller [Fri, 29 Apr 2016 09:16:43 +0000 (09:16 +0000)]
Merge "Update timezone data to 2016b"
Elliott Hughes [Fri, 29 Apr 2016 01:22:06 +0000 (18:22 -0700)]
Fix <wctype.h>.
* Fix the return type of towlower_l/towupper_l.
* Implement wctrans/wctrans_l/towctrans/towctrans_l.
* Move declarations that POSIX says are available from both <wchar.h> and
<wctype.h> to <bits/wctype.h> and include from both POSIX headers.
* Write the missing tests.
Change-Id: I3221da5f3d7e8a2fb0a7619dc724de45f7b55398
Treehugger Robot [Fri, 29 Apr 2016 00:43:26 +0000 (00:43 +0000)]
Merge "Implement mblen(3)."
Elliott Hughes [Thu, 28 Apr 2016 21:54:52 +0000 (14:54 -0700)]
Implement mblen(3).
Change-Id: I65948ea5b9ecd63f966ba767ad6db4a2effc4700
Treehugger Robot [Thu, 28 Apr 2016 19:50:48 +0000 (19:50 +0000)]
Merge "Remove -fvisibility=hidden from dns code"
Dimitry Ivanov [Thu, 28 Apr 2016 18:38:33 +0000 (11:38 -0700)]
Remove -fvisibility=hidden from dns code
We no longer need it because version script controls
list of symbols we export.
This also fixes mips/mips64 builds.
Bug: http://b/
24767418
Change-Id: I61c504665fc0349275384596d375155991743e05
Treehugger Robot [Thu, 28 Apr 2016 17:18:01 +0000 (17:18 +0000)]
Merge "[mips64] Call __memset_chk_fail correctly for mips64."
Elliott Hughes [Thu, 28 Apr 2016 17:07:21 +0000 (10:07 -0700)]
Remove declaration of pthread_cond_timeout_np.
Bug: http://b/
27918161
Change-Id: I61b5710dc394c155bdb4577a750b96195033251e
Predrag Blagojevic [Fri, 22 Apr 2016 11:01:19 +0000 (13:01 +0200)]
[mips64] Call __memset_chk_fail correctly for mips64.
This change resolves Fortify1_{gcc|clang}_DeathTest.* test failures.
Change-Id: Ia936c159323bdf8e9577160ee92b99e66e6793ea
Treehugger Robot [Thu, 28 Apr 2016 04:37:25 +0000 (04:37 +0000)]
Merge "Add unwind information for r7 in arm syscalls."
Christopher Ferris [Thu, 28 Apr 2016 01:31:02 +0000 (18:31 -0700)]
Add unwind information for r7 in arm syscalls.
It turns out that clang can emit code where the sp is saved in the r7
register on arm. Unfortunately, a lot of our syscalls overwrite that
value while the syscall is executing, so unwinding through that syscall
fails.
Update the syscall generation code to add unwinding information for
these uses.
Bug:
28411713
(cherry picked from commit
6e45d37decbbaf78ed4685213aebb1c9b5ccf8c2)
Change-Id: Ib775effc44c4113735fe9032b0602b9d63e3e390
Treehugger Robot [Thu, 28 Apr 2016 02:15:05 +0000 (02:15 +0000)]
Merge "Make malloc debug symbols platform-private"
Josh Gao [Thu, 28 Apr 2016 01:46:36 +0000 (01:46 +0000)]
Merge changes from topic 'bionic_unavailable'
* changes:
Tag unavailable functions with macro.
Delete declarations which don't exist.
Dimitry Ivanov [Thu, 28 Apr 2016 01:16:16 +0000 (18:16 -0700)]
Make malloc debug symbols platform-private
Bug: http://b/
28432442
Change-Id: I96b9cb8b57726b4e8d53069e72666cf107cdeba2
Stephen Hines [Thu, 28 Apr 2016 01:13:03 +0000 (01:13 +0000)]
Merge "Enable clang builds of mips/mips64 in bionic again."
Josh Gao [Tue, 26 Apr 2016 21:42:55 +0000 (14:42 -0700)]
Tag unavailable functions with macro.
Add an __UNAVAILABLE macro, and use it for several functions which lack
implementations, but need to have visible declarations to be reexported
in the C++ standard library.
Bug: http://b/
28178111
Change-Id: Ia4ae0207bbfcb7baa61821f0ef946257b019c0db
Josh Gao [Tue, 26 Apr 2016 00:04:10 +0000 (17:04 -0700)]
Delete declarations which don't exist.
Bug: http://b/
28178111
Change-Id: I72d5d015d7927a8df24b3973bf8a052053a067fb
Stephen Hines [Wed, 27 Apr 2016 00:54:56 +0000 (17:54 -0700)]
Enable clang builds of mips/mips64 in bionic again.
Bug: http://b/
25291096
The latest clang-
2812033 prebuilts have all the necessary cherry-picks
to fix the mips booting issues from the past.
Change-Id: Ib3b364daaa50ef55401e016b92419b64f02f03dc
Pierre Imai [Wed, 27 Apr 2016 04:29:24 +0000 (04:29 +0000)]
Merge "Fix DNS search path info."
Pierre Imai [Tue, 26 Apr 2016 13:08:40 +0000 (22:08 +0900)]
Fix DNS search path info.
Fix the resolver information returned by
android_net_res_stats_get_info_for_net,
erroneously included MAXDNSRCH empty results if no search path was set.
BUG:
25731675
Change-Id: I97ef5d2d47dc62ca403a3323c7f14902e47b29b6
Josh Gao [Tue, 26 Apr 2016 23:13:48 +0000 (23:13 +0000)]
Merge "Make <sys/user.h> compile on AArch64."
Josh Gao [Tue, 26 Apr 2016 00:04:56 +0000 (17:04 -0700)]
Make <sys/user.h> compile on AArch64.
Previously, AArch64 used uint64_t without including <stdint.h>.
Bug: http://b/
28178111
Change-Id: I8a497765d835f32b456f7eb925a6760e523163c4
Treehugger Robot [Fri, 22 Apr 2016 19:48:05 +0000 (19:48 +0000)]
Merge "bionic: Implement getpwent and getgrent"
Chih-hung Hsieh [Fri, 22 Apr 2016 18:37:53 +0000 (18:37 +0000)]
Merge "Fix google-explicit-constructor warning."
Mark Salyzyn [Wed, 6 Apr 2016 17:35:48 +0000 (10:35 -0700)]
bionic: Implement getpwent and getgrent
Not efficient to iterate through given the large number of Android
ids (AID). Compile warning will result if you use these functions,
telling you as much. Not for general consumption, however for
example, some filesystem tests would like to see these to perform
all corners.
About 1/4 second for getpwent, and 1/8 second for getgrent to iterate
through all reserved Android aids.
Bug:
27999086
Change-Id: I7784273b7875c38e4954ae21d314f35e4bf8c2fc
Chih-Hung Hsieh [Fri, 22 Apr 2016 17:25:10 +0000 (10:25 -0700)]
Fix google-explicit-constructor warning.
Bug:
28341362
Change-Id: I85d2f83a3ca35699cfab54e725a64aaf3013c8f1
Dimitry Ivanov [Fri, 22 Apr 2016 14:30:24 +0000 (14:30 +0000)]
Merge "Improve error message for empty list of public libs"
Neil Fuller [Thu, 21 Apr 2016 14:06:48 +0000 (15:06 +0100)]
Update timezone data to 2016d
Changes affecting future time stamps
America/Caracas switches from -0430 to -04 on 2016-05-01 at 02:30.
(Thanks to Alexander Krivenyshev for the heads-up.)
Asia/Magadan switches from +10 to +11 on 2016-04-24 at 02:00.
(Thanks to Alexander Krivenyshev and Matt Johnson.)
New zone Asia/Tomsk, split off from Asia/Novosibirsk. It covers
Tomsk Oblast, Russia, which switches from +06 to +07 on 2016-05-29
at 02:00. (Thanks to Stepan Golosunov.)
Changes affecting past time stamps
New zone Europe/Kirov, split off from Europe/Volgograd. It covers
Kirov Oblast, Russia, which switched from +04/+05 to +03/+04 on
1989-03-26 at 02:00, roughly a year after Europe/Volgograd made
the same change. (Thanks to Stepan Golosunov.)
Russia and nearby locations had daylight-saving transitions on
1992-03-29 at 02:00 and 1992-09-27 at 03:00, instead of on
1992-03-28 at 23:00 and 1992-09-26 at 23:00. (Thanks to Stepan
Golosunov.)
Many corrections to historical time in Kazakhstan from 1991
through 2005. (Thanks to Stepan Golosunov.) Replace Kazakhstan's
invented time zone abbreviations with numeric abbreviations.
Bug:
28240832
(cherry picked from commit
f3158b94ab102b0f1066990683f08d283417cbba)
Change-Id: If3b7189b4c60d8dfd0859b6e009461324a6a5bb2
Neil Fuller [Fri, 15 Apr 2016 13:58:08 +0000 (14:58 +0100)]
Update timezone data to 2016c
Changes affecting future time stamps
Azerbaijan no longer observes DST. (Thanks to Steffen Thorsen.)
Chile reverts from permanent to seasonal DST. (Thanks to Juan
Correa for the heads-up, and to Tim Parenti for corrections.)
Guess that future transitions are August's and May's second
Saturdays at 24:00 mainland time. Also, call the period from
2014-09-07 through 2016-05-14 daylight saving time instead of
standard time, as that seems more appropriate now.
Changes affecting past time stamps
Europe/Kaliningrad and Europe/Vilnius changed from +03/+04 to
+02/+03 on 1989-03-26, not 1991-03-31. Europe/Volgograd changed
from +04/+05 to +03/+04 on 1988-03-27, not 1989-03-26.
(Thanks to Stepan Golosunov.)
Bug:
27826144
(cherry picked from commit
28a63edc6874c0c6871f649b728610deefcc33db)
Change-Id: I81d3c858eaae1329d16663df14c18ca3623f7cf8
Neil Fuller [Tue, 22 Mar 2016 11:30:36 +0000 (11:30 +0000)]
Update timezone data to 2016b
Changes affecting future time stamps
New zones Europe/Astrakhan and Europe/Ulyanovsk for Astrakhan and
Ulyanovsk Oblasts, Russia, both of which will switch from +03 to +04 on
2016-03-27 at 02:00 local time. They need distinct zones since their
post-1970 histories disagree. New zone Asia/Barnaul for Altai Krai and
Altai Republic, Russia, which will switch from +06 to +07 on the same date
and local time. Also, Asia/Sakhalin moves from +10 to +11 on 2016-03-27
at 02:00. (Thanks to Alexander Krivenyshev for the heads-up, and to
Matt Johnson and Stepan Golosunov for followup.)
As a trial of a new system that needs less information to be made up,
the new zones use numeric time zone abbreviations like "+04"
instead of invented abbreviations like "ASTT".
Haiti will not observe DST in 2016. (Thanks to Jean Antoine via
Steffen Thorsen.)
Palestine's spring-forward transition on 2016-03-26 is at 01:00, not 00:00.
(Thanks to Hannah Kreitem.) Guess future transitions will be March's last
Saturday at 01:00, not March's last Friday at 24:00.
Changes affecting past time stamps
Europe/Chisinau observed DST during 1990, and switched from +04 to
+03 at 1990-05-06 02:00, instead of switching from +03 to +02.
(Thanks to Stepan Golosunov.)
1991 abbreviations in Europe/Samara should be SAMT/SAMST, not
KUYT/KUYST. (Thanks to Stepan Golosunov.)
The update produced (apparently benign) warnings from zic as suggested here:
http://mm.icann.org/pipermail/tz-announce/2016-March/000036.html
Bug:
27656428
(cherry picked from commit
4fc72e0230732af038c5f43634b8efb84b010af2)
Change-Id: I3492fcacf2771d6cc194e4ff155a04c3817ae336
Treehugger Robot [Fri, 22 Apr 2016 09:30:51 +0000 (09:30 +0000)]
Merge "Add a test exercising ptrace watchpoint functionality"
Pavel Labath [Thu, 21 Apr 2016 14:13:22 +0000 (15:13 +0100)]
Add a test exercising ptrace watchpoint functionality
This adds a test which verifies that watchpoints work on devices
which support them. It is motivated by issues experienced by Nexus
5 devices, where watchpoints work only sporadically.
These tests spawn a process, trace it, and verify it hits a
watchpoint of various sizes while executing on all available CPUs
(to help catch a recent bug, where some debugging functionality
was not available on non-boot CPUs). All x86(_64) targets are
expected to support this functionality. In case of arm(64),
watchpoints are expected to work on devices where the relevant
syscall indicates watchpoint presence. In case of mips, this test
is skipped as I could not verify that the test would work
correctly due to lack of hardware, and this test is intrinsically
hardware-dependend.
Change-Id: I035ac1822816cd1a3f3b56b985c2fb5fd664185d
Dimitry Ivanov [Thu, 21 Apr 2016 21:57:38 +0000 (14:57 -0700)]
Improve error message for empty list of public libs
Change-Id: I5a3cbc99d34e05559426b521a964d1407b67a6c4
Pierre Imai [Thu, 21 Apr 2016 03:58:36 +0000 (03:58 +0000)]
Merge changes I6059b68e,I11a7257a
* changes:
Add new info functions to resolver for use by Netd.
Store DNS server count in resolv_cache.
Pierre Imai [Mon, 18 Apr 2016 03:00:12 +0000 (12:00 +0900)]
Add new info functions to resolver for use by Netd.
android_net_res_stats_get_info_for_net returns the current name servers, search
domains, parameters and stats for the given network ID.
android_net_res_stats_aggregate provides statistics such as errors counts from
the raw stats data reported by android_net_res_stats_get_info_for_net.
android_net_res_stats_get_usable_servers uses the data returned by
android_net_res_stats_aggregate to determine which of the servers are
considered valid or broken by the resolver.
BUG:
25731675
Change-Id: I6059b68e5e8b809027a4d3135f6081588bee8a7d
Pierre Imai [Mon, 18 Apr 2016 02:42:14 +0000 (11:42 +0900)]
Store DNS server count in resolv_cache.
Instead of keeping a sentinel after nameservers[], nsaddrinfo[] and
nstats[], store the server count in the structure, freeing up memory and
eliminating the need to enumerate the server count every time
_resolv_is_nameservers_equal_locked() is invoked.
Also increase MAXNS from 3 to 4.
BUG:
28153323
Change-Id: I11a7257af695157c9e32019cd00c67b535b63c75
Treehugger Robot [Thu, 21 Apr 2016 00:47:09 +0000 (00:47 +0000)]
Merge "Change pointer to allocation in unit tests."
Christopher Ferris [Wed, 20 Apr 2016 23:44:39 +0000 (16:44 -0700)]
Change pointer to allocation in unit tests.
I changed the output from "pointer" to "allocation" for allocation
mismatches. I forgot to update the tests.
Bug:
28218530
Change-Id: I3278cb1dd17fb50ff7448c00e069c1af68ce5a57
Than McIntosh [Wed, 20 Apr 2016 14:23:10 +0000 (14:23 +0000)]
Merge "Rename DT_MIPS_RLD_MAP2 flag to DT_MIPS_RLD_MAP_REL"
Colin Cross [Tue, 19 Apr 2016 22:42:04 +0000 (22:42 +0000)]
Merge "Update sanitize property format"
Christopher Ferris [Tue, 19 Apr 2016 17:51:41 +0000 (17:51 +0000)]
Merge "Add malloc debug documentation."
Elliott Hughes [Tue, 19 Apr 2016 16:14:23 +0000 (16:14 +0000)]
Merge "Fix ftw/nftw to only report unreadable directories once."
Christopher Ferris [Mon, 18 Apr 2016 21:24:26 +0000 (21:24 +0000)]
Merge "Small fixes to malloc debug."
Elliott Hughes [Sat, 16 Apr 2016 00:40:33 +0000 (17:40 -0700)]
Fix ftw/nftw to only report unreadable directories once.
Also remove all the copy & paste.
Bug: http://b/
28197840
Change-Id: Ia43e9ffd838dabb511a6e54403d6f62066383e4d
Dimitry Ivanov [Sat, 16 Apr 2016 01:30:44 +0000 (01:30 +0000)]
Merge "Revert "Temporary move __udivdi3 back to LIBC for x86""
Dimitry Ivanov [Sat, 16 Apr 2016 00:58:12 +0000 (00:58 +0000)]
Revert "Temporary move __udivdi3 back to LIBC for x86"
This reverts commit
bc02fb964a59983521c5f6cf80b1189434952780.
Bug: http://b/
26406724
Bug: http://b/
26423217
Change-Id: I8e3186fc76502d6818753e5d76a7c145207ed9a3
Colin Cross [Thu, 7 Apr 2016 20:27:24 +0000 (13:27 -0700)]
Update sanitize property format
Change-Id: I2fd35d6d85c7da7e96ffcefcd81350c836f0db9c
Christopher Ferris [Fri, 18 Mar 2016 21:29:51 +0000 (14:29 -0700)]
Add malloc debug documentation.
Bug:
27902359
Bug:
28218530
Change-Id: I4b0e83cba7a9a0da745599ad546559a2b30e70c5
Christopher Ferris [Fri, 15 Apr 2016 21:13:52 +0000 (14:13 -0700)]
Small fixes to malloc debug.
- Change the printed name from pointer to allocation to be explicit about
what is wrong.
- Change the signal to be SIGRTMAX - 19 instead of SIGRTMIN. This should
prevent problems if we have to reserve other real time signals.
Bug:
28218530
Change-Id: Ic7d9c471929264d8e47bafaffc16e099840c9e71
Treehugger Robot [Fri, 15 Apr 2016 20:59:36 +0000 (20:59 +0000)]
Merge changes Id8a3b7dc,I00ded8f9,I02f78ad7
* changes:
Make the legacy inline headers compile standalone.
Don't redefine __ANDROID_API__.
Move <sys/_sigdefs.h> and <sys/_errdefs.h> to private.
Josh Gao [Thu, 14 Apr 2016 00:18:20 +0000 (17:18 -0700)]
Make the legacy inline headers compile standalone.
It's useful to have the legacy inlines compile by themselves, both to
make header unification easier, and to ensure that the inline versions
match the regular declarations. Notably, this wasn't true for
sigismember, which took a const sigset_t* in the regular header, and
sigset_t* in the inline version.
Bug: http://b/
28178111
Change-Id: Id8a3b7dcb1bfa61eed93c9fb50d3192744f8bef5
Dimitry Ivanov [Thu, 14 Apr 2016 19:47:57 +0000 (19:47 +0000)]
Merge "Remove dangling links in secondary namespaces"
Dimitry Ivanov [Mon, 11 Apr 2016 19:42:58 +0000 (12:42 -0700)]
Remove dangling links in secondary namespaces
linker didn't remove link to the soinfo from shared
namespaces on soinfo_unload, because it didn't keep
record of all namespaces the library is added to.
This change adds test for this and also fixes the
problem by introducing list of secondary namespaces
to soinfo, which is used to remove soinfo in
soinfo::remove_all_links().
Bug: http://b/
28115950
Change-Id: Ifbf6e54f92fa6e88f86b6a8dd6dc22d4553afd22
Treehugger Robot [Thu, 14 Apr 2016 04:30:54 +0000 (04:30 +0000)]
Merge "linker: remove unnecessary reset of constructors_called flag"
Josh Gao [Thu, 14 Apr 2016 00:16:47 +0000 (17:16 -0700)]
Don't redefine __ANDROID_API__.
Bug: http://b/
28178111
Change-Id: I00ded8f90694d9ed28f3b4c97778635f5a564592
Josh Gao [Thu, 14 Apr 2016 00:08:43 +0000 (17:08 -0700)]
Move <sys/_sigdefs.h> and <sys/_errdefs.h> to private.
Bug: http://b/
28067717
Change-Id: I02f78ad7293a15ff45e35e9c20f60d3d023931eb
Treehugger Robot [Thu, 14 Apr 2016 00:36:44 +0000 (00:36 +0000)]
Merge "Move linker-namespace functions to LIBC_PLATFORM"
Dimitry Ivanov [Wed, 13 Apr 2016 22:01:37 +0000 (15:01 -0700)]
Move linker-namespace functions to LIBC_PLATFORM
Bug: http://b/
28174921
Change-Id: I089dbeeea813fc2128b9c2f6268a578d23a1954a
(cherry picked from commit
7095da8d3c0f45e41aff5ca3d61aa7c442e21bdf)
Dimitry Ivanov [Wed, 13 Apr 2016 21:47:36 +0000 (14:47 -0700)]
linker: remove unnecessary reset of constructors_called flag
linker doesn't call d-tors for RTLD_NODELETE libraries. There is
no need in reseting this flag in call_destructors (which is called
from soinfo_unload).
Change-Id: I3ed03fa7207b7acf598067276fbb8874e29b5e53
Treehugger Robot [Wed, 13 Apr 2016 20:55:20 +0000 (20:55 +0000)]
Merge "linker: unload RTLD_NODELETE libraries when loading fails"
Dimitry Ivanov [Wed, 13 Apr 2016 18:46:59 +0000 (11:46 -0700)]
linker: unload RTLD_NODELETE libraries when loading fails
Linker was not unloading libraries marked with RTLD_NODELETE
even when there was a error on load. For example when one of
dt_needed libraries was not found.
Bug: http://b/
27911891
Change-Id: Ibc0bf110aa41fbfdc9f327ad8c364f2e3600af71
(cherry picked from commit
79abce42146b27d523f309e0a1bc9f50175191cb)
Christopher Ferris [Tue, 12 Apr 2016 22:39:48 +0000 (22:39 +0000)]
Merge "Small refactor."
Christopher Ferris [Fri, 8 Apr 2016 00:14:53 +0000 (17:14 -0700)]
Small refactor.
- Move all ScopedDisableDebugCalls into the debug_XXX calls. This avoids
any issues that might arise where every part of the code needs to properly
guard anything that might allocate. Instead everything is already guarded.
- Add a pointer to debug_data in all of the XXData classes. This avoids
calling individual functions passing in the debug_data pointer.
- Flip the NO_HEADER_OPTIONS to an explicit HEADER_OPTIONS list since fewer
options actually require a header.
- Move the extern of g_debug to the DebugData.h header.
Change-Id: Ia213a391b4a44d9ce122a709d09fe4f1b5426f36
Elliott Hughes [Tue, 12 Apr 2016 21:59:12 +0000 (21:59 +0000)]
Merge "Add a test for pthread_setname_np on another thread in a PR_SET_DUMPABLE 0 process."
Colin Cross [Tue, 12 Apr 2016 21:16:04 +0000 (21:16 +0000)]
Merge "Rename deps property to objs in cc_objects"
Treehugger Robot [Tue, 12 Apr 2016 19:10:34 +0000 (19:10 +0000)]
Merge "Update Android.bp to match Android.mk"
Colin Cross [Mon, 11 Apr 2016 21:34:18 +0000 (14:34 -0700)]
Rename deps property to objs in cc_objects
The deps property is handled by blueprint, which doesn't give the
flexibilty of handling it within soong. Switch to using objs instead.
Change-Id: Iddc25b0ba03fe79ba0533ef6fde33a5e71bcc8f0
Colin Cross [Mon, 11 Apr 2016 21:51:38 +0000 (14:51 -0700)]
Update Android.bp to match Android.mk
Change-Id: I002242ab36b6d0d8ad833543c07945f64175a613
Colin Cross [Mon, 11 Apr 2016 21:23:56 +0000 (21:23 +0000)]
Merge "Update Android.bp to match Android.mk"
Elliott Hughes [Mon, 11 Apr 2016 19:43:05 +0000 (12:43 -0700)]
Add a test for pthread_setname_np on another thread in a PR_SET_DUMPABLE 0 process.
Bug: http://b/
28051133
Change-Id: I9a578333815afa6bdfc1e3c3eea430a15957304f
Josh Gao [Mon, 11 Apr 2016 18:20:26 +0000 (18:20 +0000)]
Merge "Remove fabs, fabsf, fabsl inlines from <math.h>."
Dimitry Ivanov [Sat, 9 Apr 2016 01:40:32 +0000 (01:40 +0000)]
Merge "Add test for IRELATIVE resolution with RTLD_LAZY"
Josh Gao [Fri, 8 Apr 2016 18:43:33 +0000 (11:43 -0700)]
Remove fabs, fabsf, fabsl inlines from <math.h>.
These inline definitions appear to be a workaround for a compiler bug
that either never existed, or has been resolved since then.
Bug: http://b/
28067717
Change-Id: Ic1cd0f26403f234a6ab1fa273a9dd23e7f9fee8f
Dimitry Ivanov [Fri, 8 Apr 2016 18:47:53 +0000 (11:47 -0700)]
Add test for IRELATIVE resolution with RTLD_LAZY
Even though bionic linker does not support RTLD_LAZY - it
is good to know that its behavior matches glibc.
Bug: http://b/
27930475
Change-Id: I1a47263aaa3dc44f9ac61fe77deb55a21e7f881a
Josh Gao [Fri, 8 Apr 2016 17:59:23 +0000 (17:59 +0000)]
Merge changes Ife4692e4,I7304cc1d,If19653d0,I769ca792,I93625d19, ...
* changes:
Move <sys/sysconf.h> to <bits/sysconf.h>.
Remove mbstowcs from <wchar.h>.
Extract getopt and friends to <bits/getopt.h>
Remove declaration of unlinkat from <fcntl.h>.
Extract ioctl to <bits/ioctl.h>.
Extract fcntl to <bits/fcntl.h>.
Extract strcasecmp and friends to <bits/strcasecmp.h>.
Make <bits/lockf.h> compile standalone.
Make <android/dlext.h> compile standalone.
Make the network headers compile standalone.
Remove duplicate declaration of mlock, munlock.
Josh Gao [Thu, 7 Apr 2016 23:33:30 +0000 (16:33 -0700)]
Move <sys/sysconf.h> to <bits/sysconf.h>.
Also remove unneeded declaration of sysconf in <unistd.h>.
Bug: http://b/
28067717
Change-Id: Ife4692e48ca97480e422db0686c61133e1d619aa
Josh Gao [Thu, 7 Apr 2016 23:38:22 +0000 (16:38 -0700)]
Remove mbstowcs from <wchar.h>.
Glibc doesn't export the function here, and adding a <bits/...> header
for this function seems unnecessary.
Bug: http://b/
28067717
Change-Id: I7304cc1daca14585c85d5c783365c4a43779ff2c
Josh Gao [Thu, 7 Apr 2016 23:37:49 +0000 (16:37 -0700)]
Extract getopt and friends to <bits/getopt.h>
Bug: http://b/
28067717
Change-Id: If19653d0da8b964c43768aa1051f9c926b3c6acb
Josh Gao [Thu, 7 Apr 2016 22:28:40 +0000 (15:28 -0700)]
Remove declaration of unlinkat from <fcntl.h>.
Glibc doesn't expose unlinkat in fcntl.h, this probably came about
because the man page for unlinkat mentions `#include <fcntl.h>` for the
AT_* constants that actually are defined there.
Bug: http://b/
28067717
Change-Id: I769ca792a189bfea212b1d75096274acb0b7cfdb
Josh Gao [Thu, 7 Apr 2016 21:19:03 +0000 (14:19 -0700)]
Extract ioctl to <bits/ioctl.h>.
Bug: http://b/
28067717
Change-Id: I93625d19fa5a033ab22c650d536e98674f0a8d9d
Josh Gao [Thu, 7 Apr 2016 21:16:30 +0000 (14:16 -0700)]
Extract fcntl to <bits/fcntl.h>.
Bug: http://b/
28067717
Change-Id: Id8c19056244660a6e0276a5614282af8d41fbe1e
Josh Gao [Thu, 7 Apr 2016 20:39:49 +0000 (13:39 -0700)]
Extract strcasecmp and friends to <bits/strcasecmp.h>.
Bug: http://b/
28067717
Change-Id: I76bab098d4c35d07a7a108055c43c820087f9253
Josh Gao [Thu, 7 Apr 2016 20:38:48 +0000 (13:38 -0700)]
Make <bits/lockf.h> compile standalone.
Bug: http://b/
28067717
Change-Id: Ida9f251ff23f9e32dcd0c38eb23b6a3bffea322c
Josh Gao [Thu, 7 Apr 2016 18:21:47 +0000 (11:21 -0700)]
Make <android/dlext.h> compile standalone.
Bug: http://b/
28067717
Change-Id: If087e0c931c69bda34263ea8e0b2dc46d932b2af
Colin Cross [Thu, 7 Apr 2016 20:24:50 +0000 (13:24 -0700)]
Update Android.bp to match Android.mk
Change-Id: I0d9bb2b98838184856da81499a64334e0b554617
Josh Gao [Thu, 7 Apr 2016 18:16:35 +0000 (11:16 -0700)]
Make the network headers compile standalone.
Bug: http://b/
28067717
Change-Id: I0f69c6cba0eb0df2fe68f458ba5aa81fe8e6434c
Josh Gao [Thu, 7 Apr 2016 17:59:45 +0000 (10:59 -0700)]
Remove duplicate declaration of mlock, munlock.
Bug: http://b/
28067717
Change-Id: I4fe5a4368e5112a5d6aed5de9549155d3352962a
Elliott Hughes [Thu, 7 Apr 2016 15:49:02 +0000 (15:49 +0000)]
Merge "Add trivial no-op <nl_types.h>."
Elliott Hughes [Thu, 7 Apr 2016 00:14:45 +0000 (17:14 -0700)]
Add trivial no-op <nl_types.h>.
Needed to build OpenMP.
Bug: http://b/
27617302
Change-Id: Iac15c84ead6f5d5274cfdb2d6d4a4ec0072244bb
Elliott Hughes [Wed, 6 Apr 2016 21:22:44 +0000 (21:22 +0000)]
Merge "Teach our script to ignore more dead POSIX stuff."