Commit Graph

7667 Commits

Author SHA1 Message Date
Elliott Hughes
4abaa576e8 Merge "Switch to gdtoa." 2014-04-16 23:02:09 +00:00
Elliott Hughes
4bd97cee28 Switch to gdtoa.
This gives us a real strtold for LP64 and fixes various LP64
bugs.

Bug: 13563801
Change-Id: I277858d718ee746e136b6b6308a495ba50dfa488
2014-04-16 15:15:52 -07:00
Ben Cheng
d7610ef7e8 am 26c2bb84: Merge "Fix signed vs unsigned comparison."
* commit '26c2bb84dd5cbd9ab43a5f0ebc2635bc3b64be3d':
  Fix signed vs unsigned comparison.
2014-04-15 22:43:10 +00:00
Ben Cheng
26c2bb84dd Merge "Fix signed vs unsigned comparison." 2014-04-15 22:37:29 +00:00
Ben Cheng
b760164dd6 Fix signed vs unsigned comparison.
Otherwise GCC 4.9 complains.

Change-Id: I7cd3c5e8c78fda709130ca88a85fa1512e6fc024
2014-04-15 15:29:32 -07:00
Elliott Hughes
930806a513 am 073ea101: Merge "Add iswblank for libcxx."
* commit '073ea10156d62087a67a066527c92a1dbb92d650':
  Add iswblank for libcxx.
2014-04-15 19:26:42 +00:00
Elliott Hughes
073ea10156 Merge "Add iswblank for libcxx." 2014-04-15 19:19:48 +00:00
Elliott Hughes
40b0579127 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
2014-04-15 12:04:05 -07:00
Elliott Hughes
70ccd2bfff am a13c7fd3: Merge "Fix arm64 floating point definitions."
* commit 'a13c7fd3b34c1deb6592a75e79df9fe44dbf4d88':
  Fix arm64 floating point definitions.
2014-04-14 22:52:27 +00:00
Elliott Hughes
a13c7fd3b3 Merge "Fix arm64 floating point definitions." 2014-04-14 22:45:56 +00:00
Elliott Hughes
0f95a55322 Fix arm64 floating point definitions.
Change-Id: I6836da8fc9f66465435a21c51cb18851e20e9645
2014-04-14 15:33:32 -07:00
Elliott Hughes
cf2c663937 am 76ba8e86: Merge "Reimplement isinf/isnan/fpclassify."
* commit '76ba8e86d509594d861687110bbae265904da33b':
  Reimplement isinf/isnan/fpclassify.
2014-04-14 21:42:51 +00:00
Elliott Hughes
76ba8e86d5 Merge "Reimplement isinf/isnan/fpclassify." 2014-04-14 21:36:26 +00:00
Elliott Hughes
02c78a3867 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
2014-04-14 14:35:47 -07:00
Elliott Hughes
4aa11e9a86 am 05589068: Merge "Extra tests for printf of NaN and Inf."
* commit '055890686636faddbb6d5d407c67f5dcc53ac865':
  Extra tests for printf of NaN and Inf.
2014-04-14 21:12:56 +00:00
Elliott Hughes
0558906866 Merge "Extra tests for printf of NaN and Inf." 2014-04-14 21:07:25 +00:00
Elliott Hughes
7823f320b1 Extra tests for printf of NaN and Inf.
Change-Id: I61fc655d9777a03aabf38f6ebd047fe275386f05
2014-04-14 12:11:28 -07:00
Elliott Hughes
9bbd17cb75 am 28417eb9: Merge "Replace the bionic hack for a vfprintf leak with (roughly) the upstream fix."
* commit '28417eb9b58ca666355f93e82dcad0df0d3466ce':
  Replace the bionic hack for a vfprintf leak with (roughly) the upstream fix.
2014-04-13 02:32:43 +00:00
Elliott Hughes
28417eb9b5 Merge "Replace the bionic hack for a vfprintf leak with (roughly) the upstream fix." 2014-04-12 17:35:27 +00:00
Elliott Hughes
5eb670462a 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
2014-04-11 18:00:37 -07:00
Elliott Hughes
4d9a0d1161 am a0b32321: Merge "Improve the <sstream> test."
* commit 'a0b3232161f6ad60be1a3c4d97044ac2bb14808c':
  Improve the <sstream> test.
2014-04-11 16:29:26 +00:00
Elliott Hughes
a0b3232161 Merge "Improve the <sstream> test." 2014-04-11 16:23:29 +00:00
Elliott Hughes
6455ac73da Improve the <sstream> test.
It looks like libcxx's testing is crap too, and this turned up
another bug in stlport.

Change-Id: I98c93dceaa8225c3cc280166d4bb74adaf94a324
2014-04-10 20:44:27 -07:00
Elliott Hughes
d8b6b83957 am c4e71fc9: Merge "Remove unnecessary #includes."
* commit 'c4e71fc91f240d64aabf27d0da54e9cbf4298d14':
  Remove unnecessary #includes.
2014-04-11 00:56:40 +00:00
Elliott Hughes
c4e71fc91f Merge "Remove unnecessary #includes." 2014-04-11 00:50:49 +00:00
Elliott Hughes
b676aafad0 Remove unnecessary #includes.
Change-Id: Ie7e0c9ea03f35517c7dcf09fc808c12e55262bc1
2014-04-10 17:50:06 -07:00
Elliott Hughes
727093a3e1 am b64868a5: Merge "Add a test for external/stlport a6df82320fcb8f26af0d067c7768fedbaeb9ad88."
* commit 'b64868a50715cfdb5c71d97144ba00acf78e2a76':
  Add a test for external/stlport a6df82320fcb8f26af0d067c7768fedbaeb9ad88.
2014-04-10 19:09:18 +00:00
Elliott Hughes
b64868a507 Merge "Add a test for external/stlport a6df82320fcb8f26af0d067c7768fedbaeb9ad88." 2014-04-10 19:03:56 +00:00
Elliott Hughes
8c42606ae1 Add a test for external/stlport a6df82320fcb8f26af0d067c7768fedbaeb9ad88.
Change-Id: If4df9f5df41ae5453a3dff6bb032b419819f8703
2014-04-10 11:34:14 -07:00
Elliott Hughes
9ac738e3dd am 4e364d97: Merge "Use the glibc name user_fpregs_struct."
* commit '4e364d972433bda04614b56bc422ca88bf406c00':
  Use the glibc name user_fpregs_struct.
2014-04-10 00:05:52 +00:00
Elliott Hughes
4e364d9724 Merge "Use the glibc name user_fpregs_struct." 2014-04-09 23:59:43 +00:00
Elliott Hughes
93e1907ae1 Use the glibc name user_fpregs_struct.
Instead of the kernel name user_i387_struct.

Bug: 13889008
Change-Id: Ideec2e1ce36c1faa4b5b2db1999ad2b23757ca4d
2014-04-09 16:35:36 -07:00
Elliott Hughes
599921be7b am e4392199: Merge "Fix mcontext_t for x86-64."
* commit 'e4392199af1f867f751f73b129cc71e2ea99aba9':
  Fix mcontext_t for x86-64.
2014-04-09 22:59:05 +00:00
Elliott Hughes
e4392199af Merge "Fix mcontext_t for x86-64." 2014-04-09 22:52:07 +00:00
Elliott Hughes
c5992a036b Fix mcontext_t for x86-64.
Change-Id: I1ac0e7f44bcdd06a07862993e92c3048a7474a8b
2014-04-09 13:27:48 -07:00
Calin Juravle
49076afc19 am a5d83312: Merge "Use glibc structure for __cmsg_nxthdr."
* commit 'a5d83312bdeae2062a45160f54ce86c4b7b164e0':
  Use glibc structure for __cmsg_nxthdr.
2014-04-09 08:58:03 +00:00
Elliott Hughes
2fbe6831c4 am b52a4ab4: Merge "Flesh out <locale.h>."
* commit 'b52a4ab4e281c7adae35b3d7ae8d99b5753b870d':
  Flesh out <locale.h>.
2014-04-09 08:58:02 +00:00
Calin Juravle
a5d83312bd Merge "Use glibc structure for __cmsg_nxthdr." 2014-04-09 06:06:48 +00:00
Elliott Hughes
b52a4ab4e2 Merge "Flesh out <locale.h>." 2014-04-09 04:13:43 +00:00
Elliott Hughes
327acb9bba am e6235505: Merge "Fix build: include what you use."
* commit 'e62355057ca703eeca22d54a8a0f5b69ca58487c':
  Fix build: include what you use.
2014-04-09 03:18:44 +00:00
Elliott Hughes
e62355057c Merge "Fix build: include what you use." 2014-04-09 02:45:48 +00:00
Elliott Hughes
764a993611 Fix build: include what you use.
Change-Id: I12b2d5e434ad3ed38d4451bd470673781e6ca8fe
2014-04-08 19:44:36 -07:00
Elliott Hughes
c4936e20a3 Flesh out <locale.h>.
This is a trivial implementation that only supports the C/POSIX locale.

Change-Id: Ib11cea4249e1862aca96a8b94d58ea9a418cbe75
2014-04-08 19:37:38 -07:00
Elliott Hughes
901b2839d8 am 7f38a3c9: Merge "Implement _Exit(3)."
* commit '7f38a3c9bef9c6efc30a6b60873bbdeea04a18f0':
  Implement _Exit(3).
2014-04-09 02:12:43 +00:00
Elliott Hughes
7f38a3c9be Merge "Implement _Exit(3)." 2014-04-09 02:07:01 +00:00
Elliott Hughes
9f525644df Implement _Exit(3).
Change-Id: Ida6ac844cc87d38c9645b197dd8188bb73e27dbe
2014-04-08 17:16:13 -07:00
Elliott Hughes
a93d27703f am ac70d2e1: Merge "Clean up localeconv(3)."
* commit 'ac70d2e1fe71f98232942237c2b463ea3adbf662':
  Clean up localeconv(3).
2014-04-08 22:04:41 +00:00
Calin Juravle
ff64831b09 Use glibc structure for __cmsg_nxthdr.
Bug: 13418328
Change-Id: I7e656b373e53e80d708325321e48dcedacf5086d
2014-04-09 00:55:24 +03:00
Elliott Hughes
ac70d2e1fe Merge "Clean up localeconv(3)." 2014-04-08 21:52:33 +00:00
Elliott Hughes
5363a45f2b 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
2014-04-08 14:34:12 -07:00