OSDN Git Service

android-x86/bionic.git
10 years agoMerge "Lose the hand-written futex assembler."
Elliott Hughes [Fri, 23 May 2014 05:34:28 +0000 (05:34 +0000)]
Merge "Lose the hand-written futex assembler."

10 years agoLose the hand-written futex assembler.
Elliott Hughes [Fri, 23 May 2014 02:49:11 +0000 (19:49 -0700)]
Lose the hand-written futex assembler.

Also stop exporting 'futex'.

Bug: 12250341
Change-Id: Icc4fa4296cd04dfe0d1061822c69e2eb40c3433a

10 years agoMerge "Do not add arcs to the soinfo graph on dlopen"
Dmitriy Ivanov [Fri, 23 May 2014 02:19:09 +0000 (02:19 +0000)]
Merge "Do not add arcs to the soinfo graph on dlopen"

10 years agoDo not add arcs to the soinfo graph on dlopen
Bjorn Andersson [Fri, 23 May 2014 00:53:01 +0000 (17:53 -0700)]
Do not add arcs to the soinfo graph on dlopen

While introducing RTLD_NOLOAD in b648a8a5 a change in how soinfo structs are
connected was also introduced. When calling dlopen the library that is loaded
is added as a child to the soinfo from which the caller comes - i.e. building a
dependency graph.

Unfortunately this shows issues upon unloading, such as blowing the stack if
there are loops in the graph.

This change reverts that part of b648a8a5, keeping everything as a child of the
root soinfo.

Change-Id: I604ee9210613b19f693a568158e69707620a95db
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
10 years agoMerge "Add some more BSD symbols to the list."
Elliott Hughes [Fri, 23 May 2014 01:53:53 +0000 (01:53 +0000)]
Merge "Add some more BSD symbols to the list."

10 years agoAdd some more BSD symbols to the list.
Elliott Hughes [Fri, 23 May 2014 01:53:21 +0000 (18:53 -0700)]
Add some more BSD symbols to the list.

Bug: 11156955
Change-Id: I07489ec63536121dbfc372170ef5cf60a5c58948

10 years agoMerge "Cleaned up pthread rwlocks implementation."
Elliott Hughes [Fri, 23 May 2014 01:47:56 +0000 (01:47 +0000)]
Merge "Cleaned up pthread rwlocks implementation."

10 years agoMerge "Remove the tkill(2) stub."
Elliott Hughes [Fri, 23 May 2014 01:43:41 +0000 (01:43 +0000)]
Merge "Remove the tkill(2) stub."

10 years agoCleaned up pthread rwlocks implementation.
Calin Juravle [Thu, 22 May 2014 18:21:22 +0000 (19:21 +0100)]
Cleaned up pthread rwlocks implementation.

- used underscore_style_for_vars
- extracted time related functionality into a function
- cleaned up style
- removed unused fields from pthread_rwlock_t on LP64
- changed reservation in pthread_rwlock_t so that the size of the
structure equals glibc version

Bug: 8133149

Change-Id: I84ad3918678dc7f5e6b3db9b7e9b0899d3abe9cd

10 years agoRemove the tkill(2) stub.
Elliott Hughes [Thu, 22 May 2014 20:40:49 +0000 (13:40 -0700)]
Remove the tkill(2) stub.

glibc doesn't have tkill or tgkill and says "use syscall(3) instead".
I've left tgkill since it's quite widely used, but there's no reason
to have tkill as well.

Bug: 11156955
Change-Id: Ifc0af750320086f829bc9914551c172b501f3b60

10 years agoMerge "Remove unnecessary #includes of <sys/atomics.h>."
Elliott Hughes [Thu, 22 May 2014 18:02:08 +0000 (18:02 +0000)]
Merge "Remove unnecessary #includes of <sys/atomics.h>."

10 years agoRemove unnecessary #includes of <sys/atomics.h>.
Elliott Hughes [Thu, 22 May 2014 17:49:16 +0000 (10:49 -0700)]
Remove unnecessary #includes of <sys/atomics.h>.

Bug: 14903517
Change-Id: I7b5bcebe58774a441da986cc02376dd88e00ea0e

10 years agoMerge "Fix dlsym_failure NULL handle test"
Dmitriy Ivanov [Thu, 22 May 2014 17:10:47 +0000 (17:10 +0000)]
Merge "Fix dlsym_failure NULL handle test"

10 years agoFix dlsym_failure NULL handle test
Dmitriy Ivanov [Thu, 22 May 2014 16:49:24 +0000 (09:49 -0700)]
Fix dlsym_failure NULL handle test

 * RTLD_DEFAULT != (void*)0 only for bionic32

Change-Id: I3b3758835cf4085b0f899e2b62861591411aec13

10 years agoMerge "Add dprintf test"
Calin Juravle [Thu, 22 May 2014 16:03:07 +0000 (16:03 +0000)]
Merge "Add dprintf test"

10 years agoMerge "Switch to POSIX dprintf/vdprintf."
Calin Juravle [Thu, 22 May 2014 13:28:51 +0000 (13:28 +0000)]
Merge "Switch to POSIX dprintf/vdprintf."

10 years agoMerge "Removed dlsym handle != NULL check for lp64"
Dmitriy Ivanov [Thu, 22 May 2014 12:55:14 +0000 (12:55 +0000)]
Merge "Removed dlsym handle != NULL check for lp64"

10 years agoAdd dprintf test
Calin Juravle [Thu, 22 May 2014 10:47:47 +0000 (11:47 +0100)]
Add dprintf test

Change-Id: I0fe1b4d45c1312cf01deed6ce5db032d5513e908

10 years agoSwitch to POSIX dprintf/vdprintf.
Elliott Hughes [Thu, 22 May 2014 08:24:30 +0000 (01:24 -0700)]
Switch to POSIX dprintf/vdprintf.

Bug: 11156955
Change-Id: I734bd02db514367ab119a48304aae9767958e367

10 years agoMerge "Add padding to mips ucontext_t."
Calin Juravle [Thu, 22 May 2014 10:16:41 +0000 (10:16 +0000)]
Merge "Add padding to mips ucontext_t."

10 years agoMerge "Clean up ucontext.h TODOs."
Calin Juravle [Thu, 22 May 2014 10:16:11 +0000 (10:16 +0000)]
Merge "Clean up ucontext.h TODOs."

10 years agoMerge "Mutex-free implementation of pthread_rwlock"
Calin Juravle [Thu, 22 May 2014 10:15:03 +0000 (10:15 +0000)]
Merge "Mutex-free implementation of pthread_rwlock"

10 years agoMutex-free implementation of pthread_rwlock
Calin Juravle [Mon, 19 May 2014 12:41:10 +0000 (13:41 +0100)]
Mutex-free implementation of pthread_rwlock

Bug: 8133149
Change-Id: Id6775010d95f2634b173daa55d87a59a3cf4131b

10 years agoRemoved dlsym handle != NULL check for lp64
Dmitriy Ivanov [Thu, 22 May 2014 05:42:24 +0000 (22:42 -0700)]
Removed dlsym handle != NULL check for lp64

 * Removed unnecessary NULL check in dlsym
 * Fixed dlsym_failure test to account for
   correct RTLD_DEFAULT value
 * Added temporary check for legacy RTLD_DEFAULT
   value for non-yet-recompiled binaries

Bug: 15146875
Change-Id: I089fa673762629f5724b6e4fbca019d9cfc39905

10 years agoMerge "Hide most of the private futex functions."
Elliott Hughes [Thu, 22 May 2014 02:56:40 +0000 (02:56 +0000)]
Merge "Hide most of the private futex functions."

10 years agoHide most of the private futex functions.
Elliott Hughes [Thu, 22 May 2014 01:27:40 +0000 (18:27 -0700)]
Hide most of the private futex functions.

Also hide part of the system properties compatibility code, since
we needed to touch that to keep it building.

I'll remove __futex_syscall4 and futex in a later patch.

Bug: 11156955
Change-Id: Ibbf42414c5bb07fb9f1c4a169922844778e4eeae

10 years agoMerge "Add cfi directives for arm64 assembler."
Christopher Ferris [Thu, 22 May 2014 01:08:22 +0000 (01:08 +0000)]
Merge "Add cfi directives for arm64 assembler."

10 years agoAdd cfi directives for arm64 assembler.
Christopher Ferris [Wed, 21 May 2014 23:00:13 +0000 (16:00 -0700)]
Add cfi directives for arm64 assembler.

Fix syscall generator to add cfi directives and add the directives
for all arm64 assembler.

Bug: 15138290
Change-Id: I7f0e4a16c141ac624e5276917a3a1ed45778e057

10 years agoMerge "Remove an unnecessary instruction from arm64 __bionic_clone."
Elliott Hughes [Wed, 21 May 2014 23:44:54 +0000 (23:44 +0000)]
Merge "Remove an unnecessary instruction from arm64 __bionic_clone."

10 years agoRemove an unnecessary instruction from arm64 __bionic_clone.
Elliott Hughes [Wed, 21 May 2014 23:29:55 +0000 (16:29 -0700)]
Remove an unnecessary instruction from arm64 __bionic_clone.

Change-Id: Ib0dd5079d10b3634901d561932259653945176ee

10 years agoMerge "Fix build."
Christopher Ferris [Wed, 21 May 2014 18:47:36 +0000 (18:47 +0000)]
Merge "Fix build."

10 years agoFix build.
Christopher Ferris [Wed, 21 May 2014 18:45:51 +0000 (11:45 -0700)]
Fix build.

Change-Id: I5a35eee4074e35f459c86c7f9b1d9b0754888940

10 years agoMerge "Support for jemalloc to replace dlmalloc."
Christopher Ferris [Wed, 21 May 2014 18:12:49 +0000 (18:12 +0000)]
Merge "Support for jemalloc to replace dlmalloc."

10 years agoMerge "Remove __syslog; we have the public klogctl API."
Elliott Hughes [Wed, 21 May 2014 18:07:04 +0000 (18:07 +0000)]
Merge "Remove __syslog; we have the public klogctl API."

10 years agoAdd padding to mips ucontext_t.
Calin Juravle [Tue, 20 May 2014 15:53:15 +0000 (16:53 +0100)]
Add padding to mips ucontext_t.

Bug: 12828904
Change-Id: I49e7adcebf769a9c30dc43def36501260369b1ac

10 years agoClean up ucontext.h TODOs.
Calin Juravle [Tue, 20 May 2014 15:51:24 +0000 (16:51 +0100)]
Clean up ucontext.h TODOs.

There's no need to expose gregset_t and fpregset_t when they
are not used in ucontext_t.

Bug: 12828904
Change-Id: Ieda1edf0ab18015f444c4d385fe9c41c4544017f

10 years agoMerge "Fix x86_64 __set_tls.c build failure."
Elliott Hughes [Wed, 21 May 2014 17:02:44 +0000 (17:02 +0000)]
Merge "Fix x86_64 __set_tls.c build failure."

10 years agoFix x86_64 __set_tls.c build failure.
Elliott Hughes [Wed, 21 May 2014 17:02:00 +0000 (10:02 -0700)]
Fix x86_64 __set_tls.c build failure.

Change-Id: I697b8ab4ce781d7aebeddb1391b63c653511bbcb

10 years agoMerge "Treat zero or >1 dat files as an error"
Neil Fuller [Wed, 21 May 2014 16:18:59 +0000 (16:18 +0000)]
Merge "Treat zero or >1 dat files as an error"

10 years agoTreat zero or >1 dat files as an error
Neil Fuller [Wed, 21 May 2014 15:59:09 +0000 (16:59 +0100)]
Treat zero or >1 dat files as an error

Based on feedback from
I7efbd6f453fe2b3e71f564121ff0f64a74289d86

Change-Id: Ie131ab8475083350dc183d9f6d5ea7a0b0617c5b

10 years agoMerge "Add a few more symbols to check-symbols-glibc."
Elliott Hughes [Wed, 21 May 2014 15:23:35 +0000 (15:23 +0000)]
Merge "Add a few more symbols to check-symbols-glibc."

10 years agoMerge "Hide __get_sp."
Elliott Hughes [Wed, 21 May 2014 15:21:16 +0000 (15:21 +0000)]
Merge "Hide __get_sp."

10 years agoMerge "Hide __set_tls."
Elliott Hughes [Wed, 21 May 2014 15:21:00 +0000 (15:21 +0000)]
Merge "Hide __set_tls."

10 years agoMerge "Change update-tzdata.py to update ICU data as well"
Neil Fuller [Wed, 21 May 2014 08:11:40 +0000 (08:11 +0000)]
Merge "Change update-tzdata.py to update ICU data as well"

10 years agoRemove __syslog; we have the public klogctl API.
Elliott Hughes [Wed, 21 May 2014 04:01:00 +0000 (21:01 -0700)]
Remove __syslog; we have the public klogctl API.

Bug: 11156955
Change-Id: I5c2cc02f39f76dd32984135f5c12c10bf2853796

10 years agoAdd a few more symbols to check-symbols-glibc.
Elliott Hughes [Wed, 21 May 2014 03:37:56 +0000 (20:37 -0700)]
Add a few more symbols to check-symbols-glibc.

Bug: 11156955
Change-Id: Iee0bae6f9742eca188abc7a337371c50888a0ad6

10 years agoHide __set_tls.
Elliott Hughes [Wed, 21 May 2014 03:32:28 +0000 (20:32 -0700)]
Hide __set_tls.

Bug: 11156955
Change-Id: If82c10ae412651361d09591017d1c3a411bd6f0b

10 years agoHide __get_sp.
Elliott Hughes [Wed, 21 May 2014 03:22:50 +0000 (20:22 -0700)]
Hide __get_sp.

Bug: 11156955
Change-Id: I55d8d320521e80c2085af28933a18b00cf5c714e

10 years agoMerge "Remove perf_event_open."
Elliott Hughes [Wed, 21 May 2014 03:11:57 +0000 (03:11 +0000)]
Merge "Remove perf_event_open."

10 years agoRemove perf_event_open.
Elliott Hughes [Tue, 20 May 2014 23:24:10 +0000 (16:24 -0700)]
Remove perf_event_open.

This was accidentally added at a time when you couldn't add a constant
to <syscall.h> without generating an assembly stub! (You no longer need
to add the constants at all.)

Bug: 11156955
Change-Id: I053c17879138787976c744a5ecf7d30ee51dc48f

10 years agoMerge "HACK: linker: check for handle==0xffffffff on LP64"
Colin Cross [Tue, 20 May 2014 23:03:07 +0000 (23:03 +0000)]
Merge "HACK: linker: check for handle==0xffffffff on LP64"

10 years agoHACK: linker: check for handle==0xffffffff on LP64
Colin Cross [Tue, 20 May 2014 22:06:37 +0000 (15:06 -0700)]
HACK: linker: check for handle==0xffffffff on LP64

bionic RTLD_NEXT was changed from 0xffffffff to -1L, which breaks
existing binaries compiled.  Temporarily look either until we can
get recompiled binaries.

Bug: 15113039
Change-Id: I1568fa0e4a832c5e6df21da74a33b22bde7f16f6

10 years agoSupport for jemalloc to replace dlmalloc.
Christopher Ferris [Thu, 8 May 2014 18:14:03 +0000 (11:14 -0700)]
Support for jemalloc to replace dlmalloc.

To use jemalloc, add MALLOC_IMPL = jemalloc in a board config file
and you get the new version automatically.

Update the pthread_create_key tests since jemalloc uses a few keys.
Add a new test to verify memalign works as expected.

Bug: 981363

Change-Id: I16eb152b291a95bd2499e90492fc6b4bd7053836

10 years agoMerge "denver: optimize memmove"
Christopher Ferris [Tue, 20 May 2014 19:56:13 +0000 (19:56 +0000)]
Merge "denver: optimize memmove"

10 years agodenver: optimize memmove
Shu Zhang [Mon, 12 May 2014 10:12:15 +0000 (18:12 +0800)]
denver: optimize memmove

Optimize 32-bit denver memmove with reversal memcpy.

Change-Id: Iaad0a9475248cdd7e4f50d58bea9db1b767abc88

10 years agoMerge "Add R_X86_64_64 to the list of possible weak relocs"
Dmitriy Ivanov [Tue, 20 May 2014 19:11:25 +0000 (19:11 +0000)]
Merge "Add R_X86_64_64 to the list of possible weak relocs"

10 years agoMerge "Add RTLD_NOLOAD support and some related changes."
Dmitriy Ivanov [Tue, 20 May 2014 19:11:09 +0000 (19:11 +0000)]
Merge "Add RTLD_NOLOAD support and some related changes."

10 years agoAdd RTLD_NOLOAD support and some related changes.
Dmitriy Ivanov [Mon, 19 May 2014 22:06:58 +0000 (15:06 -0700)]
Add RTLD_NOLOAD support and some related changes.

 * Aligned RTLD_ values with glibc for lp64
 * dlopen supports RTLD_NOLOAD flag
 * soinfo_unload calls find_library(.., RTLD_NOLOAD)
   instead of naive find_loaded_library_by_name()
 * dlopen changed to add child to caller soinfo instead
   of somain.

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

10 years agoMerge "Add a script for finding symbols in bionic that aren't in glibc."
Elliott Hughes [Tue, 20 May 2014 18:25:23 +0000 (18:25 +0000)]
Merge "Add a script for finding symbols in bionic that aren't in glibc."

10 years agoMerge "Fix lookup-by-base-name for lp64"
Dmitriy Ivanov [Tue, 20 May 2014 15:53:52 +0000 (15:53 +0000)]
Merge "Fix lookup-by-base-name for lp64"

10 years agoAdd R_X86_64_64 to the list of possible weak relocs
Pavel Chupin [Fri, 16 May 2014 09:49:24 +0000 (13:49 +0400)]
Add R_X86_64_64 to the list of possible weak relocs

Change-Id: I768a5948d89701a1719734954a3524d3c7187e6a
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
10 years agoChange update-tzdata.py to update ICU data as well
Neil Fuller [Fri, 16 May 2014 17:04:48 +0000 (18:04 +0100)]
Change update-tzdata.py to update ICU data as well

The update-tzdata.py tool now uses downloaded Olson data
to update ICU (*new*) at the same time as it updates Bionic
data.

Change-Id: I7efbd6f453fe2b3e71f564121ff0f64a74289d86

10 years agoMerge "Add uc_regspace to arm's ucontext_t"
Calin Juravle [Tue, 20 May 2014 10:14:48 +0000 (10:14 +0000)]
Merge "Add uc_regspace to arm's ucontext_t"

10 years agoFix lookup-by-base-name for lp64
Dmitriy Ivanov [Mon, 19 May 2014 22:19:52 +0000 (15:19 -0700)]
Fix lookup-by-base-name for lp64

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

10 years agoAdd a script for finding symbols in bionic that aren't in glibc.
Elliott Hughes [Fri, 16 May 2014 21:44:38 +0000 (14:44 -0700)]
Add a script for finding symbols in bionic that aren't in glibc.

Bug: 11156955
Change-Id: I9772f054f6a92b842531df084dee0ea9c28806be

10 years agoMerge "Use -fvisibility=hidden to build libm."
Elliott Hughes [Tue, 20 May 2014 00:48:13 +0000 (00:48 +0000)]
Merge "Use -fvisibility=hidden to build libm."

10 years agoUse -fvisibility=hidden to build libm.
Elliott Hughes [Mon, 19 May 2014 23:58:52 +0000 (16:58 -0700)]
Use -fvisibility=hidden to build libm.

Bug: 11156955
Change-Id: I77b7772a44313a1eb3970f5d2c8e2af63690efa4

10 years agoMerge "Revert "Removes bionic's dependence on stlport""
Dan Albert [Mon, 19 May 2014 23:48:06 +0000 (23:48 +0000)]
Merge "Revert "Removes bionic's dependence on stlport""

10 years agoRevert "Removes bionic's dependence on stlport"
Dan Albert [Mon, 19 May 2014 23:46:51 +0000 (23:46 +0000)]
Revert "Removes bionic's dependence on stlport"

This reverts commit 4d35da1df8b74c1965b2201f6089e7d7bb352def.

Change-Id: Ie9a2620441edb55dbc5949e13a4b913ea4e66797

10 years agoMerge "Removes bionic's dependence on stlport"
Dan Albert [Mon, 19 May 2014 23:31:34 +0000 (23:31 +0000)]
Merge "Removes bionic's dependence on stlport"

10 years agoMerge "Removes RTTI support from libc"
Dan Albert [Mon, 19 May 2014 23:21:46 +0000 (23:21 +0000)]
Merge "Removes RTTI support from libc"

10 years agoMerge "Switch back to OpenBSD inet_ntop now they're FORTIFY clean."
Elliott Hughes [Mon, 19 May 2014 23:19:31 +0000 (23:19 +0000)]
Merge "Switch back to OpenBSD inet_ntop now they're FORTIFY clean."

10 years agoSwitch back to OpenBSD inet_ntop now they're FORTIFY clean.
Elliott Hughes [Mon, 19 May 2014 22:55:29 +0000 (15:55 -0700)]
Switch back to OpenBSD inet_ntop now they're FORTIFY clean.

Change-Id: I04798a4966c352a8a12feebdff9646e3bad5933f

10 years agoMerge "Mark sockets on creation (socket()) and accept4()."
Sreeram Ramachandran [Mon, 19 May 2014 22:39:05 +0000 (22:39 +0000)]
Merge "Mark sockets on creation (socket()) and accept4()."

10 years agoMerge "Address additional warnings found by GCC 4.9."
Ben Cheng [Mon, 19 May 2014 22:28:10 +0000 (22:28 +0000)]
Merge "Address additional warnings found by GCC 4.9."

10 years agoMark sockets on creation (socket()) and accept4().
Sreeram Ramachandran [Mon, 19 May 2014 20:39:57 +0000 (13:39 -0700)]
Mark sockets on creation (socket()) and accept4().

Remove the separate syscall for accept() and implement it as accept4(..., 0).

Change-Id: Ib0b8f5d7c5013b91eae6bbc3847852eb355c7714

10 years agoMerge "Query libnetd_client for the appropriate netId for host resolution."
Sreeram Ramachandran [Mon, 19 May 2014 22:16:47 +0000 (22:16 +0000)]
Merge "Query libnetd_client for the appropriate netId for host resolution."

10 years agoAddress additional warnings found by GCC 4.9.
Ben Cheng [Mon, 19 May 2014 21:27:31 +0000 (14:27 -0700)]
Address additional warnings found by GCC 4.9.

Change-Id: If668a6eb98a6ce7b2872f528b8e3527638814f68

10 years agoQuery libnetd_client for the appropriate netId for host resolution.
Paul Jensen [Thu, 15 May 2014 18:43:07 +0000 (14:43 -0400)]
Query libnetd_client for the appropriate netId for host resolution.

If libnetd_client can't be found, operate as before and use the default netId
potentially overriden by a more specific netId passed in to
android_get*fornet().

(cherry picked from commit 559c7842cc6862568d9b5799fc0bcf74d58b596b)

Change-Id: I42ef3293172651870fb46d2de22464c4f03e8e0b

10 years agoRemoves bionic's dependence on stlport
Dan Albert [Mon, 19 May 2014 17:50:15 +0000 (10:50 -0700)]
Removes bionic's dependence on stlport

Only affects tests/benchmarks. Confirmed passing on arm.

Change-Id: If158e23e8cd06e7597ef6f3c9376f6799b467e62

10 years agoAdd uc_regspace to arm's ucontext_t
Calin Juravle [Mon, 19 May 2014 18:14:03 +0000 (19:14 +0100)]
Add uc_regspace to arm's ucontext_t

Bug: 12828904
Bug: 12875898
Change-Id: Ic5d532bd0ef58cad9e36a99fc2995c4b069121b2

10 years agoRemoves RTTI support from libc
Dan Albert [Mon, 19 May 2014 17:32:42 +0000 (10:32 -0700)]
Removes RTTI support from libc

Our type_info stub implementation is incompatible with the libc++ headers. Since
we don't need this support internally and anyone that wants RTTI support will
have to use libc++ anyway, this can be safely removed.

Change-Id: Ied8b67a0d86a4eb0e31191a50cceba0e39a16a6d

10 years agoMerge "Cosmetic changes to netd client files."
Sreeram Ramachandran [Mon, 19 May 2014 16:45:53 +0000 (16:45 +0000)]
Merge "Cosmetic changes to netd client files."

10 years agoMerge "Accuracy tests for libm"
Christopher Ferris [Mon, 19 May 2014 02:19:58 +0000 (02:19 +0000)]
Merge "Accuracy tests for libm"

10 years agoCosmetic changes to netd client files.
Sreeram Ramachandran [Sun, 18 May 2014 22:18:36 +0000 (15:18 -0700)]
Cosmetic changes to netd client files.

+ Name the dispatch header correctly (NetdClientDispatch.h).
+ Hide the global dispatch variable (__netdClientDispatch).
+ Explain why it's okay to read the variable without locking.
+ Use quotes instead of angle-brackets for non-system includes.
+ Add necessary declarations for C compiles (and not just C++).

Change-Id: Id0932165e71d81da5fce77a684f40c2263f58e61

10 years agoMerge "Rethrow SIGTRAP too."
Elliott Hughes [Sat, 17 May 2014 00:35:32 +0000 (00:35 +0000)]
Merge "Rethrow SIGTRAP too."

10 years agoRethrow SIGTRAP too.
Elliott Hughes [Sat, 17 May 2014 00:34:13 +0000 (17:34 -0700)]
Rethrow SIGTRAP too.

Bug: 15024256
Change-Id: I0347da9698a6ccd317ce6e6f7916d710d66e0f8a

10 years agoMerge "Fix the newly-introduced warning and turn on -Werror."
Elliott Hughes [Sat, 17 May 2014 00:16:04 +0000 (00:16 +0000)]
Merge "Fix the newly-introduced warning and turn on -Werror."

10 years agoMerge "debugger.cpp should know the names of the signals it catches."
Elliott Hughes [Sat, 17 May 2014 00:14:45 +0000 (00:14 +0000)]
Merge "debugger.cpp should know the names of the signals it catches."

10 years agodebugger.cpp should know the names of the signals it catches.
Elliott Hughes [Fri, 16 May 2014 23:59:54 +0000 (16:59 -0700)]
debugger.cpp should know the names of the signals it catches.

Change-Id: I37908b07739ad465652f143848c52bc1ef19e421

10 years agoFix the newly-introduced warning and turn on -Werror.
Elliott Hughes [Fri, 16 May 2014 23:50:34 +0000 (16:50 -0700)]
Fix the newly-introduced warning and turn on -Werror.

I cleaned up most of our warnings last week but forgot to turn on -Werror,
so of course we're getting new warnings already. I've left -Werror commented
out in those places where we still have warnings to deal with before we can
turn on -Werror.

Change-Id: Ia58ff8b8c1ada4bf81eec6f19ec1d34e133cf4b1

10 years agoMerge "Export get_malloc_leak_info and free_malloc_leak_info, used by ddms."
Elliott Hughes [Fri, 16 May 2014 23:30:52 +0000 (23:30 +0000)]
Merge "Export get_malloc_leak_info and free_malloc_leak_info, used by ddms."

10 years agoExport get_malloc_leak_info and free_malloc_leak_info, used by ddms.
Elliott Hughes [Fri, 16 May 2014 23:29:55 +0000 (16:29 -0700)]
Export get_malloc_leak_info and free_malloc_leak_info, used by ddms.

Bug: 11156955
Change-Id: I84043f7b2c0ea0e336f6e2af3b7adb2f8488bd53

10 years agoMerge "Hide _exit_with_stack_teardown."
Elliott Hughes [Fri, 16 May 2014 23:23:35 +0000 (23:23 +0000)]
Merge "Hide _exit_with_stack_teardown."

10 years agoHide _exit_with_stack_teardown.
Elliott Hughes [Fri, 16 May 2014 23:17:44 +0000 (16:17 -0700)]
Hide _exit_with_stack_teardown.

Bug: 11156955
Change-Id: Ida3020343c9975177dc324918cd1f10c455eb173

10 years agoMerge "Hide various debug malloc implementation details."
Elliott Hughes [Fri, 16 May 2014 23:04:02 +0000 (23:04 +0000)]
Merge "Hide various debug malloc implementation details."

10 years agoMerge "Remove dead code."
Elliott Hughes [Fri, 16 May 2014 22:52:41 +0000 (22:52 +0000)]
Merge "Remove dead code."

10 years agoMerge "Hide __signalfd4, used to implement signalfd(3)."
Elliott Hughes [Fri, 16 May 2014 22:51:28 +0000 (22:51 +0000)]
Merge "Hide __signalfd4, used to implement signalfd(3)."

10 years agoHide __signalfd4, used to implement signalfd(3).
Elliott Hughes [Fri, 16 May 2014 22:47:29 +0000 (15:47 -0700)]
Hide __signalfd4, used to implement signalfd(3).

Bug: 11156955
Change-Id: I50842279cb5b32ec8bd45193435574e415cd806e

10 years agoAccuracy tests for libm
Jingwei Zhang [Tue, 13 May 2014 23:17:24 +0000 (16:17 -0700)]
Accuracy tests for libm

This patch adds tests for 14 math functions to address coverage
issue of math functions discussed in:
https://android-review.googlesource.com/#/c/49653/

Change-Id: Ia7200b93d4f5c7928a3fb827ca6932226384a116
Signed-off-by: Jingwei Zhang <jingwei.zhang@intel.com>
Signed-off-by: Yong Yao <yong.yao@intel.com>