OSDN Git Service

android-x86/bionic.git
13 years agoam ade2a929: Merge "bionic: stubs: Make internal symbol 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

13 years agoam 2215c113: Merge "pthread-timers: Hide internal symbol __timer_table_start_stop"
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

13 years agoMerge "bionic: stubs: Make internal symbol static"
Jean-Baptiste Queru [Thu, 21 Oct 2010 01:52:10 +0000 (18:52 -0700)]
Merge "bionic: stubs: Make internal symbol static"

13 years agoMerge "pthread-timers: Hide internal symbol __timer_table_start_stop"
Jean-Baptiste Queru [Thu, 21 Oct 2010 01:49:51 +0000 (18:49 -0700)]
Merge "pthread-timers: Hide internal symbol __timer_table_start_stop"

13 years agoam 8ad63d74: Merge "stdlib: strtod: Hide internal symbol __dtoa"
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

13 years agoam 1e0a4e18: Merge "stdio: make internal symbols static/hidden"
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

13 years agoam 847223de: Merge "__set_errno: Hide internal symbol __set_syscall_errno"
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

13 years agoam 5109146f: Merge "Reconcile assembly-only macros in <machine/cpu-features.h>"
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>

13 years agoMerge "stdlib: strtod: Hide internal symbol __dtoa"
Jean-Baptiste Queru [Tue, 19 Oct 2010 22:02:44 +0000 (15:02 -0700)]
Merge "stdlib: strtod: Hide internal symbol __dtoa"

13 years agoMerge "stdio: make internal symbols static/hidden"
Jean-Baptiste Queru [Tue, 19 Oct 2010 21:58:11 +0000 (14:58 -0700)]
Merge "stdio: make internal symbols static/hidden"

13 years agoMerge "__set_errno: Hide internal symbol __set_syscall_errno"
Jean-Baptiste Queru [Tue, 19 Oct 2010 21:53:28 +0000 (14:53 -0700)]
Merge "__set_errno: Hide internal symbol __set_syscall_errno"

13 years agoMerge "Reconcile assembly-only macros in <machine/cpu-features.h>"
Jean-Baptiste Queru [Tue, 19 Oct 2010 21:49:28 +0000 (14:49 -0700)]
Merge "Reconcile assembly-only macros in <machine/cpu-features.h>"

13 years agoresolved conflicts for merge of 347db52a to gingerbread-plus-aosp
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

13 years agoMerge "Update ATOM string routines to latest"
Jean-Baptiste Queru [Fri, 15 Oct 2010 16:38:46 +0000 (09:38 -0700)]
Merge "Update ATOM string routines to latest"

13 years ago__set_errno: Hide internal symbol __set_syscall_errno
Jim Huang [Thu, 14 Oct 2010 19:05:25 +0000 (03:05 +0800)]
__set_errno: Hide internal symbol __set_syscall_errno

Change-Id: I21e7ef6bf0bca288069275add43bd53294c0760d

13 years agopthread-timers: Hide internal symbol __timer_table_start_stop
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

13 years agobionic: stubs: Make internal symbol static
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

13 years agostdlib: strtod: Hide internal symbol __dtoa
Jim Huang [Thu, 14 Oct 2010 17:35:08 +0000 (01:35 +0800)]
stdlib: strtod: Hide internal symbol __dtoa

Change-Id: Iaaec7ea4d04c859fe98ad3331fd71e7d000c826b

13 years agostdio: make internal symbols static/hidden
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

13 years agoam d3f0638a: libc: fix typo in waitid() declaration.
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.

13 years agolibc: 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

13 years agoUpdate ATOM string routines to latest
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>
13 years agoam f67e5211: Merge "Hide the symbol of helper function __libc_android_abort"
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

13 years agoMerge "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"

13 years agoam 1aa6708c: Fix the build. Oops.
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.

13 years agoFix 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

13 years agoam b8d2233e: Merge "libc: tag missing functions in system headers." into gingerbread
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.

13 years agoMerge "libc: tag missing functions in system headers." into gingerbread
David 'Digit' Turner [Mon, 11 Oct 2010 13:01:52 +0000 (06:01 -0700)]
Merge "libc: tag missing functions in system headers." into gingerbread

13 years agoam 66ad3429: Merge "gethnamaddr: make helper functions static"
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

13 years agoMerge "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"

13 years agolibc: tag missing functions in system headers.
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

13 years agoam 5b81b918: libc: optimize memmove() with memcpy() if possible.
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.

13 years agolibc: 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

13 years agoReconcile assembly-only macros in <machine/cpu-features.h>
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

13 years agoam af00228b: Revert "libc: memmove(): non-overlapping block optim."
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."

13 years agoRevert "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

13 years agoresolved conflicts for merge of defd1622 to gingerbread-plus-aosp
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

13 years agoam 9973a564: libc: Add missing waitid() implementation.
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.

13 years agolibc: add <sys/eventfd.h> and corresponding implementations.
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

13 years agoam a3ae60d3: libc: Add missing fdatasync() implementation
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

13 years agolibc: Add missing waitid() implementation.
David 'Digit' Turner [Mon, 27 Sep 2010 15:30:33 +0000 (17:30 +0200)]
libc: Add missing waitid() implementation.

Change-Id: I312ee608dbf9249e4886a10d45d13e3cda8a9042

13 years agolibc: Add missing fdatasync() implementation
David 'Digit' Turner [Mon, 27 Sep 2010 15:28:38 +0000 (17:28 +0200)]
libc: Add missing fdatasync() implementation

Change-Id: I04bb655d77e414021e1f2a973329167ad76ca1c4

13 years agoam 307aadb8: Merge "libc: Add missing C++ guards to <pathconf.h>" into gingerbread
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>

13 years agoam 79260746: Merge "libc: memmove(): non-overlapping block optim." into gingerbread
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.

13 years agoMerge "libc: Add missing C++ guards to <pathconf.h>" into gingerbread
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

13 years agoMerge "libc: memmove(): non-overlapping block optim." 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

13 years agoam 032a7135: Merge "libc: add missing O_CLOEXEC from <fcntl.h>" 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>

13 years agoam 223ddfcf: Merge "libc: Add missing pipe2() declaration and implementation." into...
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.

13 years agoam 9df22a5a: Merge "libm: remove aliasing issue." into gingerbread
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.

13 years agoam bd8d987b: libc: remove C++ comments from public headers.
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.

13 years agoMerge "libc: add missing O_CLOEXEC from <fcntl.h>" into gingerbread
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

13 years agoMerge "libc: Add missing pipe2() declaration and implementation." 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

13 years agoMerge "libm: remove aliasing issue." into gingerbread
David 'Digit' Turner [Tue, 28 Sep 2010 07:11:58 +0000 (00:11 -0700)]
Merge "libm: remove aliasing issue." into gingerbread

13 years agoam 3cf53d1a: Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.
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.

13 years agogethnamaddr: make helper functions static
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

13 years agolibm: remove aliasing issue.
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

13 years agolibc: remove C++ comments from public headers.
David 'Digit' Turner [Sun, 26 Sep 2010 21:00:36 +0000 (23:00 +0200)]
libc: remove C++ comments from public headers.

Change-Id: I4af84f912062cd2ff34711c25122fb323f20c032

13 years agolibc: memmove(): non-overlapping block optim.
David 'Digit' Turner [Sun, 26 Sep 2010 20:40:02 +0000 (22:40 +0200)]
libc: memmove(): non-overlapping block optim.

Change-Id: I5652f4f97ca59d95176443fc27c737ef76258183

13 years agolibc: add missing O_CLOEXEC from <fcntl.h>
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

13 years agolibc: Add missing pipe2() declaration and implementation.
David 'Digit' Turner [Mon, 27 Sep 2010 15:33:08 +0000 (17:33 +0200)]
libc: Add missing pipe2() declaration and implementation.

Change-Id: Iacb914bd6ac5adc60c5671e6fef680ede21f9b0c

13 years agolibc: Add missing C++ guards to <pathconf.h>
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

13 years agoHide the symbol of helper function __libc_android_abort
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

13 years agoFixes for the ARM-specific bswap_16, bswap_32, and bswap_64.
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

13 years agoam b9e49ad5: Use a recursive lock for pthread_once. DO NOT MERGE.
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.

13 years agoUse 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

13 years agoam fedbcde6: add /vendor support
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

13 years agoadd /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

13 years agoam cb99ab98: Add wmemcmp to Android.mk
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

13 years agoam 312be567: Merge "Use ARMv6 instruction for handling byte order"
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

13 years agoMerge "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"

13 years agoam 3558834c: Merge "Move the atom optimization flags into TARGET_linux-x86.mk."
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.

13 years agoAdd wmemcmp to Android.mk
Kenny Root [Fri, 10 Sep 2010 19:20:58 +0000 (12:20 -0700)]
Add wmemcmp to Android.mk

Change-Id: I9dc96d72b2becdd31981b4d176a13358aef6dcb9

13 years agoMerge "Move the atom optimization flags into TARGET_linux-x86.mk."
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."

13 years agoam 3a1bbee3: Add eventfd system call support
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

13 years agoam 6e42398d: Merge "Fix return value." into gingerbread
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.

13 years agoMerge "Fix return value." into gingerbread
rich cannings [Tue, 31 Aug 2010 22:48:25 +0000 (15:48 -0700)]
Merge "Fix return value." into gingerbread

13 years agoFix return value.
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.

13 years agoAdd eventfd system call support
Keith Deacon [Tue, 31 Aug 2010 21:16:01 +0000 (16:16 -0500)]
Add eventfd system call support

13 years agoam cc6b1829: Merge "Make timezones available to the host build." into gingerbread
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.

13 years agoMerge "Make timezones available to the host build." into gingerbread
Jesse Wilson [Tue, 31 Aug 2010 21:01:13 +0000 (14:01 -0700)]
Merge "Make timezones available to the host build." into gingerbread

13 years agoMake timezones available to the host build.
Jesse Wilson [Tue, 31 Aug 2010 20:16:25 +0000 (13:16 -0700)]
Make timezones available to the host build.

Change-Id: Ib2c89ac13b03f07c6c712a544bc0d5d1c9dc57df

13 years agoMerge (ignore) from open-source master tree
Jean-Baptiste Queru [Tue, 31 Aug 2010 20:08:11 +0000 (13:08 -0700)]
Merge (ignore) from open-source master tree

Change-Id: Ie735c3282ddc17c1e28e1069b714f3a310c221a2

13 years agoUse ARMv6 instruction for handling byte order
Jim Huang [Tue, 31 Aug 2010 06:51:44 +0000 (14:51 +0800)]
Use ARMv6 instruction for handling byte order

ARMv6 ISA has several instructions to handle data in different byte order.
For endian conversion (byte swapping) of single data words, it might be a
good idea to use the REV/REV16 instruction simply.

Change-Id: Ic4a5ed6254e082763e54aa70d428f59a0088636e

13 years agoresolved conflicts for merge of 6a51defa to gingerbread-plus-aosp
David 'Digit' Turner [Mon, 30 Aug 2010 00:41:36 +0000 (17:41 -0700)]
resolved conflicts for merge of 6a51defa to gingerbread-plus-aosp

Change-Id: I0367bcffe9179904ca820e3b824dddfa47594f63

13 years agoFix __get_tls() in static C library to use kernel helpers.
David 'Digit' Turner [Fri, 27 Aug 2010 15:19:19 +0000 (08:19 -0700)]
Fix __get_tls() in static C library to use kernel helpers.

This is needed to fix gdbserver's handling of threaded programs,
among other things.

Change-Id: I823387c602cef9891532da946a01db14be780ab0

13 years agoadded missing ether_aton and ether_ntoa
Szymon Jakubczak [Wed, 9 Jun 2010 19:53:28 +0000 (15:53 -0400)]
added missing ether_aton and ether_ntoa

Change-Id: I32ee448abde4d5693d393030ed77ddc6d2ad1dfc

13 years agoam 22f1e3d4: Apply https://android-git.corp.google.com/g/60855 to dalvik-dev.
Brian Carlstrom [Wed, 18 Aug 2010 20:39:12 +0000 (13:39 -0700)]
am 22f1e3d4: Apply https://android-git.corp.google.com/g/60855 to dalvik-dev.

Merge commit '22f1e3d4fae7d45cc439da94690d786ed44756fb' into gingerbread-plus-aosp

* commit '22f1e3d4fae7d45cc439da94690d786ed44756fb':
  Apply https://android-git.corp.google.com/g/60855 to dalvik-dev.

13 years agoam a7161902: linker: fix overwriting the real linker error string
Dima Zavin [Wed, 18 Aug 2010 20:35:40 +0000 (13:35 -0700)]
am a7161902: linker: fix overwriting the real linker error string

Merge commit 'a716190241da07f42cf874b04bf044261f36381c' into gingerbread-plus-aosp

* commit 'a716190241da07f42cf874b04bf044261f36381c':
  linker: fix overwriting the real linker error string

13 years agoRevert "added missing ether_aton and ether_ntoa"
Jean-Baptiste Queru [Wed, 18 Aug 2010 18:15:39 +0000 (11:15 -0700)]
Revert "added missing ether_aton and ether_ntoa"

This reverts commit 4032c1e2dfcc99613fe3e509a8153191e35aec12.

13 years agoApply https://android-git.corp.google.com/g/60855 to dalvik-dev.
Brian Carlstrom [Wed, 18 Aug 2010 07:33:52 +0000 (00:33 -0700)]
Apply https://android-git.corp.google.com/g/60855 to dalvik-dev.

(We've been missing the zoneinfo.* files for the host dalvikvm. My fix for
gingerbread will have to wait for someone to return from vacation, but I can
commit here in advance, and I need to so that I can submit
https://android-git.corp.google.com/g/60790 which -- amongst other things --
makes lack of time zone data a hard failure, rather than just silently
pretending all time zones are UTC.)

Bug: 2870945

git cherry-pick --no-commit 18a859aff4e1b97d644429b7ecdb366b18d5a708

Change-Id: I66647e824c5fee9b8d2c63085e2a58e5910a5544

13 years agolinker: fix overwriting the real linker error string
Dima Zavin [Tue, 17 Aug 2010 22:56:40 +0000 (15:56 -0700)]
linker: fix overwriting the real linker error string

Change-Id: Ia9165fd9aa1951b2bb81d0ac8f5bb3057aded8bd
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoam 52e7d3d9: Bulletproof leak dump against null hash entries
Christopher Tate [Tue, 10 Aug 2010 02:53:32 +0000 (19:53 -0700)]
am 52e7d3d9: Bulletproof leak dump against null hash entries

Merge commit '52e7d3d91ab6a5bab77c5dfb1ed47381fd52f9ba' into gingerbread-plus-aosp

* commit '52e7d3d91ab6a5bab77c5dfb1ed47381fd52f9ba':
  Bulletproof leak dump against null hash entries

13 years agoBulletproof leak dump against null hash entries
Christopher Tate [Mon, 9 Aug 2010 20:43:46 +0000 (13:43 -0700)]
Bulletproof leak dump against null hash entries

Previously, the malloc leak checking code would crash in qsort()
if null entries existed in its bookkeeping table.  This change
makes the comparison function detect null entries and sort them
to the end safely.

Change-Id: I88244a7df1e289dd9d7992ce29606d505bd63079

13 years agobionic: Rename _ARM_HAVE_LDREX_STREX to __ARM_HAVE_LDREX_STREX for consistency
Jim Huang [Sun, 8 Aug 2010 21:35:11 +0000 (05:35 +0800)]
bionic: Rename _ARM_HAVE_LDREX_STREX to __ARM_HAVE_LDREX_STREX for consistency

The patch follows the naming manner in existing macros with prefix
__ARM_HAVE.

Change-Id: I6763ce2bf3ee85fd1da112c719543061d8d19bf4

13 years agoam 18c5bcc6: Revert "Set SA_RESTORER in sigaction()"
Dima Zavin [Fri, 30 Jul 2010 21:19:08 +0000 (14:19 -0700)]
am 18c5bcc6: Revert "Set SA_RESTORER in sigaction()"

Merge commit '18c5bcc66a9a7b2178dcdcf04a0716958798ab81' into gingerbread-plus-aosp

* commit '18c5bcc66a9a7b2178dcdcf04a0716958798ab81':
  Revert "Set SA_RESTORER in sigaction()"

13 years agoRevert "Set SA_RESTORER in sigaction()"
Dima Zavin [Fri, 30 Jul 2010 02:12:04 +0000 (19:12 -0700)]
Revert "Set SA_RESTORER in sigaction()"

This reverts commit e4fa46e75cd0d433b5c6c064720ed7e195cba7c8.

13 years agoam 7ed132a1: bionic: update processed kernel header msm_camera.h
Wu-cheng Li [Tue, 27 Jul 2010 21:33:18 +0000 (14:33 -0700)]
am 7ed132a1: bionic: update processed kernel header msm_camera.h

Merge commit '7ed132a1ae6e00593918090a964f5d5b09d77f84' into gingerbread-plus-aosp

* commit '7ed132a1ae6e00593918090a964f5d5b09d77f84':
  bionic: update processed kernel header msm_camera.h

13 years agobionic: update processed kernel header msm_camera.h
Wu-cheng Li [Tue, 27 Jul 2010 21:26:21 +0000 (14:26 -0700)]
bionic: update processed kernel header msm_camera.h

Change-Id: If66422d538d0fb0c6ae8a7399c62911635d1fd13

13 years agoam cd7014fd: Update time zone data to the new version 2010k.
Eric Fischer [Tue, 27 Jul 2010 00:17:27 +0000 (17:17 -0700)]
am cd7014fd: Update time zone data to the new version 2010k.

Merge commit 'cd7014fd0634f1337fc3857f1c61e0d39443c4be' into gingerbread-plus-aosp

* commit 'cd7014fd0634f1337fc3857f1c61e0d39443c4be':
  Update time zone data to the new version 2010k.

13 years agoUpdate time zone data to the new version 2010k.
Eric Fischer [Mon, 26 Jul 2010 22:53:24 +0000 (15:53 -0700)]
Update time zone data to the new version 2010k.

Change-Id: If657e1783e3f96c52bfe613bad027482d8373c67