Christopher Ferris
108f6dc316
Move accept4 tests into sys_socket_test.cpp.
...
In addition, create basic recvmmsg, sendmmsg tests.
Change-Id: Ie9f4954446d98b5eb5e553d3c616c1ee67c3cb66
2014-03-31 22:43:38 -07:00
Christopher Ferris
1cf377bbce
am aad59faf
: Merge "Small accept4 fixes."
...
* commit 'aad59fafeaa1f46e1744864167e6407b5a5ae55e':
Small accept4 fixes.
2014-03-31 19:11:02 +00:00
Christopher Ferris
aad59fafea
Merge "Small accept4 fixes."
2014-03-31 19:01:23 +00:00
Christopher Ferris
9cea377505
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
2014-03-31 11:23:39 -07:00
Russell Webb
ac3fc00ca2
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>
2014-03-31 22:38:14 +08:00
Calin Juravle
93203f6522
am 557942ac
: Merge "Fix math tests."
...
* commit '557942ac58f08675473460b1802b43473c467172':
Fix math tests.
2014-03-31 11:29:51 +00:00
Calin Juravle
557942ac58
Merge "Fix math tests."
2014-03-31 10:54:15 +00:00
Christopher Ferris
ce5583f706
am d8fe15fd
: Merge "add 32-bit bionic implementation for denver arch"
...
* commit 'd8fe15fdb6581b6920a4be75731337edbac64b11':
add 32-bit bionic implementation for denver arch
2014-03-31 03:39:02 +00:00
Christopher Ferris
d8fe15fdb6
Merge "add 32-bit bionic implementation for denver arch"
2014-03-31 03:30:13 +00:00
Christopher Ferris
52268f3982
am c19972a4
: Merge "Use __unused instead of UNUSED in linker.cpp"
...
* commit 'c19972a4ca24512e017ad501bf446a489d4236e7':
Use __unused instead of UNUSED in linker.cpp
2014-03-30 22:34:02 +00:00
Christopher Ferris
c19972a4ca
Merge "Use __unused instead of UNUSED in linker.cpp"
2014-03-30 22:24:22 +00:00
Calin Juravle
fd134c6f33
am 6617fb73
: Merge "Add lconv declaration and localeconv(3)"
...
* commit '6617fb73b6393f727cfc88a650c7e033ced053ce':
Add lconv declaration and localeconv(3)
2014-03-28 11:29:20 +00:00
Calin Juravle
6617fb73b6
Merge "Add lconv declaration and localeconv(3)"
2014-03-28 11:18:16 +00:00
Pavel Chupin
50282f72bb
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>
2014-03-28 11:15:03 +00:00
Calin Juravle
c8564f2df2
Fix math tests.
...
Bug: 13657654
Change-Id: I39b2f13b5b3d3e6897618ac3aed49a0a08458dd0
2014-03-28 11:10:01 +00:00
Christopher Ferris
7009abc283
am a58b3f78
: Merge "Add accept4 unit test to bionic."
...
* commit 'a58b3f78e14500e7b10fc845ef0a6a8309664663':
Add accept4 unit test to bionic.
2014-03-27 18:23:30 +00:00
Colin Cross
61bfc41644
am cd3303fa
: Merge "linker: use LOCAL_MULTILIB := both style to build linker64"
...
* commit 'cd3303fa384c86f9e7dfab52cce33bd986fdd565':
linker: use LOCAL_MULTILIB := both style to build linker64
2014-03-27 18:23:29 +00:00
Christopher Ferris
a58b3f78e1
Merge "Add accept4 unit test to bionic."
2014-03-27 18:15:15 +00:00
Colin Cross
cd3303fa38
Merge "linker: use LOCAL_MULTILIB := both style to build linker64"
2014-03-27 18:09:37 +00:00
Andrei Emeltchenko
2f3ba8844a
Add accept4 unit test to bionic.
...
Change-Id: I1cce5fb8dab16f03164fdd288f35a814d7c49c6a
2014-03-27 11:08:49 -07:00
Colin Cross
406a75d371
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
2014-03-27 10:45:57 -07:00
Calin Juravle
113f77506b
am 206fe5fd
: Merge changes I1935a63d,I3dfd3647
...
* commit '206fe5fd160504489234d222d824870837e82b59':
Fix and clean up strtotimeval
Added strtotimeval tests.
2014-03-27 16:59:18 +00:00
Calin Juravle
206fe5fd16
Merge changes I1935a63d,I3dfd3647
...
* changes:
Fix and clean up strtotimeval
Added strtotimeval tests.
2014-03-27 16:53:08 +00:00
Weichuan Yan
f1d7536dcf
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>
2014-03-27 14:57:36 +00:00
Christopher Ferris
7b6440d154
am bc475bc8
: Merge "Add accept4() syscall"
...
* commit 'bc475bc8d1d202baa48f6c9829fe1cced9122332':
Add accept4() syscall
2014-03-26 19:53:07 +00:00
Christopher Ferris
bc475bc8d1
Merge "Add accept4() syscall"
2014-03-26 19:40:59 +00:00
Calin Juravle
4bfaf462f0
Added strtotimeval tests.
...
Change-Id: I3dfd3647a8494490a2d549bdb915968063a7fb99
2014-03-26 17:57:48 +00:00
Calin Juravle
cba91b3dbd
am ecbf00bd
: Merge "Clean up CMSG_*HDR in <sys/socket.h>"
...
* commit 'ecbf00bda2fcee65e4e6385772022529ffeeed91':
Clean up CMSG_*HDR in <sys/socket.h>
2014-03-26 14:51:16 +00:00
Calin Juravle
ecbf00bda2
Merge "Clean up CMSG_*HDR in <sys/socket.h>"
2014-03-26 14:24:01 +00:00
Andrei Emeltchenko
8f2a30a92a
Add accept4() syscall
...
Add accept4() using SYSCALLS.TXT and gensyscall
Change-Id: I6f19f29144186d15d46423e10f2cc4b4223719c6
2014-03-26 15:50:01 +02:00
Shu Zhang
5b5d6e7045
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
2014-03-26 13:57:01 +08:00
Christopher Ferris
b47790fb56
am c8fc4ddc
: Merge "Keep the symbol table in the shared libc."
...
* commit 'c8fc4ddc183060aa979185d5a6845f26beb1a733':
Keep the symbol table in the shared libc.
2014-03-25 19:09:32 +00:00
Christopher Ferris
6c8f573830
am c8fc4ddc
: Merge "Keep the symbol table in the shared libc."
...
* commit 'c8fc4ddc183060aa979185d5a6845f26beb1a733':
Keep the symbol table in the shared libc.
2014-03-25 17:57:20 +00:00
Christopher Ferris
c8fc4ddc18
Merge "Keep the symbol table in the shared libc."
2014-03-25 17:46:30 +00:00
Calin Juravle
f1de90b3a2
Clean up CMSG_*HDR in <sys/socket.h>
...
Removed __CMSG_NXTHDR, __CMSG_FIRSTHDR and cmsg_nxthdr.
Bug: 13418328
Change-Id: I6b1ed58b41b3f37d41e070c4f222b5bfa512bc48
2014-03-25 17:07:37 +00:00
Kito Cheng
812fd4263a
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
2014-03-25 22:54:19 +08:00
Christopher Ferris
0ae6445e9a
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
2014-03-24 17:56:13 -07:00
Brian Carlstrom
b9b7805358
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
2014-03-25 00:26:29 +00:00
Brian Carlstrom
3f078dc9f7
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
2014-03-25 00:26:01 +00:00
Brian Carlstrom
f71c0e75e0
Merge "Add include of float.h for LDBL_MIN_EXP and LDBL_MANT_DIG"
2014-03-25 00:16:30 +00:00
Brian Carlstrom
133bd09334
Add include of float.h for LDBL_MIN_EXP and LDBL_MANT_DIG
...
(cherry picked from commit 1711c6ea3a0d891da665325c75738a68bd7d501f)
Change-Id: Ia64676b2b904f042fec678003e3f2cd5bd82b510
2014-03-24 16:53:22 -07:00
Calin Juravle
20f78d7eec
am 989a80b7
: Merge "Fix LP64 libm for 128-bit long doubles"
...
* commit '989a80b75014eff71600a6a4e1445e710c2f94b4':
Fix LP64 libm for 128-bit long doubles
2014-03-24 12:33:51 +00:00
Calin Juravle
02a1787738
am 9e8a8dc1
: Merge "Remove ALIGNBYTES and ALIGN from <sys/param.h>"
...
* commit '9e8a8dc18cb3162858feef2d4baaf3fa357aa3d2':
Remove ALIGNBYTES and ALIGN from <sys/param.h>
2014-03-24 12:33:50 +00:00
Calin Juravle
8a9d5db263
am 989a80b7
: Merge "Fix LP64 libm for 128-bit long doubles"
...
* commit '989a80b75014eff71600a6a4e1445e710c2f94b4':
Fix LP64 libm for 128-bit long doubles
2014-03-24 12:33:41 +00:00
Calin Juravle
0839b2ba28
am 9e8a8dc1
: Merge "Remove ALIGNBYTES and ALIGN from <sys/param.h>"
...
* commit '9e8a8dc18cb3162858feef2d4baaf3fa357aa3d2':
Remove ALIGNBYTES and ALIGN from <sys/param.h>
2014-03-24 12:33:40 +00:00
Calin Juravle
989a80b750
Merge "Fix LP64 libm for 128-bit long doubles"
2014-03-24 12:13:24 +00:00
Calin Juravle
9e8a8dc18c
Merge "Remove ALIGNBYTES and ALIGN from <sys/param.h>"
2014-03-24 12:11:30 +00:00
Calin Juravle
4d77c1151c
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
2014-03-24 11:48:42 +00:00
Nick Kralevich
aefe43b182
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
2014-03-22 18:06:03 +00:00
Nick Kralevich
15a69298ef
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
2014-03-22 18:05:43 +00:00