OSDN Git Service

android-x86/bionic.git
10 years agoam e42e5b32: am ab5488f9: Merge "Fix transient failure in select_smoke test."
Christopher Ferris [Wed, 2 Apr 2014 00:02:51 +0000 (00:02 +0000)]
am e42e5b32: am ab5488f9: Merge "Fix transient failure in select_smoke test."

* commit 'e42e5b32ebae3390c33402764458d77137b2d626':
  Fix transient failure in select_smoke test.

10 years agoam ab5488f9: Merge "Fix transient failure in select_smoke test."
Christopher Ferris [Tue, 1 Apr 2014 22:03:17 +0000 (22:03 +0000)]
am ab5488f9: Merge "Fix transient failure in select_smoke test."

* commit 'ab5488f97545f5dd1a1cd2ff6a5579b1d2443996':
  Fix transient failure in select_smoke test.

10 years agoam 94d1de56: am 92d81d89: Merge "Add Silvermont architecture cache sizes"
Elliott Hughes [Tue, 1 Apr 2014 21:55:02 +0000 (21:55 +0000)]
am 94d1de56: am 92d81d89: Merge "Add Silvermont architecture cache sizes"

* commit '94d1de561d31013cbe82a4ea980db9931a685e24':
  Add Silvermont architecture cache sizes

10 years agoMerge "Fix transient failure in select_smoke test."
Christopher Ferris [Tue, 1 Apr 2014 21:52:05 +0000 (21:52 +0000)]
Merge "Fix transient failure in select_smoke test."

10 years agoam 92d81d89: Merge "Add Silvermont architecture cache sizes"
Elliott Hughes [Tue, 1 Apr 2014 21:48:03 +0000 (21:48 +0000)]
am 92d81d89: Merge "Add Silvermont architecture cache sizes"

* commit '92d81d893f7ca2735afb07f38f7dc799a2de6860':
  Add Silvermont architecture cache sizes

10 years agoFix transient failure in select_smoke test.
Christopher Ferris [Tue, 1 Apr 2014 05:51:27 +0000 (22:51 -0700)]
Fix transient failure in select_smoke test.

Make sure there is a delay before the file descriptor is written so that
the select/pselect calls do not return immediately.

Change-Id: If9e481b0e2cfae7ef7abd9cba8fff84078e203d3

10 years agoMerge "Add Silvermont architecture cache sizes"
Elliott Hughes [Tue, 1 Apr 2014 21:40:04 +0000 (21:40 +0000)]
Merge "Add Silvermont architecture cache sizes"

10 years agoam abd89b0c: am e05816cf: Merge "Fix debug malloc for LP64."
Elliott Hughes [Tue, 1 Apr 2014 21:14:58 +0000 (21:14 +0000)]
am abd89b0c: am e05816cf: Merge "Fix debug malloc for LP64."

* commit 'abd89b0cccb893e62afce87ec05b325ca337a8d8':
  Fix debug malloc for LP64.

10 years agoam e05816cf: Merge "Fix debug malloc for LP64."
Elliott Hughes [Tue, 1 Apr 2014 21:09:54 +0000 (21:09 +0000)]
am e05816cf: Merge "Fix debug malloc for LP64."

* commit 'e05816cfa0270d7def33da70bf2ada12350b08b5':
  Fix debug malloc for LP64.

10 years agoMerge "Fix debug malloc for LP64."
Elliott Hughes [Tue, 1 Apr 2014 21:00:07 +0000 (21:00 +0000)]
Merge "Fix debug malloc for LP64."

10 years agoFix debug malloc for LP64.
Elliott Hughes [Tue, 1 Apr 2014 20:48:30 +0000 (13:48 -0700)]
Fix debug malloc for LP64.

Change-Id: I5de2097b6589c0d6750b2a3bc3cbb06227de6d5f

10 years agoam f7dd9085: am f42df8c1: Merge "Add lsearch(3) for ltrace."
Elliott Hughes [Tue, 1 Apr 2014 20:39:45 +0000 (20:39 +0000)]
am f7dd9085: am f42df8c1: Merge "Add lsearch(3) for ltrace."

* commit 'f7dd908586ea49283a792e345e51d48541834b7c':
  Add lsearch(3) for ltrace.

10 years agoam f42df8c1: Merge "Add lsearch(3) for ltrace."
Elliott Hughes [Tue, 1 Apr 2014 20:35:58 +0000 (20:35 +0000)]
am f42df8c1: Merge "Add lsearch(3) for ltrace."

* commit 'f42df8c1ac1fd1924a6244f5b9ad472d73786949':
  Add lsearch(3) for ltrace.

10 years agoMerge "Add lsearch(3) for ltrace."
Elliott Hughes [Tue, 1 Apr 2014 20:25:32 +0000 (20:25 +0000)]
Merge "Add lsearch(3) for ltrace."

10 years agoam 0ea45999: am 796249a4: Merge "Remove duplicate line in linker/Android.mk."
Elliott Hughes [Tue, 1 Apr 2014 19:42:25 +0000 (19:42 +0000)]
am 0ea45999: am 796249a4: Merge "Remove duplicate line in linker/Android.mk."

* commit '0ea459992f75b454e743ebf1a41ddab4a3327b16':
  Remove duplicate line in linker/Android.mk.

10 years agoAdd lsearch(3) for ltrace.
Elliott Hughes [Tue, 1 Apr 2014 19:40:00 +0000 (12:40 -0700)]
Add lsearch(3) for ltrace.

Bug: 13746936
Change-Id: I833c6ba70a1752c04dab7de389f5bebb741662b3

10 years agoam 796249a4: Merge "Remove duplicate line in linker/Android.mk."
Elliott Hughes [Tue, 1 Apr 2014 19:33:44 +0000 (19:33 +0000)]
am 796249a4: Merge "Remove duplicate line in linker/Android.mk."

* commit '796249a4ce48ed5eb946170f32541e3edf83b601':
  Remove duplicate line in linker/Android.mk.

10 years agoMerge "Remove duplicate line in linker/Android.mk."
Elliott Hughes [Tue, 1 Apr 2014 19:22:19 +0000 (19:22 +0000)]
Merge "Remove duplicate line in linker/Android.mk."

10 years agoRemove duplicate line in linker/Android.mk.
Elliott Hughes [Tue, 1 Apr 2014 18:41:36 +0000 (11:41 -0700)]
Remove duplicate line in linker/Android.mk.

Change-Id: I7b4d5fcdfacc840bbda4ffd965e5315c4651cfe5

10 years agoam bc004aa4: am b732b71d: Merge "Move accept4 tests into sys_socket_test.cpp."
Christopher Ferris [Tue, 1 Apr 2014 09:16:41 +0000 (09:16 +0000)]
am bc004aa4: am b732b71d: Merge "Move accept4 tests into sys_socket_test.cpp."

* commit 'bc004aa4d36fec0fae112ff4de078b3f2fd3dbc6':
  Move accept4 tests into sys_socket_test.cpp.

10 years agoam b732b71d: Merge "Move accept4 tests into sys_socket_test.cpp."
Christopher Ferris [Tue, 1 Apr 2014 09:08:01 +0000 (09:08 +0000)]
am b732b71d: Merge "Move accept4 tests into sys_socket_test.cpp."

* commit 'b732b71dc10158a4c1d8ee2235d357f8694030ba':
  Move accept4 tests into sys_socket_test.cpp.

10 years agoAdd Silvermont architecture cache sizes
Henrik Smiding [Wed, 8 Jan 2014 15:57:55 +0000 (16:57 +0100)]
Add Silvermont architecture cache sizes

Adds Silvermont specific cache sizes for bionic optimizations.

Change-Id: Ib992f530b8c485121b2874470fd6bed2212adb0f
Signed-off-by: Henrik Smiding <henrik.smiding@intel.com>
10 years agoMerge "Move accept4 tests into sys_socket_test.cpp."
Christopher Ferris [Tue, 1 Apr 2014 05:50:17 +0000 (05:50 +0000)]
Merge "Move accept4 tests into sys_socket_test.cpp."

10 years agoMove accept4 tests into sys_socket_test.cpp.
Christopher Ferris [Mon, 31 Mar 2014 20:30:22 +0000 (13:30 -0700)]
Move accept4 tests into sys_socket_test.cpp.

In addition, create basic recvmmsg, sendmmsg tests.

Change-Id: Ie9f4954446d98b5eb5e553d3c616c1ee67c3cb66

10 years agoam 1cf377bb: am aad59faf: Merge "Small accept4 fixes."
Christopher Ferris [Mon, 31 Mar 2014 19:50:02 +0000 (19:50 +0000)]
am 1cf377bb: am aad59faf: Merge "Small accept4 fixes."

* commit '1cf377bbceb5c59b8572fcdb456034e18fdc1db1':
  Small accept4 fixes.

10 years agoam aad59faf: Merge "Small accept4 fixes."
Christopher Ferris [Mon, 31 Mar 2014 19:11:02 +0000 (19:11 +0000)]
am aad59faf: Merge "Small accept4 fixes."

* commit 'aad59fafeaa1f46e1744864167e6407b5a5ae55e':
  Small accept4 fixes.

10 years agoMerge "Small accept4 fixes."
Christopher Ferris [Mon, 31 Mar 2014 19:01:23 +0000 (19:01 +0000)]
Merge "Small accept4 fixes."

10 years agoSmall accept4 fixes.
Christopher Ferris [Mon, 31 Mar 2014 18:23:39 +0000 (11:23 -0700)]
Small accept4 fixes.

Put the accept4 test in the sorted order, and put the accept4 define in
sorted order.

Also add the missing SYS_RECVMMSG and SYS_SENDMMSG defines.

Change-Id: Iba55354975e0d5027dbee53f6de752c2df719493

10 years agoam 93203f65: am 557942ac: Merge "Fix math tests."
Calin Juravle [Mon, 31 Mar 2014 11:36:00 +0000 (11:36 +0000)]
am 93203f65: am 557942ac: Merge "Fix math tests."

* commit '93203f65220bd3884bbe5da1cb90292341605088':
  Fix math tests.

10 years agoam 557942ac: Merge "Fix math tests."
Calin Juravle [Mon, 31 Mar 2014 11:29:51 +0000 (11:29 +0000)]
am 557942ac: Merge "Fix math tests."

* commit '557942ac58f08675473460b1802b43473c467172':
  Fix math tests.

10 years agoMerge "Fix math tests."
Calin Juravle [Mon, 31 Mar 2014 10:54:14 +0000 (10:54 +0000)]
Merge "Fix math tests."

10 years agoam ce5583f7: am d8fe15fd: Merge "add 32-bit bionic implementation for denver arch"
Christopher Ferris [Mon, 31 Mar 2014 03:42:38 +0000 (03:42 +0000)]
am ce5583f7: am d8fe15fd: Merge "add 32-bit bionic implementation for denver arch"

* commit 'ce5583f7065d930cc8d79a05601ca85146da5c2e':
  add 32-bit bionic implementation for denver arch

10 years agoam d8fe15fd: Merge "add 32-bit bionic implementation for denver arch"
Christopher Ferris [Mon, 31 Mar 2014 03:39:02 +0000 (03:39 +0000)]
am d8fe15fd: Merge "add 32-bit bionic implementation for denver arch"

* commit 'd8fe15fdb6581b6920a4be75731337edbac64b11':
  add 32-bit bionic implementation for denver arch

10 years agoMerge "add 32-bit bionic implementation for denver arch"
Christopher Ferris [Mon, 31 Mar 2014 03:30:12 +0000 (03:30 +0000)]
Merge "add 32-bit bionic implementation for denver arch"

10 years agoam 52268f39: am c19972a4: Merge "Use __unused instead of UNUSED in linker.cpp"
Christopher Ferris [Sun, 30 Mar 2014 22:39:38 +0000 (22:39 +0000)]
am 52268f39: am c19972a4: Merge "Use __unused instead of UNUSED in linker.cpp"

* commit '52268f39820bc541aa7a8c79654de486d8a8e9f2':
  Use __unused instead of UNUSED in linker.cpp

10 years agoam c19972a4: Merge "Use __unused instead of UNUSED in linker.cpp"
Christopher Ferris [Sun, 30 Mar 2014 22:34:02 +0000 (22:34 +0000)]
am c19972a4: Merge "Use __unused instead of UNUSED in linker.cpp"

* commit 'c19972a4ca24512e017ad501bf446a489d4236e7':
  Use __unused instead of UNUSED in linker.cpp

10 years agoMerge "Use __unused instead of UNUSED in linker.cpp"
Christopher Ferris [Sun, 30 Mar 2014 22:24:22 +0000 (22:24 +0000)]
Merge "Use __unused instead of UNUSED in linker.cpp"

10 years agoam fd134c6f: am 6617fb73: Merge "Add lconv declaration and localeconv(3)"
Calin Juravle [Fri, 28 Mar 2014 11:36:03 +0000 (11:36 +0000)]
am fd134c6f: am 6617fb73: Merge "Add lconv declaration and localeconv(3)"

* commit 'fd134c6f33ad040dfc2f91d7e23e8186fa3e8610':
  Add lconv declaration and localeconv(3)

10 years agoam 6617fb73: Merge "Add lconv declaration and localeconv(3)"
Calin Juravle [Fri, 28 Mar 2014 11:29:20 +0000 (11:29 +0000)]
am 6617fb73: Merge "Add lconv declaration and localeconv(3)"

* commit '6617fb73b6393f727cfc88a650c7e033ced053ce':
  Add lconv declaration and localeconv(3)

10 years agoMerge "Add lconv declaration and localeconv(3)"
Calin Juravle [Fri, 28 Mar 2014 11:18:16 +0000 (11:18 +0000)]
Merge "Add lconv declaration and localeconv(3)"

10 years agoAdd lconv declaration and localeconv(3)
Pavel Chupin [Tue, 25 Mar 2014 09:43:04 +0000 (13:43 +0400)]
Add lconv declaration and localeconv(3)

lconv is taken from ndk/sources/android/support/include/locale.h and
matches
bsd/glibc upstream.
Keep old declaration for 32-bits for compatibility.
localeconv.c and deps are taken from openbsd upstream.
Changed strtod.c accordingly.

Change-Id: I9fcc4d15f5674d192950d80edf26f36006cd31b4
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
10 years agoFix math tests.
Calin Juravle [Thu, 27 Mar 2014 13:41:06 +0000 (13:41 +0000)]
Fix math tests.

Bug: 13657654
Change-Id: I39b2f13b5b3d3e6897618ac3aed49a0a08458dd0

10 years agoam 7009abc2: am a58b3f78: Merge "Add accept4 unit test to bionic."
Christopher Ferris [Thu, 27 Mar 2014 18:29:26 +0000 (18:29 +0000)]
am 7009abc2: am a58b3f78: Merge "Add accept4 unit test to bionic."

* commit '7009abc28335f01105ac1da02c3d0d06788e21b7':
  Add accept4 unit test to bionic.

10 years agoam 61bfc416: am cd3303fa: Merge "linker: use LOCAL_MULTILIB := both style to build...
Colin Cross [Thu, 27 Mar 2014 18:29:26 +0000 (18:29 +0000)]
am 61bfc416: am cd3303fa: Merge "linker: use LOCAL_MULTILIB := both style to build linker64"

* commit '61bfc41644ba009678bb9f7e4a2deb3ebe60099e':
  linker: use LOCAL_MULTILIB := both style to build linker64

10 years agoam a58b3f78: Merge "Add accept4 unit test to bionic."
Christopher Ferris [Thu, 27 Mar 2014 18:23:30 +0000 (18:23 +0000)]
am a58b3f78: Merge "Add accept4 unit test to bionic."

* commit 'a58b3f78e14500e7b10fc845ef0a6a8309664663':
  Add accept4 unit test to bionic.

10 years agoam cd3303fa: Merge "linker: use LOCAL_MULTILIB := both style to build linker64"
Colin Cross [Thu, 27 Mar 2014 18:23:29 +0000 (18:23 +0000)]
am cd3303fa: Merge "linker: use LOCAL_MULTILIB := both style to build linker64"

* commit 'cd3303fa384c86f9e7dfab52cce33bd986fdd565':
  linker: use LOCAL_MULTILIB := both style to build linker64

10 years agoMerge "Add accept4 unit test to bionic."
Christopher Ferris [Thu, 27 Mar 2014 18:15:15 +0000 (18:15 +0000)]
Merge "Add accept4 unit test to bionic."

10 years agoMerge "linker: use LOCAL_MULTILIB := both style to build linker64"
Colin Cross [Thu, 27 Mar 2014 18:09:35 +0000 (18:09 +0000)]
Merge "linker: use LOCAL_MULTILIB := both style to build linker64"

10 years agoAdd accept4 unit test to bionic.
Andrei Emeltchenko [Tue, 18 Feb 2014 08:22:58 +0000 (10:22 +0200)]
Add accept4 unit test to bionic.

Change-Id: I1cce5fb8dab16f03164fdd288f35a814d7c49c6a

10 years agolinker: use LOCAL_MULTILIB := both style to build linker64
Colin Cross [Thu, 27 Mar 2014 17:45:57 +0000 (10:45 -0700)]
linker: use LOCAL_MULTILIB := both style to build linker64

Use LOCAL_MODULE_STEM_32 and LOCAL_MODULE_STEM_64 to build
linker and linker64.  Set LOCAL_MULTILIB := both for consistency
with other rules of this type, although LOCAL_MULTILIB := both is
only consumed by executable.mk which is skipped by
linker_executable.mk.  Duplicate the necessary new parts of
executable.mk.

Change-Id: I888e87cf125cfbcfdee6a55b6377d8bc5ce402ea

10 years agoam 113f7750: am 206fe5fd: Merge changes I1935a63d,I3dfd3647
Calin Juravle [Thu, 27 Mar 2014 17:06:14 +0000 (17:06 +0000)]
am 113f7750: am 206fe5fd: Merge changes I1935a63d,I3dfd3647

* commit '113f77506b2382eeb2d99c74f84579c59832fbbb':
  Fix and clean up strtotimeval
  Added strtotimeval tests.

10 years agoam 206fe5fd: Merge changes I1935a63d,I3dfd3647
Calin Juravle [Thu, 27 Mar 2014 16:59:18 +0000 (16:59 +0000)]
am 206fe5fd: Merge changes I1935a63d,I3dfd3647

* commit '206fe5fd160504489234d222d824870837e82b59':
  Fix and clean up strtotimeval
  Added strtotimeval tests.

10 years agoMerge changes I1935a63d,I3dfd3647
Calin Juravle [Thu, 27 Mar 2014 16:53:08 +0000 (16:53 +0000)]
Merge changes I1935a63d,I3dfd3647

* changes:
  Fix and clean up strtotimeval
  Added strtotimeval tests.

10 years agoFix and clean up strtotimeval
Weichuan Yan [Wed, 26 Mar 2014 03:41:15 +0000 (03:41 +0000)]
Fix and clean up strtotimeval

- parsing of fractional part was wrong (always parsed as 0)
- return value was also wrong in the presence of fractional parts
- general style clean up

Change-Id: I1935a63db938dbed7cacb4b5646e993a52c27f1a
Signed-off-by: Weichuan Yan <wchyan@marvell.com>
10 years agoam 7b6440d1: am bc475bc8: Merge "Add accept4() syscall"
Christopher Ferris [Wed, 26 Mar 2014 19:59:57 +0000 (19:59 +0000)]
am 7b6440d1: am bc475bc8: Merge "Add accept4() syscall"

* commit '7b6440d1547d9845ba5572179cd9c32b088b1985':
  Add accept4() syscall

10 years agoam bc475bc8: Merge "Add accept4() syscall"
Christopher Ferris [Wed, 26 Mar 2014 19:53:07 +0000 (19:53 +0000)]
am bc475bc8: Merge "Add accept4() syscall"

* commit 'bc475bc8d1d202baa48f6c9829fe1cced9122332':
  Add accept4() syscall

10 years agoMerge "Add accept4() syscall"
Christopher Ferris [Wed, 26 Mar 2014 19:40:59 +0000 (19:40 +0000)]
Merge "Add accept4() syscall"

10 years agoAdded strtotimeval tests.
Calin Juravle [Wed, 26 Mar 2014 14:21:11 +0000 (14:21 +0000)]
Added strtotimeval tests.

Change-Id: I3dfd3647a8494490a2d549bdb915968063a7fb99

10 years agoam cba91b3d: am ecbf00bd: Merge "Clean up CMSG_*HDR in <sys/socket.h>"
Calin Juravle [Wed, 26 Mar 2014 16:36:26 +0000 (16:36 +0000)]
am cba91b3d: am ecbf00bd: Merge "Clean up CMSG_*HDR in <sys/socket.h>"

* commit 'cba91b3dbd2de2299979c0015896fb6942162bd7':
  Clean up CMSG_*HDR in <sys/socket.h>

10 years agoam ecbf00bd: Merge "Clean up CMSG_*HDR in <sys/socket.h>"
Calin Juravle [Wed, 26 Mar 2014 14:51:16 +0000 (14:51 +0000)]
am ecbf00bd: Merge "Clean up CMSG_*HDR in <sys/socket.h>"

* commit 'ecbf00bda2fcee65e4e6385772022529ffeeed91':
  Clean up CMSG_*HDR in <sys/socket.h>

10 years agoMerge "Clean up CMSG_*HDR in <sys/socket.h>"
Calin Juravle [Wed, 26 Mar 2014 14:23:59 +0000 (14:23 +0000)]
Merge "Clean up CMSG_*HDR in <sys/socket.h>"

10 years agoAdd accept4() syscall
Andrei Emeltchenko [Wed, 26 Mar 2014 13:50:01 +0000 (15:50 +0200)]
Add accept4() syscall

Add accept4() using SYSCALLS.TXT and gensyscall

Change-Id: I6f19f29144186d15d46423e10f2cc4b4223719c6

10 years agoadd 32-bit bionic implementation for denver arch
Shu Zhang [Wed, 12 Mar 2014 03:18:41 +0000 (11:18 +0800)]
add 32-bit bionic implementation for denver arch

Add 32-bit bionic implementation for denver. Use denver version of memcpy/
memset. Use Cortex-A15 version of strlen/strcat/strcpy/strcmp.

Change-Id: I4c6b675f20cf41a29cadf70a11d1635d7df5b30a

10 years agoam b47790fb: am c8fc4ddc: Merge "Keep the symbol table in the shared libc."
Christopher Ferris [Tue, 25 Mar 2014 21:22:58 +0000 (21:22 +0000)]
am b47790fb: am c8fc4ddc: Merge "Keep the symbol table in the shared libc."

* commit 'b47790fb5620b4a856bba6e2cb1b76989d96956d':
  Keep the symbol table in the shared libc.

10 years agoam c8fc4ddc: Merge "Keep the symbol table in the shared libc."
Christopher Ferris [Tue, 25 Mar 2014 19:09:32 +0000 (19:09 +0000)]
am c8fc4ddc: Merge "Keep the symbol table in the shared libc."

* commit 'c8fc4ddc183060aa979185d5a6845f26beb1a733':
  Keep the symbol table in the shared libc.

10 years agoMerge "Keep the symbol table in the shared libc."
Christopher Ferris [Tue, 25 Mar 2014 17:46:30 +0000 (17:46 +0000)]
Merge "Keep the symbol table in the shared libc."

10 years agoClean up CMSG_*HDR in <sys/socket.h>
Calin Juravle [Wed, 19 Mar 2014 17:40:23 +0000 (17:40 +0000)]
Clean up CMSG_*HDR in <sys/socket.h>

Removed __CMSG_NXTHDR, __CMSG_FIRSTHDR and cmsg_nxthdr.

Bug: 13418328
Change-Id: I6b1ed58b41b3f37d41e070c4f222b5bfa512bc48

10 years agoUse __unused instead of UNUSED in linker.cpp
Kito Cheng [Tue, 25 Mar 2014 14:53:56 +0000 (22:53 +0800)]
Use __unused instead of UNUSED in linker.cpp

 - sys/cdefs.h already define __unused, just use it
   instead of define a local one.

Change-Id: Iacf3da9193e65e1f34b12760b28bcb64b67cb790

10 years agoKeep the symbol table in the shared libc.
Christopher Ferris [Fri, 21 Mar 2014 18:11:38 +0000 (11:11 -0700)]
Keep the symbol table in the shared libc.

In order to allow the unwinder code to have meaningful names for
libc functions, leave the symbol table. This results in the libc.so
getting to be about ~130K larger on all arm platforms and about ~70K
larger on mips/x86 platforms.

Bug: 12958251
Change-Id: I6b3a97e4824142faf5de46aeabf7c1dfb98a8cc6

10 years agoam 3f078dc9: am f71c0e75: Merge "Add include of float.h for LDBL_MIN_EXP and LDBL_MAN...
Brian Carlstrom [Tue, 25 Mar 2014 00:36:02 +0000 (00:36 +0000)]
am 3f078dc9: am f71c0e75: Merge "Add include of float.h for LDBL_MIN_EXP and LDBL_MANT_DIG"

* commit '3f078dc9f7ecc7fcc2265198a7744754c78047f1':
  Add include of float.h for LDBL_MIN_EXP and LDBL_MANT_DIG

10 years agoam f71c0e75: Merge "Add include of float.h for LDBL_MIN_EXP and LDBL_MANT_DIG"
Brian Carlstrom [Tue, 25 Mar 2014 00:26:01 +0000 (00:26 +0000)]
am f71c0e75: Merge "Add include of float.h for LDBL_MIN_EXP and LDBL_MANT_DIG"

* commit 'f71c0e75e0d041c80e4dc6900e2c2283e5d55ce2':
  Add include of float.h for LDBL_MIN_EXP and LDBL_MANT_DIG

10 years agoMerge "Add include of float.h for LDBL_MIN_EXP and LDBL_MANT_DIG"
Brian Carlstrom [Tue, 25 Mar 2014 00:16:30 +0000 (00:16 +0000)]
Merge "Add include of float.h for LDBL_MIN_EXP and LDBL_MANT_DIG"

10 years agoAdd include of float.h for LDBL_MIN_EXP and LDBL_MANT_DIG
Brian Carlstrom [Mon, 24 Mar 2014 23:45:18 +0000 (16:45 -0700)]
Add include of float.h for LDBL_MIN_EXP and LDBL_MANT_DIG

(cherry picked from commit 1711c6ea3a0d891da665325c75738a68bd7d501f)

Change-Id: Ia64676b2b904f042fec678003e3f2cd5bd82b510

10 years agoam 20f78d7e: am 989a80b7: Merge "Fix LP64 libm for 128-bit long doubles"
Calin Juravle [Mon, 24 Mar 2014 21:25:35 +0000 (21:25 +0000)]
am 20f78d7e: am 989a80b7: Merge "Fix LP64 libm for 128-bit long doubles"

* commit '20f78d7eecb921fe9862039fe43c02747e4f253f':
  Fix LP64 libm for 128-bit long doubles

10 years agoam 02a17877: am 9e8a8dc1: Merge "Remove ALIGNBYTES and ALIGN from <sys/param.h>"
Calin Juravle [Mon, 24 Mar 2014 21:25:34 +0000 (21:25 +0000)]
am 02a17877: am 9e8a8dc1: Merge "Remove ALIGNBYTES and ALIGN from <sys/param.h>"

* commit '02a178773806e118e60a422f82b8a2607bd54e86':
  Remove ALIGNBYTES and ALIGN from <sys/param.h>

10 years agoam aefe43b1: am 95c1abec: Merge "FORTIFY_SOURCE: don\'t define s?printf macros if...
Nick Kralevich [Mon, 24 Mar 2014 21:25:17 +0000 (21:25 +0000)]
am aefe43b1: am 95c1abec: Merge "FORTIFY_SOURCE: don\'t define s?printf macros if already defined"

* commit 'aefe43b1824907b93c6280ce27cb2c105c564477':
  FORTIFY_SOURCE: don't define s?printf macros if already defined

10 years agoam b9e1688c: am 1d3d0360: am 081db840: Allow overlap in resolv uid => DNS iface mapping
Chad Brubaker [Mon, 24 Mar 2014 19:35:17 +0000 (19:35 +0000)]
am b9e1688c: am 1d3d0360: am 081db840: Allow overlap in resolv uid => DNS iface mapping

* commit 'b9e1688cd9f8727bbe0dacafd194c7a571bedb14':
  Allow overlap in resolv uid => DNS iface mapping

10 years agoam 5b3c6fde: am cce6c380: Merge "libc: Thread IDs missing from logcat -v thread"
Mark Salyzyn [Mon, 24 Mar 2014 18:44:03 +0000 (18:44 +0000)]
am 5b3c6fde: am cce6c380: Merge "libc: Thread IDs missing from logcat -v thread"

* commit '5b3c6fde09f2665f788f2586c3cdbab28b98b229':
  libc: Thread IDs missing from logcat -v thread

10 years agoam e1b25377: am 998d7b03: Merge "Fix deadlock in timer_delete."
Christopher Ferris [Mon, 24 Mar 2014 17:27:10 +0000 (17:27 +0000)]
am e1b25377: am 998d7b03: Merge "Fix deadlock in timer_delete."

* commit 'e1b25377387376932688bb436393764469af1cf3':
  Fix deadlock in timer_delete.

10 years agoam 989a80b7: Merge "Fix LP64 libm for 128-bit long doubles"
Calin Juravle [Mon, 24 Mar 2014 12:33:51 +0000 (12:33 +0000)]
am 989a80b7: Merge "Fix LP64 libm for 128-bit long doubles"

* commit '989a80b75014eff71600a6a4e1445e710c2f94b4':
  Fix LP64 libm for 128-bit long doubles

10 years agoam 9e8a8dc1: Merge "Remove ALIGNBYTES and ALIGN from <sys/param.h>"
Calin Juravle [Mon, 24 Mar 2014 12:33:50 +0000 (12:33 +0000)]
am 9e8a8dc1: Merge "Remove ALIGNBYTES and ALIGN from <sys/param.h>"

* commit '9e8a8dc18cb3162858feef2d4baaf3fa357aa3d2':
  Remove ALIGNBYTES and ALIGN from <sys/param.h>

10 years agoMerge "Fix LP64 libm for 128-bit long doubles"
Calin Juravle [Mon, 24 Mar 2014 12:13:24 +0000 (12:13 +0000)]
Merge "Fix LP64 libm for 128-bit long doubles"

10 years agoMerge "Remove ALIGNBYTES and ALIGN from <sys/param.h>"
Calin Juravle [Mon, 24 Mar 2014 12:11:30 +0000 (12:11 +0000)]
Merge "Remove ALIGNBYTES and ALIGN from <sys/param.h>"

10 years agoFix LP64 libm for 128-bit long doubles
Calin Juravle [Fri, 14 Mar 2014 17:56:46 +0000 (17:56 +0000)]
Fix LP64 libm for 128-bit long doubles

* reworked amd64/_fpmath.h and arm64/_fpmath.h to support 128-bit long
doubles.
* improved tests to cover long double cases
* made modfl an alias for LP32

Tests pass on x86, x86_64, arm, arm64 and mips.

Bug: 12921273

Change-Id: Ibe39acde57972447a8950fa45b1e702acc68ebeb

10 years agoam 95c1abec: Merge "FORTIFY_SOURCE: don\'t define s?printf macros if already defined"
Nick Kralevich [Sat, 22 Mar 2014 18:06:03 +0000 (18:06 +0000)]
am 95c1abec: Merge "FORTIFY_SOURCE: don\'t define s?printf macros if already defined"

* commit '95c1abecc02b2a2f40b507e669b5bc17d4412bf9':
  FORTIFY_SOURCE: don't define s?printf macros if already defined

10 years agoMerge "FORTIFY_SOURCE: don't define s?printf macros if already defined"
Nick Kralevich [Sat, 22 Mar 2014 17:55:48 +0000 (17:55 +0000)]
Merge "FORTIFY_SOURCE: don't define s?printf macros if already defined"

10 years agoam 1d3d0360: am 081db840: Allow overlap in resolv uid => DNS iface mapping
Chad Brubaker [Fri, 21 Mar 2014 21:09:37 +0000 (21:09 +0000)]
am 1d3d0360: am 081db840: Allow overlap in resolv uid => DNS iface mapping

* commit '1d3d0360eee442c7c73006e2069acdc051575edb':
  Allow overlap in resolv uid => DNS iface mapping

10 years agoam 081db840: Allow overlap in resolv uid => DNS iface mapping
Chad Brubaker [Fri, 21 Mar 2014 21:02:40 +0000 (21:02 +0000)]
am 081db840: Allow overlap in resolv uid => DNS iface mapping

* commit '081db840befec895fb86e709ae95832ade2d065c':
  Allow overlap in resolv uid => DNS iface mapping

10 years agoam cce6c380: Merge "libc: Thread IDs missing from logcat -v thread"
Mark Salyzyn [Fri, 21 Mar 2014 20:16:57 +0000 (20:16 +0000)]
am cce6c380: Merge "libc: Thread IDs missing from logcat -v thread"

* commit 'cce6c380d7c9574f823f5e038c28c793fdb55c58':
  libc: Thread IDs missing from logcat -v thread

10 years agoMerge "libc: Thread IDs missing from logcat -v thread"
Mark Salyzyn [Fri, 21 Mar 2014 20:09:32 +0000 (20:09 +0000)]
Merge "libc: Thread IDs missing from logcat -v thread"

10 years agoam 998d7b03: Merge "Fix deadlock in timer_delete."
Christopher Ferris [Fri, 21 Mar 2014 17:39:10 +0000 (17:39 +0000)]
am 998d7b03: Merge "Fix deadlock in timer_delete."

* commit '998d7b030763e8da6ff04020eedab552857587d2':
  Fix deadlock in timer_delete.

10 years agoMerge "Fix deadlock in timer_delete."
Christopher Ferris [Fri, 21 Mar 2014 17:26:58 +0000 (17:26 +0000)]
Merge "Fix deadlock in timer_delete."

10 years agoRemove ALIGNBYTES and ALIGN from <sys/param.h>
Calin Juravle [Thu, 20 Mar 2014 15:21:32 +0000 (15:21 +0000)]
Remove ALIGNBYTES and ALIGN from <sys/param.h>

There are only three users of bionic definition of ALIGN and keeping it
in sys/param.h polutes the namespace.

I inline the definition in the the three places that's used.

Bug: 13400663
Change-Id: I565008e8426c38ffb07422f42cd8e547d53044e9

10 years agoFix deadlock in timer_delete.
Christopher Ferris [Fri, 21 Mar 2014 03:47:45 +0000 (20:47 -0700)]
Fix deadlock in timer_delete.

If the callback function for a timer did a timer_delete, the function
would never return. The problem was that the timer_delete function would try
to wait until the timer thread has finished. Waiting for yourself to finish
doesn't work very well.

Bug: 13397340
Change-Id: Ica123a5bafbc8660c8a4a909e5c2dead55ca429d

10 years agolibc: Thread IDs missing from logcat -v thread
Mark Salyzyn [Thu, 20 Mar 2014 23:07:55 +0000 (16:07 -0700)]
libc: Thread IDs missing from logcat -v thread

- stuff caller's thread id into the packet.

Bug: 13568206
Change-Id: If8b318ef75c7dcdddb05da8ac3038860f0fda5ec

10 years agoam 00fa0390: am 2cc58603: Merge "Added a test flag to bionic run-test targets."
Calin Juravle [Wed, 19 Mar 2014 18:45:27 +0000 (18:45 +0000)]
am 00fa0390: am 2cc58603: Merge "Added a test flag to bionic run-test targets."

* commit '00fa0390dfba0f66685133b51474a2614399b70e':
  Added a test flag to bionic run-test targets.

10 years agoam 2cc58603: Merge "Added a test flag to bionic run-test targets."
Calin Juravle [Wed, 19 Mar 2014 18:39:01 +0000 (18:39 +0000)]
am 2cc58603: Merge "Added a test flag to bionic run-test targets."

* commit '2cc58603d5fd68ec582984318fb3c5f8865a186f':
  Added a test flag to bionic run-test targets.

10 years agoMerge "Added a test flag to bionic run-test targets."
Calin Juravle [Wed, 19 Mar 2014 18:31:25 +0000 (18:31 +0000)]
Merge "Added a test flag to bionic run-test targets."

10 years agoAdded a test flag to bionic run-test targets.
Calin Juravle [Wed, 19 Mar 2014 17:45:08 +0000 (17:45 +0000)]
Added a test flag to bionic run-test targets.

It makes it much easier to pass arguments to the tests.

Change-Id: Ia91eba4868627a3cea3f8d2c26ba01af4e860b12

10 years agoFORTIFY_SOURCE: don't define s?printf macros if already defined
Nick Kralevich [Wed, 19 Mar 2014 00:03:38 +0000 (17:03 -0700)]
FORTIFY_SOURCE: don't define s?printf macros if already defined

Clang specific: Don't #define sprintf and snprintf macros if they
are already defined.

Change-Id: I30fc507d898377e1b8a57a65a147926229e0f9e2