Christopher Ferris
c19972a4ca
Merge "Use __unused instead of UNUSED in linker.cpp"
2014-03-30 22:24:22 +00:00
Calin Juravle
c08e1720c2
am fd134c6f
: am 6617fb73
: Merge "Add lconv declaration and localeconv(3)"
...
* commit 'fd134c6f33ad040dfc2f91d7e23e8186fa3e8610':
Add lconv declaration and localeconv(3)
2014-03-28 11:36:03 +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
d5e61526bf
am 7009abc2
: am a58b3f78
: Merge "Add accept4 unit test to bionic."
...
* commit '7009abc28335f01105ac1da02c3d0d06788e21b7':
Add accept4 unit test to bionic.
2014-03-27 18:29:26 +00:00
Colin Cross
ba73053166
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
2014-03-27 18:29:26 +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
4f6cd7cf9b
am 113f7750
: am 206fe5fd
: Merge changes I1935a63d,I3dfd3647
...
* commit '113f77506b2382eeb2d99c74f84579c59832fbbb':
Fix and clean up strtotimeval
Added strtotimeval tests.
2014-03-27 17:06:14 +00: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
474663a398
am 7b6440d1
: am bc475bc8
: Merge "Add accept4() syscall"
...
* commit '7b6440d1547d9845ba5572179cd9c32b088b1985':
Add accept4() syscall
2014-03-26 19:59:57 +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
d91b4a0ffc
am cba91b3d
: am ecbf00bd
: Merge "Clean up CMSG_*HDR in <sys/socket.h>"
...
* commit 'cba91b3dbd2de2299979c0015896fb6942162bd7':
Clean up CMSG_*HDR in <sys/socket.h>
2014-03-26 16:36:26 +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
0f01bb2e68
am b47790fb
: am c8fc4ddc
: Merge "Keep the symbol table in the shared libc."
...
* commit 'b47790fb5620b4a856bba6e2cb1b76989d96956d':
Keep the symbol table in the shared libc.
2014-03-25 21:22:58 +00: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
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
f2da14ccc7
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
2014-03-25 00:36:02 +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
afc3a59e6c
am 20f78d7e
: am 989a80b7
: Merge "Fix LP64 libm for 128-bit long doubles"
...
* commit '20f78d7eecb921fe9862039fe43c02747e4f253f':
Fix LP64 libm for 128-bit long doubles
2014-03-24 21:25:35 +00:00
Calin Juravle
ade0564616
am 02a17877
: am 9e8a8dc1
: Merge "Remove ALIGNBYTES and ALIGN from <sys/param.h>"
...
* commit '02a178773806e118e60a422f82b8a2607bd54e86':
Remove ALIGNBYTES and ALIGN from <sys/param.h>
2014-03-24 21:25:34 +00:00
Nick Kralevich
91ef8d53ec
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
2014-03-24 21:25:17 +00:00
Chad Brubaker
efe4461364
am b9e1688c
: am 1d3d0360
: am 081db840
: Allow overlap in resolv uid => DNS iface mapping
...
* commit 'b9e1688cd9f8727bbe0dacafd194c7a571bedb14':
Allow overlap in resolv uid => DNS iface mapping
2014-03-24 19:35:17 +00:00
Mark Salyzyn
248f1027e0
am 5b3c6fde
: am cce6c380
: Merge "libc: Thread IDs missing from logcat -v thread"
...
* commit '5b3c6fde09f2665f788f2586c3cdbab28b98b229':
libc: Thread IDs missing from logcat -v thread
2014-03-24 18:44:03 +00:00
Christopher Ferris
7eec583445
am e1b25377
: am 998d7b03
: Merge "Fix deadlock in timer_delete."
...
* commit 'e1b25377387376932688bb436393764469af1cf3':
Fix deadlock in timer_delete.
2014-03-24 17:27:10 +00: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
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
95c1abecc0
Merge "FORTIFY_SOURCE: don't define s?printf macros if already defined"
2014-03-22 17:55:49 +00:00