OSDN Git Service

android-x86/bionic.git
10 years agoMerge "Clean up <machine/ieee.h>."
Elliott Hughes [Wed, 16 Apr 2014 23:56:40 +0000 (23:56 +0000)]
Merge "Clean up <machine/ieee.h>."

10 years agoClean up <machine/ieee.h>.
Elliott Hughes [Wed, 16 Apr 2014 23:31:17 +0000 (16:31 -0700)]
Clean up <machine/ieee.h>.

The upstream intention was for this to be architecture-dependent, but it's a
lot clearer if we just have one copy.

Change-Id: I4e8310496145f9f411cd2e847c8cd023b1d758e9

10 years agoMerge "Use FLT_ROUNDS in LP64 strtold."
Elliott Hughes [Wed, 16 Apr 2014 23:26:31 +0000 (23:26 +0000)]
Merge "Use FLT_ROUNDS in LP64 strtold."

10 years agoUse FLT_ROUNDS in LP64 strtold.
Elliott Hughes [Wed, 16 Apr 2014 23:09:41 +0000 (16:09 -0700)]
Use FLT_ROUNDS in LP64 strtold.

Change-Id: I75323be6e1cadb00770fcdd08422836b03737416

10 years agoMerge "Switch to gdtoa."
Elliott Hughes [Wed, 16 Apr 2014 23:02:08 +0000 (23:02 +0000)]
Merge "Switch to gdtoa."

10 years agoSwitch to gdtoa.
Elliott Hughes [Fri, 11 Apr 2014 00:48:14 +0000 (17:48 -0700)]
Switch to gdtoa.

This gives us a real strtold for LP64 and fixes various LP64
bugs.

Bug: 13563801
Change-Id: I277858d718ee746e136b6b6308a495ba50dfa488

10 years agoMerge "Fix signed vs unsigned comparison."
Ben Cheng [Tue, 15 Apr 2014 22:37:28 +0000 (22:37 +0000)]
Merge "Fix signed vs unsigned comparison."

10 years agoFix signed vs unsigned comparison.
Ben Cheng [Tue, 15 Apr 2014 22:29:32 +0000 (15:29 -0700)]
Fix signed vs unsigned comparison.

Otherwise GCC 4.9 complains.

Change-Id: I7cd3c5e8c78fda709130ca88a85fa1512e6fc024

10 years agoMerge "Add iswblank for libcxx."
Elliott Hughes [Tue, 15 Apr 2014 19:19:48 +0000 (19:19 +0000)]
Merge "Add iswblank for libcxx."

10 years agoAdd iswblank for libcxx.
Elliott Hughes [Tue, 15 Apr 2014 19:04:05 +0000 (12:04 -0700)]
Add iswblank for libcxx.

We have similar degenerate implementations for all the other isw* functions,
so it's weird to exclude just one.

Change-Id: I659b97930e68598826c4882bb59f4146870fb6a0

10 years agoMerge "Fix arm64 floating point definitions."
Elliott Hughes [Mon, 14 Apr 2014 22:45:56 +0000 (22:45 +0000)]
Merge "Fix arm64 floating point definitions."

10 years agoFix arm64 floating point definitions.
Elliott Hughes [Mon, 14 Apr 2014 22:33:32 +0000 (15:33 -0700)]
Fix arm64 floating point definitions.

Change-Id: I6836da8fc9f66465435a21c51cb18851e20e9645

10 years agoMerge "Reimplement isinf/isnan/fpclassify."
Elliott Hughes [Mon, 14 Apr 2014 21:36:26 +0000 (21:36 +0000)]
Merge "Reimplement isinf/isnan/fpclassify."

10 years agoReimplement isinf/isnan/fpclassify.
Elliott Hughes [Sat, 12 Apr 2014 00:02:20 +0000 (17:02 -0700)]
Reimplement isinf/isnan/fpclassify.

Also move isinf and isnan into libc like everyone else.

Also move fpclassify to libc like the BSDs (but unlike glibc). We need
this to be able to upgrade our float/double/long double parsing to gdtoa.

Also add some missing aliases. We now have all of:

  isnan, __isnan, isnanf, __isnanf, isnanl, __isnanl,
  isinf, __isinf, isinff, __isinff, isinfl, __isinfl,
  __fpclassify, __fpclassifyd, __fpclassifyf, __fpclassifyl.

Bug: 13469877
Change-Id: I407ffbac06c765a6c5fffda8106c37d7db04f27d

10 years agoMerge "Extra tests for printf of NaN and Inf."
Elliott Hughes [Mon, 14 Apr 2014 21:07:24 +0000 (21:07 +0000)]
Merge "Extra tests for printf of NaN and Inf."

10 years agoExtra tests for printf of NaN and Inf.
Elliott Hughes [Mon, 14 Apr 2014 19:11:28 +0000 (12:11 -0700)]
Extra tests for printf of NaN and Inf.

Change-Id: I61fc655d9777a03aabf38f6ebd047fe275386f05

10 years agoMerge "Replace the bionic hack for a vfprintf leak with (roughly) the upstream fix."
Elliott Hughes [Sat, 12 Apr 2014 17:35:27 +0000 (17:35 +0000)]
Merge "Replace the bionic hack for a vfprintf leak with (roughly) the upstream fix."

10 years agoReplace the bionic hack for a vfprintf leak with (roughly) the upstream fix.
Elliott Hughes [Sat, 12 Apr 2014 01:00:37 +0000 (18:00 -0700)]
Replace the bionic hack for a vfprintf leak with (roughly) the upstream fix.

Currently in bionic free and freedtoa are equivalent, but that's not true
of gdtoa. This makes it easier to test gdtoa without having to replace
everything. (Yes, I found this bug the hard way.)

Change-Id: I290823a2a0a83329def5f2719b349215ad0dbbde

10 years agoMerge "Improve the <sstream> test."
Elliott Hughes [Fri, 11 Apr 2014 16:23:28 +0000 (16:23 +0000)]
Merge "Improve the <sstream> test."

10 years agoImprove the <sstream> test.
Elliott Hughes [Thu, 10 Apr 2014 23:22:23 +0000 (16:22 -0700)]
Improve the <sstream> test.

It looks like libcxx's testing is crap too, and this turned up
another bug in stlport.

Change-Id: I98c93dceaa8225c3cc280166d4bb74adaf94a324

10 years agoMerge "Remove unnecessary #includes."
Elliott Hughes [Fri, 11 Apr 2014 00:50:49 +0000 (00:50 +0000)]
Merge "Remove unnecessary #includes."

10 years agoRemove unnecessary #includes.
Elliott Hughes [Fri, 11 Apr 2014 00:50:06 +0000 (17:50 -0700)]
Remove unnecessary #includes.

Change-Id: Ie7e0c9ea03f35517c7dcf09fc808c12e55262bc1

10 years agoMerge "Add a test for external/stlport a6df82320fcb8f26af0d067c7768fedbaeb9ad88."
Elliott Hughes [Thu, 10 Apr 2014 19:03:55 +0000 (19:03 +0000)]
Merge "Add a test for external/stlport a6df82320fcb8f26af0d067c7768fedbaeb9ad88."

10 years agoAdd a test for external/stlport a6df82320fcb8f26af0d067c7768fedbaeb9ad88.
Elliott Hughes [Thu, 10 Apr 2014 18:34:14 +0000 (11:34 -0700)]
Add a test for external/stlport a6df82320fcb8f26af0d067c7768fedbaeb9ad88.

Change-Id: If4df9f5df41ae5453a3dff6bb032b419819f8703

10 years agoMerge "Use the glibc name user_fpregs_struct."
Elliott Hughes [Wed, 9 Apr 2014 23:59:42 +0000 (23:59 +0000)]
Merge "Use the glibc name user_fpregs_struct."

10 years agoUse the glibc name user_fpregs_struct.
Elliott Hughes [Wed, 9 Apr 2014 23:35:36 +0000 (16:35 -0700)]
Use the glibc name user_fpregs_struct.

Instead of the kernel name user_i387_struct.

Bug: 13889008
Change-Id: Ideec2e1ce36c1faa4b5b2db1999ad2b23757ca4d

10 years agoMerge "Fix mcontext_t for x86-64."
Elliott Hughes [Wed, 9 Apr 2014 22:52:07 +0000 (22:52 +0000)]
Merge "Fix mcontext_t for x86-64."

10 years agoFix mcontext_t for x86-64.
Elliott Hughes [Wed, 9 Apr 2014 20:27:48 +0000 (13:27 -0700)]
Fix mcontext_t for x86-64.

Change-Id: I1ac0e7f44bcdd06a07862993e92c3048a7474a8b

10 years agoMerge "Use glibc structure for __cmsg_nxthdr."
Calin Juravle [Wed, 9 Apr 2014 06:06:46 +0000 (06:06 +0000)]
Merge "Use glibc structure for __cmsg_nxthdr."

10 years agoMerge "Flesh out <locale.h>."
Elliott Hughes [Wed, 9 Apr 2014 04:13:43 +0000 (04:13 +0000)]
Merge "Flesh out <locale.h>."

10 years agoMerge "Fix build: include what you use."
Elliott Hughes [Wed, 9 Apr 2014 02:45:47 +0000 (02:45 +0000)]
Merge "Fix build: include what you use."

10 years agoFix build: include what you use.
Elliott Hughes [Wed, 9 Apr 2014 02:44:36 +0000 (19:44 -0700)]
Fix build: include what you use.

Change-Id: I12b2d5e434ad3ed38d4451bd470673781e6ca8fe

10 years agoFlesh out <locale.h>.
Elliott Hughes [Wed, 9 Apr 2014 00:05:05 +0000 (17:05 -0700)]
Flesh out <locale.h>.

This is a trivial implementation that only supports the C/POSIX locale.

Change-Id: Ib11cea4249e1862aca96a8b94d58ea9a418cbe75

10 years agoMerge "Implement _Exit(3)."
Elliott Hughes [Wed, 9 Apr 2014 02:07:00 +0000 (02:07 +0000)]
Merge "Implement _Exit(3)."

10 years agoImplement _Exit(3).
Elliott Hughes [Wed, 9 Apr 2014 00:14:01 +0000 (17:14 -0700)]
Implement _Exit(3).

Change-Id: Ida6ac844cc87d38c9645b197dd8188bb73e27dbe

10 years agoUse glibc structure for __cmsg_nxthdr.
Calin Juravle [Mon, 7 Apr 2014 17:39:20 +0000 (20:39 +0300)]
Use glibc structure for __cmsg_nxthdr.

Bug: 13418328
Change-Id: I7e656b373e53e80d708325321e48dcedacf5086d

10 years agoMerge "Clean up localeconv(3)."
Elliott Hughes [Tue, 8 Apr 2014 21:52:33 +0000 (21:52 +0000)]
Merge "Clean up localeconv(3)."

10 years agoClean up localeconv(3).
Elliott Hughes [Tue, 8 Apr 2014 21:34:12 +0000 (14:34 -0700)]
Clean up localeconv(3).

The OpenBSD doesn't support C99, and the extent to which we support
locales is trivial, so just do it ourselves.

Change-Id: If0a06e627ecc593f7b8ea3e9389365782e49b00e

10 years agoMerge "Corrected typo in mips64.mk about memcpy.cpp"
Andrew Hsieh [Tue, 8 Apr 2014 20:09:44 +0000 (20:09 +0000)]
Merge "Corrected typo in mips64.mk about memcpy.cpp"

10 years agoMerge "AArch64: Fix flock64 for LP64."
Elliott Hughes [Tue, 8 Apr 2014 19:20:51 +0000 (19:20 +0000)]
Merge "AArch64: Fix flock64 for LP64."

10 years agoAArch64: Fix flock64 for LP64.
Serban Constantinescu [Fri, 14 Mar 2014 13:16:25 +0000 (13:16 +0000)]
AArch64: Fix flock64 for LP64.

On LP64 systems F_GETLK64, F_SETLK64 and F_SETLKW64 definitions should
map onto the F_GETLK, F_SETLK and F_SETLKW definitions, respectively.
LP64 also doesn't have a struct flock64.

Change-Id: Ibdfed9645d9e946999acd6efa8b96ea6238ed5bf
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoCorrected typo in mips64.mk about memcpy.cpp
Andrew Hsieh [Tue, 8 Apr 2014 18:16:03 +0000 (02:16 +0800)]
Corrected typo in mips64.mk about memcpy.cpp

Change-Id: I1e6fb9373880bcdbad3fa86145e5138ce0d30b31

10 years agoMerge "Fix kernel header scrubbing for LP64."
Elliott Hughes [Tue, 8 Apr 2014 17:47:27 +0000 (17:47 +0000)]
Merge "Fix kernel header scrubbing for LP64."

10 years agoFix kernel header scrubbing for LP64.
Elliott Hughes [Tue, 8 Apr 2014 17:15:06 +0000 (10:15 -0700)]
Fix kernel header scrubbing for LP64.

Change-Id: I4caf44d41edd1b03a20d4c565e169c2b7a2f3686

10 years agoMerge "Add stpcpy/stpncpy."
Christopher Ferris [Tue, 8 Apr 2014 01:21:06 +0000 (01:21 +0000)]
Merge "Add stpcpy/stpncpy."

10 years agoMerge "Fix the printf issue for 64 bits. The following case:"
Elliott Hughes [Mon, 7 Apr 2014 23:44:50 +0000 (23:44 +0000)]
Merge "Fix the printf issue for 64 bits. The following case:"

10 years agoAdd stpcpy/stpncpy.
Christopher Ferris [Fri, 4 Apr 2014 21:38:18 +0000 (14:38 -0700)]
Add stpcpy/stpncpy.

Add tests for the above.

Add the fortify implementations of __stpcpy_chk and __stpncpy_chk.

Modify the strncpy test to cover more cases and use this template for
stpncpy.

Add all of the fortify test cases.

Bug: 13746695
Change-Id: I8c0f0d4991a878b8e8734fff12c8b73b07fdd344

10 years agoMerge "Remove a non-standard turd: strtotimeval."
Elliott Hughes [Mon, 7 Apr 2014 22:53:28 +0000 (22:53 +0000)]
Merge "Remove a non-standard turd: strtotimeval."

10 years agoRemove a non-standard turd: strtotimeval.
Elliott Hughes [Mon, 7 Apr 2014 22:17:19 +0000 (15:17 -0700)]
Remove a non-standard turd: strtotimeval.

Change-Id: I1b1e40746cb573e3fb73a5276969b40c5da36d15

10 years agoMerge "Implement wctomb(3) for ltrace."
Elliott Hughes [Mon, 7 Apr 2014 21:39:37 +0000 (21:39 +0000)]
Merge "Implement wctomb(3) for ltrace."

10 years agoMerge "Fix build: __unused isn't unused!"
Elliott Hughes [Mon, 7 Apr 2014 21:37:47 +0000 (21:37 +0000)]
Merge "Fix build: __unused isn't unused!"

10 years agoFix build: __unused isn't unused!
Elliott Hughes [Mon, 7 Apr 2014 21:36:59 +0000 (14:36 -0700)]
Fix build: __unused isn't unused!

Change-Id: I57f2b755d1b2509f9c5504b12a5ff6c50b78b375

10 years agoImplement wctomb(3) for ltrace.
Elliott Hughes [Sat, 5 Apr 2014 00:34:51 +0000 (17:34 -0700)]
Implement wctomb(3) for ltrace.

This is an implementation in the style of the rest: char == byte.

We might want to come back and implement UTF-8, but this is enough for ltrace.

Bug: 13747066
Change-Id: Ib2b63609c9014fdef9a8491e067467c4fc5ae3cc

10 years agoMerge "Fix aarch64 struct ucontext."
Elliott Hughes [Mon, 7 Apr 2014 20:44:31 +0000 (20:44 +0000)]
Merge "Fix aarch64 struct ucontext."

10 years agoFix aarch64 struct ucontext.
Elliott Hughes [Mon, 7 Apr 2014 19:12:00 +0000 (12:12 -0700)]
Fix aarch64 struct ucontext.

Change-Id: I6f0959723a753e8c788275709e7245c103ff88d1

10 years agoMerge "Define __WORDSIZE like glibc."
Elliott Hughes [Thu, 3 Apr 2014 22:06:25 +0000 (22:06 +0000)]
Merge "Define __WORDSIZE like glibc."

10 years agoDefine __WORDSIZE like glibc.
Elliott Hughes [Thu, 3 Apr 2014 20:59:14 +0000 (13:59 -0700)]
Define __WORDSIZE like glibc.

Requested by Google Breakpad, but seems to be assumed to be defined
in various places in the AOSP tree already; iputils, wpa_supplicant,
et cetera.

Change-Id: I1f7833c98e0af4c77e49744c08b8239061c9a571

10 years agoMerge "bionic: Replace iface with opaque netid in resolver."
Robert Greenwalt [Thu, 3 Apr 2014 17:05:32 +0000 (17:05 +0000)]
Merge "bionic: Replace iface with opaque netid in resolver."

10 years agoMerge "Emit warnings when linking against imprecise math functions"
Calin Juravle [Thu, 3 Apr 2014 09:01:04 +0000 (09:01 +0000)]
Merge "Emit warnings when linking against imprecise math functions"

10 years agoMerge "Fix modf* tests"
Calin Juravle [Thu, 3 Apr 2014 09:00:34 +0000 (09:00 +0000)]
Merge "Fix modf* tests"

10 years agoMerge "Regenerate adf header"
Greg Hackmann [Wed, 2 Apr 2014 23:24:54 +0000 (23:24 +0000)]
Merge "Regenerate adf header"

10 years agoRegenerate adf header
Greg Hackmann [Wed, 2 Apr 2014 23:07:30 +0000 (16:07 -0700)]
Regenerate adf header

Fixes 64-bit related alignment issues

Change-Id: Ie90b920a7489e807e953f45a6db72350b80f6f22
Signed-off-by: Greg Hackmann <ghackmann@google.com>
10 years agoMerge "Upgrade to tzdata2014b."
Elliott Hughes [Wed, 2 Apr 2014 21:54:55 +0000 (21:54 +0000)]
Merge "Upgrade to tzdata2014b."

10 years agoUpgrade to tzdata2014b.
Elliott Hughes [Wed, 2 Apr 2014 21:40:22 +0000 (14:40 -0700)]
Upgrade to tzdata2014b.

From the release notes:

  Changes affecting near-future time stamps

    Crimea switches to Moscow time on 2014-03-30 at 02:00 local time.
    (Thanks to Alexander Krivenyshev.)  Move its zone.tab entry from UA
    to RU.

    New entry for Troll station, Antarctica.  (Thanks to Paul-Inge
    Flakstad and Bengt-Inge Larsson.)  This is currently an
    approximation; a better version will require the zic and localtime
    fixes mentioned [in the full release notes], and the plan is to wait
    for a while until at least the zic fixes propagate.

Change-Id: Ib00f6cbc7b92e26822792b45e53a5f5381e0f6bf

10 years agoFix modf* tests
Calin Juravle [Tue, 1 Apr 2014 15:45:53 +0000 (16:45 +0100)]
Fix modf* tests

Use a value that can be exactly represented.

Change-Id: Idf3b1db5e6042fb49c1f591f25f9eee656659ece

10 years agoEmit warnings when linking against imprecise math functions
Calin Juravle [Tue, 1 Apr 2014 16:38:59 +0000 (17:38 +0100)]
Emit warnings when linking against imprecise math functions

Change-Id: I3da7b8396a64d7899fcb89452c879806a8a511ff

10 years agoMerge "Fix the POSIX timers fix."
Elliott Hughes [Wed, 2 Apr 2014 16:20:47 +0000 (16:20 +0000)]
Merge "Fix the POSIX timers fix."

10 years agoFix the printf issue for 64 bits. The following case:
Alexander Ivchenko [Tue, 1 Apr 2014 13:01:39 +0000 (17:01 +0400)]
Fix the printf issue for 64 bits. The following case:

printf("%1$s %1$s\n", "test");

would print garbage instead of the second "test". The problem is __find_arguments
and the patch is a backport of two patches from OpenBSD that fix the issue:

Author: tedu <tedu@cvs.openbsd.org>
Date:   Sat Apr 29 23:00:24 2006 +0000

    check mmap for failure.  the helper functions using it return -1, but
    callers do not yet check since printf() for example is not documented
    to return an error.
    some formatting cleanups.
    mostly ok deraadt millert

Author: millert <millert@cvs.openbsd.org>
Date:   Fri May 16 14:28:54 2008 +0000

    C99 says that for each va_copy() there must be a matching va_end().
    Replace the non-portable hackery in __find_arguments() with a union.
    From FreeBSD.

Change-Id: I6ea392ce6fcf4a319ae6a67ec58cc52fe7cbe534
Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
10 years agoMerge "Changed long double literal suffix from 'l' to 'L'."
Calin Juravle [Wed, 2 Apr 2014 10:17:10 +0000 (10:17 +0000)]
Merge "Changed long double literal suffix from 'l' to 'L'."

10 years agoFix the POSIX timers fix.
Elliott Hughes [Wed, 2 Apr 2014 02:07:52 +0000 (19:07 -0700)]
Fix the POSIX timers fix.

If we're not going to wait for the timer threads to exit, we need
another way to ensure that we don't free the data they're using
prematurely. The easiest way to ensure that is to let them free the
data themselves.

Change-Id: Icee17c87bbcb9c3aac5868973f595d08569f33aa

10 years agoMerge "Remove <machine/limits.h>."
Elliott Hughes [Wed, 2 Apr 2014 00:59:09 +0000 (00:59 +0000)]
Merge "Remove <machine/limits.h>."

10 years agoMerge "Include sys/types.h and sys/wait.h for waitpid"
Christopher Ferris [Wed, 2 Apr 2014 00:49:04 +0000 (00:49 +0000)]
Merge "Include sys/types.h and sys/wait.h for waitpid"

10 years agoInclude sys/types.h and sys/wait.h for waitpid
Brian Carlstrom [Wed, 2 Apr 2014 00:33:41 +0000 (17:33 -0700)]
Include sys/types.h and sys/wait.h for waitpid

(cherry picked from commit 8b2c6d44cac206b61dffd965863336e6f803fc66)

Change-Id: Ice1f6d956c11aaefd3d846c12121f08613a94446

10 years agoRemove <machine/limits.h>.
Elliott Hughes [Wed, 2 Apr 2014 00:16:59 +0000 (17:16 -0700)]
Remove <machine/limits.h>.

Change-Id: I7f9e9538517f726d4f08bf1f4b8d57c54d3f1676

10 years agoMerge "Remove SIZE_MAX definition in limits.h"
Elliott Hughes [Tue, 1 Apr 2014 23:52:04 +0000 (23:52 +0000)]
Merge "Remove SIZE_MAX definition in limits.h"

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 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 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 agobionic: Replace iface with opaque netid in resolver.
Szymon Jakubczak [Fri, 14 Feb 2014 22:07:23 +0000 (17:07 -0500)]
bionic: Replace iface with opaque netid in resolver.

Replace iface cache key with netid.

Replace _mark with netid.

Mark sockets used to test IPv4/IPv6 support as well as sockets
used to determine source address for rfc6724 sort.

Remove pid/uid mappings (functionality moved to system/netd).

Do not create resolv_cache when it does not exist, but rather only
when DNS configuration is supplied.

Clean up unused functions.

Change-Id: I9ccfda2902cc0943e87c9bc346ad9a2578accdab

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 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 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 agoChanged long double literal suffix from 'l' to 'L'.
Calin Juravle [Tue, 1 Apr 2014 15:41:12 +0000 (16:41 +0100)]
Changed long double literal suffix from 'l' to 'L'.

Change-Id: Id569f2d335b0930704d12ad7f388cb98b65f3ab7

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 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 agoRemove SIZE_MAX definition in limits.h
Russell Webb [Mon, 10 Mar 2014 23:35:28 +0000 (16:35 -0700)]
Remove SIZE_MAX definition in limits.h

the POSIX standard is that SIZE_MAX is defined
in stdint.h, not limits.h.

Change-Id: Iafd8ec71d1840541feaca4f53b2926b398293fac
Signed-off-by: Webb, Russell <russell.webb@intel.com>
Signed-off-by: Fengwei Yin <fengwei.yin@intel.com>
Reviewed-by: Ross, Andrew J <andrew.j.ross@intel.com>
Reviewed-by: Boie, Andrew P <andrew.p.boie@intel.com>
Reviewed-by: Gumbel, Matthew K <matthew.k.gumbel@intel.com>
Tested-by: Gumbel, Matthew K <matthew.k.gumbel@intel.com>
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 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 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 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 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"