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
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
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
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
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
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
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
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
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
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
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
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
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
Andrew Hsieh
e2239ddb72
Merge "Corrected typo in mips64.mk about memcpy.cpp"
2014-04-08 20:09:44 +00:00
Elliott Hughes
5acd2d4005
Merge "AArch64: Fix flock64 for LP64."
2014-04-08 19:20:51 +00:00
Serban Constantinescu
48501af98f
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>
2014-04-08 12:19:23 -07:00
Andrew Hsieh
4e3ce11450
Corrected typo in mips64.mk about memcpy.cpp
...
Change-Id: I1e6fb9373880bcdbad3fa86145e5138ce0d30b31
2014-04-09 02:16:03 +08:00
Elliott Hughes
0b0387c965
Merge "Fix kernel header scrubbing for LP64."
2014-04-08 17:47:28 +00:00
Elliott Hughes
9195a258ee
Fix kernel header scrubbing for LP64.
...
Change-Id: I4caf44d41edd1b03a20d4c565e169c2b7a2f3686
2014-04-08 10:15:06 -07:00
Christopher Ferris
41059d764f
Merge "Add stpcpy/stpncpy."
2014-04-08 01:21:07 +00:00
Elliott Hughes
b9bb48bf28
Merge "Fix the printf issue for 64 bits. The following case:"
2014-04-07 23:44:50 +00:00
Christopher Ferris
950a58e24d
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
2014-04-07 16:41:53 -07:00
Elliott Hughes
26c31a75a5
Merge "Remove a non-standard turd: strtotimeval."
2014-04-07 22:53:28 +00:00
Elliott Hughes
efbdb53f84
Remove a non-standard turd: strtotimeval.
...
Change-Id: I1b1e40746cb573e3fb73a5276969b40c5da36d15
2014-04-07 15:17:19 -07:00
Elliott Hughes
5f149f1bde
Merge "Implement wctomb(3) for ltrace."
2014-04-07 21:39:38 +00:00
Elliott Hughes
60ba211d2b
Merge "Fix build: __unused isn't unused!"
2014-04-07 21:37:47 +00:00
Elliott Hughes
50249bca00
Fix build: __unused isn't unused!
...
Change-Id: I57f2b755d1b2509f9c5504b12a5ff6c50b78b375
2014-04-07 14:36:59 -07:00
Elliott Hughes
77e944fd46
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
2014-04-07 14:29:28 -07:00
Elliott Hughes
47931f8f79
Merge "Fix aarch64 struct ucontext."
2014-04-07 20:44:31 +00:00
Elliott Hughes
5c7bda5c61
Fix aarch64 struct ucontext.
...
Change-Id: I6f0959723a753e8c788275709e7245c103ff88d1
2014-04-07 12:12:00 -07:00
Elliott Hughes
dc5fcf3620
Merge "Define __WORDSIZE like glibc."
2014-04-03 22:06:25 +00:00
Elliott Hughes
caa15bfe2d
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
2014-04-03 13:59:14 -07:00
Robert Greenwalt
804b95e535
Merge "bionic: Replace iface with opaque netid in resolver."
2014-04-03 17:05:32 +00:00
Calin Juravle
3868759314
Merge "Emit warnings when linking against imprecise math functions"
2014-04-03 09:01:05 +00:00
Calin Juravle
eb554998d7
Merge "Fix modf* tests"
2014-04-03 09:00:34 +00:00