OSDN Git Service
Jean-Baptiste Queru [Mon, 22 Nov 2010 21:34:59 +0000 (13:34 -0800)]
resolved conflicts for merge of
1bc98ccb to gingerbread-plus-aosp
Change-Id: Ief9ec3d0472660e26864e082e03c26e09a043b9d
Jean-Baptiste Queru [Mon, 22 Nov 2010 21:02:25 +0000 (13:02 -0800)]
Merge "bionic: Add ARM optimized strcpy()"
Jim Huang [Tue, 10 Aug 2010 09:23:39 +0000 (17:23 +0800)]
bionic: Add ARM optimized strcpy()
Reference results of the experiments on Qualcomm MSM7x25 (524MHz):
[original C code]
prc thr usecs/call samples errors cnt/samp
size
strcpy_1k 1 1 14.56159 99 0 1000
1024
[ARM optimized code]
prc thr usecs/call samples errors cnt/samp
size
strcpy_1k 1 1 3.46653 99 0 1000
1024
The work was derived from ARM Ltd.
Change-Id: I906ac53bb7a7285e14693c77d3ce8d4ed6f98bfd
Jean-Baptiste Queru [Fri, 19 Nov 2010 06:39:15 +0000 (22:39 -0800)]
am
ea0fe856: Merge "Bionic: Aliasing problems with frexpf"
* commit '
ea0fe8563db2a5854d30b3c770c406356f55cfe8':
Bionic: Aliasing problems with frexpf
Jean-Baptiste Queru [Thu, 18 Nov 2010 02:15:58 +0000 (18:15 -0800)]
Merge "Bionic: Aliasing problems with frexpf"
Rodrigo Obregon [Fri, 5 Nov 2010 17:15:26 +0000 (12:15 -0500)]
Bionic: Aliasing problems with frexpf
This patch fixes a known bug in bionic libm
due to aliasing issues in gcc 4.2 and 4.4; more
specifically in frexpf.
The function frexpf is used to extract the
mantissa and exponent from a double precision number.
The bug has already been reported here:
https://code.google.com/p/android/issues/detail?id=6697
Change-Id: I2e1f2e0a45906642d2225b9d150ed391d2bf331c
Signed-off-by: Rodrigo Obregon <robregon@ti.com>
Nick Pelly [Mon, 1 Nov 2010 21:02:02 +0000 (14:02 -0700)]
am
7bbd4580: Add pn544.h clean kernel header
* commit '
7bbd4580afe0347892a0680b5917ec7df38c003a':
Add pn544.h clean kernel header
Nick Pelly [Mon, 1 Nov 2010 20:49:19 +0000 (15:49 -0500)]
Add pn544.h clean kernel header
Allows pn544 hardware reset
Change-Id: I6d6d22b16c228f03a70a14a4655a41005761b5d6
Signed-off-by: Nick Pelly <npelly@google.com>
Jean-Baptiste Queru [Tue, 26 Oct 2010 00:32:13 +0000 (17:32 -0700)]
am
96c03c7d: Merge "Remove duplicated _rand48 implementation. Use stdlib version instead"
Merge commit '
96c03c7dcc8cad59f2b8f3e6fef6a77a43750756' into gingerbread-plus-aosp
* commit '
96c03c7dcc8cad59f2b8f3e6fef6a77a43750756':
Remove duplicated _rand48 implementation. Use stdlib version instead
Jean-Baptiste Queru [Mon, 25 Oct 2010 23:28:03 +0000 (16:28 -0700)]
Merge "Remove duplicated _rand48 implementation. Use stdlib version instead"
Jim Huang [Mon, 27 Sep 2010 14:42:28 +0000 (22:42 +0800)]
Remove duplicated _rand48 implementation. Use stdlib version instead
Originally, there are _rand48 (in libc/bionic/_rand48.c) and __rand48
(in libc/stdlib/_rand48.c) implemented in bionic. Besides the naming,
the functionality is identical. This patch removes the duplicated
_rand48. Also, drand48 and erand48 are modified accordingly.
Change-Id: Ie5761a0a97f45df8538222a77edacb7c3e0125d7
David 'Digit' Turner [Thu, 21 Oct 2010 16:43:19 +0000 (09:43 -0700)]
am
1df986c2: libc: fix executable destruction support.
Merge commit '
1df986c21ee52c6756846b4a5e45cb316f772112' into gingerbread-plus-aosp
* commit '
1df986c21ee52c6756846b4a5e45cb316f772112':
libc: fix executable destruction support.
David 'Digit' Turner [Thu, 21 Oct 2010 02:16:50 +0000 (04:16 +0200)]
libc: fix executable destruction support.
This change allows an executable to call its destructor functions
(declared with __attribute__((destructor))) to be properly called
when it normally exits.
Note that this is different from calling the destructors of a shared
library when it is unloaded with dlclose() or through program exit,
which are already supported.
Bug:
3106500
Change-Id: I1412ef5407f13b613fc6cb6103e0a691dbee4b1a
Jean-Baptiste Queru [Thu, 21 Oct 2010 02:10:09 +0000 (19:10 -0700)]
am
b2061a30: Merge "resolv: make internal symbols static/hidden"
Merge commit '
b2061a30da29ee531c16862a5be3566e3b860839' into gingerbread-plus-aosp
* commit '
b2061a30da29ee531c16862a5be3566e3b860839':
resolv: make internal symbols static/hidden
Jean-Baptiste Queru [Thu, 21 Oct 2010 01:57:55 +0000 (18:57 -0700)]
am
4afe0f47: Merge "time64: make helper functions static"
Merge commit '
4afe0f4724b3d7180d67eae29bfdad5f815857cb' into gingerbread-plus-aosp
* commit '
4afe0f4724b3d7180d67eae29bfdad5f815857cb':
time64: make helper functions static
Jean-Baptiste Queru [Thu, 21 Oct 2010 01:57:53 +0000 (18:57 -0700)]
am
ade2a929: Merge "bionic: stubs: Make internal symbol static"
Merge commit '
ade2a92991d1c7edc32c4a300bd83d622fa1567d' into gingerbread-plus-aosp
* commit '
ade2a92991d1c7edc32c4a300bd83d622fa1567d':
bionic: stubs: Make internal symbol static
Jean-Baptiste Queru [Thu, 21 Oct 2010 01:57:51 +0000 (18:57 -0700)]
am
2215c113: Merge "pthread-timers: Hide internal symbol __timer_table_start_stop"
Merge commit '
2215c11325d0af07cde67bfee7bafa09ee5556a7' into gingerbread-plus-aosp
* commit '
2215c11325d0af07cde67bfee7bafa09ee5556a7':
pthread-timers: Hide internal symbol __timer_table_start_stop
Jean-Baptiste Queru [Thu, 21 Oct 2010 01:55:52 +0000 (18:55 -0700)]
Merge "resolv: make internal symbols static/hidden"
Jean-Baptiste Queru [Thu, 21 Oct 2010 01:54:17 +0000 (18:54 -0700)]
Merge "time64: make helper functions static"
Jean-Baptiste Queru [Thu, 21 Oct 2010 01:52:10 +0000 (18:52 -0700)]
Merge "bionic: stubs: Make internal symbol static"
Jean-Baptiste Queru [Thu, 21 Oct 2010 01:49:51 +0000 (18:49 -0700)]
Merge "pthread-timers: Hide internal symbol __timer_table_start_stop"
Jean-Baptiste Queru [Tue, 19 Oct 2010 22:22:22 +0000 (15:22 -0700)]
am
8ad63d74: Merge "stdlib: strtod: Hide internal symbol __dtoa"
Merge commit '
8ad63d745d4ec1edea0bbd04fd0644983ad77bf5' into gingerbread-plus-aosp
* commit '
8ad63d745d4ec1edea0bbd04fd0644983ad77bf5':
stdlib: strtod: Hide internal symbol __dtoa
Jean-Baptiste Queru [Tue, 19 Oct 2010 22:22:20 +0000 (15:22 -0700)]
am
1e0a4e18: Merge "stdio: make internal symbols static/hidden"
Merge commit '
1e0a4e18927805a2a1b602659c512916df345bde' into gingerbread-plus-aosp
* commit '
1e0a4e18927805a2a1b602659c512916df345bde':
stdio: make internal symbols static/hidden
Jean-Baptiste Queru [Tue, 19 Oct 2010 22:22:17 +0000 (15:22 -0700)]
am
847223de: Merge "__set_errno: Hide internal symbol __set_syscall_errno"
Merge commit '
847223de9ceff6db468a8246792542517a12d39f' into gingerbread-plus-aosp
* commit '
847223de9ceff6db468a8246792542517a12d39f':
__set_errno: Hide internal symbol __set_syscall_errno
Jean-Baptiste Queru [Tue, 19 Oct 2010 22:21:57 +0000 (15:21 -0700)]
am
5109146f: Merge "Reconcile assembly-only macros in <machine/cpu-features.h>"
Merge commit '
5109146f954d8cca39d34689bff2762e15bc6933' into gingerbread-plus-aosp
* commit '
5109146f954d8cca39d34689bff2762e15bc6933':
Reconcile assembly-only macros in <machine/cpu-features.h>
Jean-Baptiste Queru [Tue, 19 Oct 2010 22:02:44 +0000 (15:02 -0700)]
Merge "stdlib: strtod: Hide internal symbol __dtoa"
Jean-Baptiste Queru [Tue, 19 Oct 2010 21:58:11 +0000 (14:58 -0700)]
Merge "stdio: make internal symbols static/hidden"
Jean-Baptiste Queru [Tue, 19 Oct 2010 21:53:28 +0000 (14:53 -0700)]
Merge "__set_errno: Hide internal symbol __set_syscall_errno"
Jean-Baptiste Queru [Tue, 19 Oct 2010 21:49:28 +0000 (14:49 -0700)]
Merge "Reconcile assembly-only macros in <machine/cpu-features.h>"
Jean-Baptiste Queru [Fri, 15 Oct 2010 19:52:21 +0000 (12:52 -0700)]
resolved conflicts for merge of
347db52a to gingerbread-plus-aosp
Change-Id: I706a5158e781cbbc00344a72badca1543bcbca15
Jean-Baptiste Queru [Fri, 15 Oct 2010 16:38:46 +0000 (09:38 -0700)]
Merge "Update ATOM string routines to latest"
Jim Huang [Thu, 14 Oct 2010 19:05:25 +0000 (03:05 +0800)]
__set_errno: Hide internal symbol __set_syscall_errno
Change-Id: I21e7ef6bf0bca288069275add43bd53294c0760d
Jim Huang [Thu, 14 Oct 2010 18:27:50 +0000 (02:27 +0800)]
pthread-timers: Hide internal symbol __timer_table_start_stop
Change-Id: If99c5816fe6fa9107aa6bef4697048fabf92283f
Jim Huang [Thu, 14 Oct 2010 18:21:14 +0000 (02:21 +0800)]
bionic: stubs: Make internal symbol static
Thread-specific state for the stubs functions should not be exposed to
applications.
Change-Id: I4d35dab6009dab8db7781671ac5cc9b5f6904e84
Jim Huang [Thu, 14 Oct 2010 18:15:54 +0000 (02:15 +0800)]
time64: make helper functions static
Change-Id: I98d9a5f736482e52904228c171a1bdefd2f5b213
Jim Huang [Thu, 14 Oct 2010 18:02:57 +0000 (02:02 +0800)]
resolv: make internal symbols static/hidden
Change-Id: I988b83613e6252c0cc961555e81c10f856a38b37
Jim Huang [Thu, 14 Oct 2010 17:35:08 +0000 (01:35 +0800)]
stdlib: strtod: Hide internal symbol __dtoa
Change-Id: Iaaec7ea4d04c859fe98ad3331fd71e7d000c826b
Jim Huang [Thu, 14 Oct 2010 16:50:45 +0000 (00:50 +0800)]
stdio: make internal symbols static/hidden
Although header libc/stdio/local.h declares the macros and private
variables of stdio, there are several internal symbols exposed
unexpectedly.
Change-Id: Ie7a07f85b70322fb9cd05b3c8e1bcc416061eb4b
David 'Digit' Turner [Wed, 13 Oct 2010 17:28:31 +0000 (10:28 -0700)]
am
d3f0638a: libc: fix typo in waitid() declaration.
Merge commit '
d3f0638aeec0b1daf4d3347386a5e441d5a4bcc4' into gingerbread-plus-aosp
* commit '
d3f0638aeec0b1daf4d3347386a5e441d5a4bcc4':
libc: fix typo in waitid() declaration.
David 'Digit' Turner [Wed, 13 Oct 2010 13:46:55 +0000 (15:46 +0200)]
libc: fix typo in waitid() declaration.
The implementation file uses the correct spelling.
Change-Id: I572e336f8695a9754267c8d2e0a67b1b69bacb06
Bruce Beare [Mon, 11 Oct 2010 19:24:41 +0000 (12:24 -0700)]
Update ATOM string routines to latest
Change-Id: I22a600e7f172681cfd38ff73a64e3fd07b284959
Signed-off-by: Lu, Hongjiu <hongjiu.lu@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Jean-Baptiste Queru [Mon, 11 Oct 2010 14:27:01 +0000 (07:27 -0700)]
am
f67e5211: Merge "Hide the symbol of helper function __libc_android_abort"
Merge commit '
f67e5211e045af1b12f646448a5a35f96ba5e8f1' into gingerbread-plus-aosp
* commit '
f67e5211e045af1b12f646448a5a35f96ba5e8f1':
Hide the symbol of helper function __libc_android_abort
Jean-Baptiste Queru [Mon, 11 Oct 2010 14:13:10 +0000 (07:13 -0700)]
Merge "Hide the symbol of helper function __libc_android_abort"
David 'Digit' Turner [Mon, 11 Oct 2010 13:30:00 +0000 (06:30 -0700)]
am
1aa6708c: Fix the build. Oops.
Merge commit '
1aa6708cc2b7792a647ada960a66a1e0146fb209' into gingerbread-plus-aosp
* commit '
1aa6708cc2b7792a647ada960a66a1e0146fb209':
Fix the build. Oops.
David 'Digit' Turner [Mon, 11 Oct 2010 13:27:39 +0000 (15:27 +0200)]
Fix the build. Oops.
(We remove the declaration for on_exit() from the C library headers,
so do the same for the C++ <cstdlib>)
Change-Id: I31a21d5643068cd160724908dd8156863a44d95a
David 'Digit' Turner [Mon, 11 Oct 2010 13:11:56 +0000 (06:11 -0700)]
am
b8d2233e: Merge "libc: tag missing functions in system headers." into gingerbread
Merge commit '
b8d2233e8abc30f33be7d7acc7f3ef6e6aabebac' into gingerbread-plus-aosp
* commit '
b8d2233e8abc30f33be7d7acc7f3ef6e6aabebac':
libc: tag missing functions in system headers.
David 'Digit' Turner [Mon, 11 Oct 2010 13:01:52 +0000 (06:01 -0700)]
Merge "libc: tag missing functions in system headers." into gingerbread
Jean-Baptiste Queru [Mon, 11 Oct 2010 01:14:58 +0000 (18:14 -0700)]
am
66ad3429: Merge "gethnamaddr: make helper functions static"
Merge commit '
66ad34293b84d979cae5ffda4b3b90b746127ebb' into gingerbread-plus-aosp
* commit '
66ad34293b84d979cae5ffda4b3b90b746127ebb':
gethnamaddr: make helper functions static
Jean-Baptiste Queru [Mon, 11 Oct 2010 01:00:51 +0000 (18:00 -0700)]
Merge "gethnamaddr: make helper functions static"
David 'Digit' Turner [Sat, 9 Oct 2010 15:56:55 +0000 (17:56 +0200)]
libc: tag missing functions in system headers.
This matches recent changes in the NDK header.
We enclose missing functions in #if 0 .. #endif blocks
with a clear "MISSING" in comments in order to locate
them later.
Change-Id: I87b3a62e777897e75c9243360fb0a82bcc53d9fb
David 'Digit' Turner [Thu, 7 Oct 2010 21:48:31 +0000 (14:48 -0700)]
am
5b81b918: libc: optimize memmove() with memcpy() if possible.
Merge commit '
5b81b918173b4bf446c1a85240c094e4dd77231f' into gingerbread-plus-aosp
* commit '
5b81b918173b4bf446c1a85240c094e4dd77231f':
libc: optimize memmove() with memcpy() if possible.
David 'Digit' Turner [Thu, 7 Oct 2010 09:03:32 +0000 (11:03 +0200)]
libc: optimize memmove() with memcpy() if possible.
Change-Id: I90e578fdc82e427caee8fa4157ce3f8c6c99926d
Jim Huang [Fri, 1 Oct 2010 08:39:08 +0000 (16:39 +0800)]
Reconcile assembly-only macros in <machine/cpu-features.h>
The change explicitly isolates the assembly-only macros in header
<machine/cpu-features.h> in order to prevent mis-inclusion in C/C++
source files.
Change-Id: I0258e87c5ac3fd24944fb227290ac3b9cac4bfba
Marco Nelissen [Tue, 28 Sep 2010 17:29:50 +0000 (10:29 -0700)]
am
af00228b: Revert "libc: memmove(): non-overlapping block optim."
Merge commit '
af00228b705b53165c132a22b30c2d6cbb9acd13' into gingerbread-plus-aosp
* commit '
af00228b705b53165c132a22b30c2d6cbb9acd13':
Revert "libc: memmove(): non-overlapping block optim."
Marco Nelissen [Tue, 28 Sep 2010 17:24:20 +0000 (10:24 -0700)]
Revert "libc: memmove(): non-overlapping block optim."
This reverts commit
80fba9a2fe4eacaabee99cf0bbead872c2792231,
which caused the system to not boot anymore, aborting with:
"java.lang.RuntimeException: Missing static main on com.android.server.SystemServer".
Change-Id: I745e0a23c728cccf5f95a3c7642d544478a4e57e
repo sync [Tue, 28 Sep 2010 10:23:55 +0000 (12:23 +0200)]
resolved conflicts for merge of
defd1622 to gingerbread-plus-aosp
Conflicts:
libc/arch-arm/syscalls/eventfd.S
libc/include/sys/eventfd.h
libc/include/sys/linux-syscalls.h
Change-Id: I02f6e9536aa5478322240c199ff4c2f4367922d0
David 'Digit' Turner [Tue, 28 Sep 2010 07:22:25 +0000 (00:22 -0700)]
am
9973a564: libc: Add missing waitid() implementation.
Merge commit '
9973a564222b842eb7497fd6e659fe8c8c49e2b3' into gingerbread-plus-aosp
* commit '
9973a564222b842eb7497fd6e659fe8c8c49e2b3':
libc: Add missing waitid() implementation.
David 'Digit' Turner [Sun, 26 Sep 2010 20:29:14 +0000 (22:29 +0200)]
libc: add <sys/eventfd.h> and corresponding implementations.
Change-Id: Ide040884c456190226e580513099fdb8377e015b
David 'Digit' Turner [Tue, 28 Sep 2010 07:19:31 +0000 (00:19 -0700)]
am
a3ae60d3: libc: Add missing fdatasync() implementation
Merge commit '
a3ae60d343661784e3f6f4566b276d8e6b8a06a7' into gingerbread-plus-aosp
* commit '
a3ae60d343661784e3f6f4566b276d8e6b8a06a7':
libc: Add missing fdatasync() implementation
David 'Digit' Turner [Mon, 27 Sep 2010 15:30:33 +0000 (17:30 +0200)]
libc: Add missing waitid() implementation.
Change-Id: I312ee608dbf9249e4886a10d45d13e3cda8a9042
David 'Digit' Turner [Mon, 27 Sep 2010 15:28:38 +0000 (17:28 +0200)]
libc: Add missing fdatasync() implementation
Change-Id: I04bb655d77e414021e1f2a973329167ad76ca1c4
David 'Digit' Turner [Tue, 28 Sep 2010 07:16:40 +0000 (00:16 -0700)]
am
307aadb8: Merge "libc: Add missing C++ guards to <pathconf.h>" into gingerbread
Merge commit '
307aadb8473744c3d946add8b3e4947ada5481aa' into gingerbread-plus-aosp
* commit '
307aadb8473744c3d946add8b3e4947ada5481aa':
libc: Add missing C++ guards to <pathconf.h>
David 'Digit' Turner [Tue, 28 Sep 2010 07:16:38 +0000 (00:16 -0700)]
am
79260746: Merge "libc: memmove(): non-overlapping block optim." into gingerbread
Merge commit '
79260746dbed91babab415ea86fba0e3eb086429' into gingerbread-plus-aosp
* commit '
79260746dbed91babab415ea86fba0e3eb086429':
libc: memmove(): non-overlapping block optim.
David 'Digit' Turner [Tue, 28 Sep 2010 07:15:23 +0000 (00:15 -0700)]
Merge "libc: Add missing C++ guards to <pathconf.h>" into gingerbread
David 'Digit' Turner [Tue, 28 Sep 2010 07:15:05 +0000 (00:15 -0700)]
Merge "libc: memmove(): non-overlapping block optim." into gingerbread
David 'Digit' Turner [Tue, 28 Sep 2010 07:13:49 +0000 (00:13 -0700)]
am
032a7135: Merge "libc: add missing O_CLOEXEC from <fcntl.h>" into gingerbread
Merge commit '
032a713549c12b79b5dde6ef3dff323b7698110d' into gingerbread-plus-aosp
* commit '
032a713549c12b79b5dde6ef3dff323b7698110d':
libc: add missing O_CLOEXEC from <fcntl.h>
David 'Digit' Turner [Tue, 28 Sep 2010 07:13:48 +0000 (00:13 -0700)]
am
223ddfcf: Merge "libc: Add missing pipe2() declaration and implementation." into gingerbread
Merge commit '
223ddfcfc4cb354641e70da31a60556248db5036' into gingerbread-plus-aosp
* commit '
223ddfcfc4cb354641e70da31a60556248db5036':
libc: Add missing pipe2() declaration and implementation.
David 'Digit' Turner [Tue, 28 Sep 2010 07:13:46 +0000 (00:13 -0700)]
am
9df22a5a: Merge "libm: remove aliasing issue." into gingerbread
Merge commit '
9df22a5a5fc57d511bfde3338806ec98d0cc334f' into gingerbread-plus-aosp
* commit '
9df22a5a5fc57d511bfde3338806ec98d0cc334f':
libm: remove aliasing issue.
David 'Digit' Turner [Tue, 28 Sep 2010 07:13:43 +0000 (00:13 -0700)]
am
bd8d987b: libc: remove C++ comments from public headers.
Merge commit '
bd8d987b3c3aa6d9d00cede2cb091f00bdb42204' into gingerbread-plus-aosp
* commit '
bd8d987b3c3aa6d9d00cede2cb091f00bdb42204':
libc: remove C++ comments from public headers.
David 'Digit' Turner [Tue, 28 Sep 2010 07:12:13 +0000 (00:12 -0700)]
Merge "libc: add missing O_CLOEXEC from <fcntl.h>" into gingerbread
David 'Digit' Turner [Tue, 28 Sep 2010 07:12:08 +0000 (00:12 -0700)]
Merge "libc: Add missing pipe2() declaration and implementation." into gingerbread
David 'Digit' Turner [Tue, 28 Sep 2010 07:11:58 +0000 (00:11 -0700)]
Merge "libm: remove aliasing issue." into gingerbread
Elliott Hughes [Mon, 27 Sep 2010 18:39:39 +0000 (11:39 -0700)]
am
3cf53d1a: Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.
Merge commit '
3cf53d1a7814e1520df09d24b009c16f4f27db0d' into gingerbread-plus-aosp
* commit '
3cf53d1a7814e1520df09d24b009c16f4f27db0d':
Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.
Jim Huang [Mon, 27 Sep 2010 15:37:10 +0000 (23:37 +0800)]
gethnamaddr: make helper functions static
In order not to conflict with the symbols defined in file
libc/netbsd/getaddrinfo.c, this patch makes the internal/helper
functions static.
Change-Id: I0f85599e0b4ce0a637d005ff1680e1805dec4380
David 'Digit' Turner [Sun, 26 Sep 2010 21:17:21 +0000 (23:17 +0200)]
libm: remove aliasing issue.
See http://code.google.com/p/android/issues/detail?id=6697
for details about this change.
Change-Id: I516f00c6f3bc99b22be51669e4573246bdd6e33d
David 'Digit' Turner [Sun, 26 Sep 2010 21:00:36 +0000 (23:00 +0200)]
libc: remove C++ comments from public headers.
Change-Id: I4af84f912062cd2ff34711c25122fb323f20c032
David 'Digit' Turner [Sun, 26 Sep 2010 20:40:02 +0000 (22:40 +0200)]
libc: memmove(): non-overlapping block optim.
Change-Id: I5652f4f97ca59d95176443fc27c737ef76258183
David 'Digit' Turner [Sun, 26 Sep 2010 18:03:16 +0000 (20:03 +0200)]
libc: add missing O_CLOEXEC from <fcntl.h>
Change-Id: Ie7ad57898e67800a9fe92bb52589d67ec30e1cd9
David 'Digit' Turner [Mon, 27 Sep 2010 15:33:08 +0000 (17:33 +0200)]
libc: Add missing pipe2() declaration and implementation.
Change-Id: Iacb914bd6ac5adc60c5671e6fef680ede21f9b0c
David 'Digit' Turner [Mon, 27 Sep 2010 15:27:14 +0000 (17:27 +0200)]
libc: Add missing C++ guards to <pathconf.h>
Change-Id: I94dad48678181d8b02431b1c1f5d507beafb5406
Jim Huang [Mon, 27 Sep 2010 11:23:06 +0000 (19:23 +0800)]
Hide the symbol of helper function __libc_android_abort
Ideally __libc_android_abort would be static, but it could not be
because gcc would not allow calling a static function from an asm
statement. Instead, using GCC visibility is work around.
Change-Id: Ifff6b9957ca3f0fc03c75c3e42582a48d43cefa2
Elliott Hughes [Sat, 25 Sep 2010 00:55:58 +0000 (17:55 -0700)]
Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.
1. Make the feature test work by excluding known-deficient processors, so
we don't have to maintain a complete list of all the processors that support
REV and REV16.
2. Don't abuse 'register' to get an effect similar to GCC's +l constraint,
but which was unnecessarily restrictive.
3. Fix __swap64md so _x isn't clobbered, breaking 64-bit swaps.
4. Make <byteswap.h> (which declars bswap_16 and friends) use <endian.h>
rather than <sys/endian.h>, so we get the machine-dependent implementations.
Change-Id: I6a38fad7a9fbe394aff141489617eb3883e1e944
Wink Saville [Thu, 23 Sep 2010 08:43:43 +0000 (01:43 -0700)]
am
b9e49ad5: Use a recursive lock for pthread_once. DO NOT MERGE.
Merge commit '
b9e49ad56e5776ace7c6eab2e997d5b7acb16792' into gingerbread-plus-aosp
* commit '
b9e49ad56e5776ace7c6eab2e997d5b7acb16792':
Use a recursive lock for pthread_once. DO NOT MERGE.
Wink Saville [Wed, 22 Sep 2010 21:51:53 +0000 (14:51 -0700)]
Use a recursive lock for pthread_once. DO NOT MERGE.
Backport change I9fc8b790 from Master to Gingerbread
Change-Id: I5cf48fcd4efb7991ed82f87d9365c19655dc9b7f
Brian Swetland [Sun, 19 Sep 2010 10:51:34 +0000 (03:51 -0700)]
am
fedbcde6: add /vendor support
Merge commit '
fedbcde6ef552e84bf7ce7598bca7dddf1722d6a' into gingerbread-plus-aosp
* commit '
fedbcde6ef552e84bf7ce7598bca7dddf1722d6a':
add /vendor support
Brian Swetland [Sun, 19 Sep 2010 10:39:13 +0000 (03:39 -0700)]
add /vendor support
- add /vendor/lib to front of default library search path
- remove long-obsolete /lib from default library search path
Change-Id: I7d33bf899be018e7cc4c213d5790bbd991023a62
Kenny Root [Tue, 14 Sep 2010 19:31:03 +0000 (12:31 -0700)]
am
cb99ab98: Add wmemcmp to Android.mk
Merge commit '
cb99ab98c99291a6c90043009ab8d64ec8058f9d' into gingerbread-plus-aosp
* commit '
cb99ab98c99291a6c90043009ab8d64ec8058f9d':
Add wmemcmp to Android.mk
Jean-Baptiste Queru [Fri, 10 Sep 2010 23:37:38 +0000 (16:37 -0700)]
am
312be567: Merge "Use ARMv6 instruction for handling byte order"
Merge commit '
312be567a03aaf851707a268807ee666b12f8c74' into gingerbread-plus-aosp
* commit '
312be567a03aaf851707a268807ee666b12f8c74':
Use ARMv6 instruction for handling byte order
Jean-Baptiste Queru [Fri, 10 Sep 2010 23:02:59 +0000 (16:02 -0700)]
Merge "Use ARMv6 instruction for handling byte order"
Jean-Baptiste Queru [Fri, 10 Sep 2010 20:03:15 +0000 (13:03 -0700)]
am
3558834c: Merge "Move the atom optimization flags into TARGET_linux-x86.mk."
Merge commit '
3558834c565bbfe96dfcf233373c3814b4655347' into gingerbread-plus-aosp
* commit '
3558834c565bbfe96dfcf233373c3814b4655347':
Move the atom optimization flags into TARGET_linux-x86.mk.
Kenny Root [Fri, 10 Sep 2010 19:20:58 +0000 (12:20 -0700)]
Add wmemcmp to Android.mk
Change-Id: I9dc96d72b2becdd31981b4d176a13358aef6dcb9
Jean-Baptiste Queru [Thu, 9 Sep 2010 21:09:41 +0000 (14:09 -0700)]
Merge "Move the atom optimization flags into TARGET_linux-x86.mk."
Keith Deacon [Wed, 8 Sep 2010 10:06:26 +0000 (03:06 -0700)]
am
3a1bbee3: Add eventfd system call support
Merge commit '
3a1bbee36b773862e88c6f1895b607c0cd81b499' into gingerbread-plus-aosp
* commit '
3a1bbee36b773862e88c6f1895b607c0cd81b499':
Add eventfd system call support
rich cannings [Tue, 31 Aug 2010 22:52:47 +0000 (15:52 -0700)]
am
6e42398d: Merge "Fix return value." into gingerbread
Merge commit '
6e42398dd66d1ec7d84257f78c07dcc7f29a2283' into gingerbread-plus-aosp
* commit '
6e42398dd66d1ec7d84257f78c07dcc7f29a2283':
Fix return value.
rich cannings [Tue, 31 Aug 2010 22:48:25 +0000 (15:48 -0700)]
Merge "Fix return value." into gingerbread
rich cannings [Tue, 31 Aug 2010 22:19:38 +0000 (15:19 -0700)]
Fix return value.
Return a valid pointer (not NULL) when the character "c" is at the end of "src".
Change-Id: Iab0b677943f2c8a9fbb255c44689f5d6dc3535d7
Example:
memccpy(dest, "xzy", 'y', 3) should return dest+3 rather than null.
Keith Deacon [Tue, 31 Aug 2010 21:16:01 +0000 (16:16 -0500)]
Add eventfd system call support
Jesse Wilson [Tue, 31 Aug 2010 21:04:15 +0000 (14:04 -0700)]
am
cc6b1829: Merge "Make timezones available to the host build." into gingerbread
Merge commit '
cc6b18291075a7960ad0d638d2047f41be1297e8' into gingerbread-plus-aosp
* commit '
cc6b18291075a7960ad0d638d2047f41be1297e8':
Make timezones available to the host build.
Jesse Wilson [Tue, 31 Aug 2010 21:01:13 +0000 (14:01 -0700)]
Merge "Make timezones available to the host build." into gingerbread
Jesse Wilson [Tue, 31 Aug 2010 20:16:25 +0000 (13:16 -0700)]
Make timezones available to the host build.
Change-Id: Ib2c89ac13b03f07c6c712a544bc0d5d1c9dc57df