OSDN Git Service

android-x86/bionic.git
13 years agoam 001a3218: am 4afe0f47: Merge "time64: make helper functions static"
Jean-Baptiste Queru [Thu, 21 Oct 2010 20:48:17 +0000 (13:48 -0700)]
am 001a3218: am 4afe0f47: Merge "time64: make helper functions static"

Merge commit '001a321897d0f053b87799dafe17a39036b72470'

* commit '001a321897d0f053b87799dafe17a39036b72470':
  time64: make helper functions static

13 years agoam 6ac5660e: am ade2a929: Merge "bionic: stubs: Make internal symbol static"
Jean-Baptiste Queru [Thu, 21 Oct 2010 20:48:14 +0000 (13:48 -0700)]
am 6ac5660e: am ade2a929: Merge "bionic: stubs: Make internal symbol static"

Merge commit '6ac5660e1c8fc9934d11ed675771063624ac1b4b'

* commit '6ac5660e1c8fc9934d11ed675771063624ac1b4b':
  bionic: stubs: Make internal symbol static

13 years agoam 1203671b: am 2215c113: Merge "pthread-timers: Hide internal symbol __timer_table_s...
Jean-Baptiste Queru [Thu, 21 Oct 2010 20:48:11 +0000 (13:48 -0700)]
am 1203671b: am 2215c113: Merge "pthread-timers: Hide internal symbol __timer_table_start_stop"

Merge commit '1203671b47246efd20279a39ab9bd7ea934ae8dc'

* commit '1203671b47246efd20279a39ab9bd7ea934ae8dc':
  pthread-timers: Hide internal symbol __timer_table_start_stop

13 years agoam 958214aa: am 8ad63d74: Merge "stdlib: strtod: Hide internal symbol __dtoa"
Jean-Baptiste Queru [Thu, 21 Oct 2010 16:54:49 +0000 (09:54 -0700)]
am 958214aa: am 8ad63d74: Merge "stdlib: strtod: Hide internal symbol __dtoa"

Merge commit '958214aa998d9378e7d70c7c08ffab4c5f9d3fde'

* commit '958214aa998d9378e7d70c7c08ffab4c5f9d3fde':
  stdlib: strtod: Hide internal symbol __dtoa

13 years agoam 1a6939d2: am 1e0a4e18: Merge "stdio: make internal symbols static/hidden"
Jean-Baptiste Queru [Thu, 21 Oct 2010 16:54:41 +0000 (09:54 -0700)]
am 1a6939d2: am 1e0a4e18: Merge "stdio: make internal symbols static/hidden"

Merge commit '1a6939d27b1cc53d506d6583fa2bc2d90c9c7fc4'

* commit '1a6939d27b1cc53d506d6583fa2bc2d90c9c7fc4':
  stdio: make internal symbols static/hidden

13 years agoam bcd94044: am 847223de: Merge "__set_errno: Hide internal symbol __set_syscall_errno"
Jean-Baptiste Queru [Thu, 21 Oct 2010 16:54:38 +0000 (09:54 -0700)]
am bcd94044: am 847223de: Merge "__set_errno: Hide internal symbol __set_syscall_errno"

Merge commit 'bcd940444513a24268d5f9c9a6186274cf09c8dd'

* commit 'bcd940444513a24268d5f9c9a6186274cf09c8dd':
  __set_errno: Hide internal symbol __set_syscall_errno

13 years agoam d29b8a51: am 5109146f: Merge "Reconcile assembly-only macros in <machine/cpu-featu...
Jean-Baptiste Queru [Thu, 21 Oct 2010 16:54:30 +0000 (09:54 -0700)]
am d29b8a51: am 5109146f: Merge "Reconcile assembly-only macros in <machine/cpu-features.h>"

Merge commit 'd29b8a51a5f95a3f38e5fb812231e12e5a66a865'

* commit 'd29b8a51a5f95a3f38e5fb812231e12e5a66a865':
  Reconcile assembly-only macros in <machine/cpu-features.h>

13 years agoam 4afe0f47: Merge "time64: make helper functions static"
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

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 "time64: make helper functions static"
Jean-Baptiste Queru [Thu, 21 Oct 2010 01:54:17 +0000 (18:54 -0700)]
Merge "time64: make helper functions static"

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 agoMerge "Clean up NOTICE files."
Jean-Baptiste Queru [Tue, 19 Oct 2010 23:46:44 +0000 (16:46 -0700)]
Merge "Clean up NOTICE files."

13 years agobionic: update preprocessed kernel header tegra_audio.h
Iliyan Malchev [Tue, 19 Oct 2010 22:23:42 +0000 (15:23 -0700)]
bionic: update preprocessed kernel header tegra_audio.h

Change-Id: I07fe566e3ec86be5d017e96cc37fa83d2e0a4eb8
Signed-off-by: Iliyan Malchev <malchev@google.com>
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 agoClean up NOTICE files.
David Deephanphongs [Tue, 19 Oct 2010 22:12:40 +0000 (15:12 -0700)]
Clean up NOTICE files.

Change Copyright date in libc/NOTICE to reflect the current modifications.

Change-Id: I313d719656caaa449c1100d35dbb7d14c1489e1a

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 agoam 82775ae0: resolved conflicts for merge of 347db52a to gingerbread-plus-aosp
Jean-Baptiste Queru [Sat, 16 Oct 2010 16:43:33 +0000 (09:43 -0700)]
am 82775ae0: resolved conflicts for merge of 347db52a to gingerbread-plus-aosp

Merge commit '82775ae0acf7cac647c057c80fbcc7f13d0554d3'

* commit '82775ae0acf7cac647c057c80fbcc7f13d0554d3':
  Update ATOM string routines to latest

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 agoam 5c485373: am d3f0638a: libc: fix typo in waitid() declaration.
David 'Digit' Turner [Fri, 15 Oct 2010 07:05:36 +0000 (00:05 -0700)]
am 5c485373: am d3f0638a: libc: fix typo in waitid() declaration.

Merge commit '5c485373563c1183db2ba02ec2aca695d1c87cc8'

* commit '5c485373563c1183db2ba02ec2aca695d1c87cc8':
  libc: fix typo in waitid() declaration.

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 agotime64: make helper functions static
Jim Huang [Thu, 14 Oct 2010 18:15:54 +0000 (02:15 +0800)]
time64: make helper functions static

Change-Id: I98d9a5f736482e52904228c171a1bdefd2f5b213

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 agoMerge "Remove duplicate item"
Ying Wang [Tue, 12 Oct 2010 16:41:12 +0000 (09:41 -0700)]
Merge "Remove duplicate item"

13 years agoam ff7d9453: am f67e5211: Merge "Hide the symbol of helper function __libc_android_abort"
Jean-Baptiste Queru [Tue, 12 Oct 2010 08:45:31 +0000 (01:45 -0700)]
am ff7d9453: am f67e5211: Merge "Hide the symbol of helper function __libc_android_abort"

Merge commit 'ff7d94530db60cf4fe4a4c287ee8821ebdf6263a'

* commit 'ff7d94530db60cf4fe4a4c287ee8821ebdf6263a':
  Hide the symbol of helper function __libc_android_abort

13 years agoam d69ec35b: am 1aa6708c: Fix the build. Oops.
David 'Digit' Turner [Tue, 12 Oct 2010 08:45:28 +0000 (01:45 -0700)]
am d69ec35b: am 1aa6708c: Fix the build. Oops.

Merge commit 'd69ec35bef0d3aa11bfb55501951eed8c3042fda'

* commit 'd69ec35bef0d3aa11bfb55501951eed8c3042fda':
  Fix the build. Oops.

13 years agoam 1aeeeae1: am b8d2233e: Merge "libc: tag missing functions in system headers."...
David 'Digit' Turner [Tue, 12 Oct 2010 01:59:30 +0000 (18:59 -0700)]
am 1aeeeae1: am b8d2233e: Merge "libc: tag missing functions in system headers." into gingerbread

Merge commit '1aeeeae166920f871c1e4ecd960bb92dcaef0896'

* commit '1aeeeae166920f871c1e4ecd960bb92dcaef0896':
  libc: tag missing functions in system headers.

13 years agoam a9b706bd: am 66ad3429: Merge "gethnamaddr: make helper functions static"
Jean-Baptiste Queru [Tue, 12 Oct 2010 01:57:22 +0000 (18:57 -0700)]
am a9b706bd: am 66ad3429: Merge "gethnamaddr: make helper functions static"

Merge commit 'a9b706bd2b0814fcb45c4e8396c2bdddecb1f5de'

* commit 'a9b706bd2b0814fcb45c4e8396c2bdddecb1f5de':
  gethnamaddr: make helper functions static

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 agoam 5dce6d19: am 5b81b918: libc: optimize memmove() with memcpy() if possible.
David 'Digit' Turner [Sun, 10 Oct 2010 18:26:53 +0000 (11:26 -0700)]
am 5dce6d19: am 5b81b918: libc: optimize memmove() with memcpy() if possible.

Merge commit '5dce6d195ac2c44614351f349e00ff5d8ebbe0bf'

* commit '5dce6d195ac2c44614351f349e00ff5d8ebbe0bf':
  libc: optimize memmove() with memcpy() if possible.

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 agoRemove duplicate item
Ying Wang [Sat, 9 Oct 2010 00:09:55 +0000 (17:09 -0700)]
Remove duplicate item

This elimates the makefile warning at the beginning of each build:
libc_common_intermediates/arch-arm/syscalls/eventfd.o' given more than once in the same rule.

Change-Id: I25cc0c373d55b5036dd17811a595c097fd6ca69a

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 agoMerge "get_malloc_leak_info: Fix assumption that totalMemory out parameter was initia...
David Turner [Thu, 7 Oct 2010 09:50:39 +0000 (02:50 -0700)]
Merge "get_malloc_leak_info: Fix assumption that totalMemory out parameter was initialized to zero."

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 agobionic: update processed kernel header cpcap_audio.h
Iliyan Malchev [Thu, 7 Oct 2010 03:34:09 +0000 (20:34 -0700)]
bionic: update processed kernel header cpcap_audio.h

Change-Id: If0aef2babd70c440456fb7f3e10c3c2ec6752c6e
Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years agoget_malloc_leak_info: Fix assumption that totalMemory out parameter was initialized...
tedbo [Tue, 5 Oct 2010 20:06:06 +0000 (13:06 -0700)]
get_malloc_leak_info: Fix assumption that totalMemory out parameter was initialized to zero.

The get_malloc_leak_info() currently asssumes that the totalMemory out parameter
was pre-initialized to zero before the routine is called. If it is not then the
accumulated totalMemory value will be incorrect. It is likely that many callers
will simply allocate totalMemory on the stack with no initialization and assume
that get_malloc_leak_info will set the proper value.

As an example, the caller in frameworks/base/core/jni/android_os_Debug.cpp
calls get_malloc_leak_info() with the address uninitiazed stack variable
for totalMemory. It is probably best to fix this in get_malloc_leak_info.

Change-Id: I84c927c3781419585794726115b7d34d8fdd24ae

13 years agobionic: update processed kernel header tegra_audio.h
Iliyan Malchev [Tue, 5 Oct 2010 05:54:47 +0000 (22:54 -0700)]
bionic: update processed kernel header tegra_audio.h

Change-Id: I23d03e0f651f26a1f6c170f982891dba2a2fe20d
Signed-off-by: Iliyan Malchev <malchev@google.com>
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 0da2a8eb: am af00228b: Revert "libc: memmove(): non-overlapping block optim."
Marco Nelissen [Tue, 28 Sep 2010 20:20:45 +0000 (13:20 -0700)]
am 0da2a8eb: am af00228b: Revert "libc: memmove(): non-overlapping block optim."

Merge commit '0da2a8eb8728395867ec8a669e0aee2f243113db'

* commit '0da2a8eb8728395867ec8a669e0aee2f243113db':
  Revert "libc: memmove(): non-overlapping block optim."

13 years agoam 686af0b3: resolved conflicts for merge of defd1622 to gingerbread-plus-aosp
repo sync [Tue, 28 Sep 2010 19:48:34 +0000 (12:48 -0700)]
am 686af0b3: resolved conflicts for merge of defd1622 to gingerbread-plus-aosp

Merge commit '686af0b3a5978356be3b1a97187c765d63f11623'

* commit '686af0b3a5978356be3b1a97187c765d63f11623':
  libc: add <sys/eventfd.h> and corresponding implementations.

13 years agoam a511f245: am 9973a564: libc: Add missing waitid() implementation.
David 'Digit' Turner [Tue, 28 Sep 2010 19:48:32 +0000 (12:48 -0700)]
am a511f245: am 9973a564: libc: Add missing waitid() implementation.

Merge commit 'a511f245614d8e6c7700df624e13a41a084ad7e4'

* commit 'a511f245614d8e6c7700df624e13a41a084ad7e4':
  libc: Add missing waitid() implementation.

13 years agoam 052fbd88: am a3ae60d3: libc: Add missing fdatasync() implementation
David 'Digit' Turner [Tue, 28 Sep 2010 19:48:28 +0000 (12:48 -0700)]
am 052fbd88: am a3ae60d3: libc: Add missing fdatasync() implementation

Merge commit '052fbd88080c88b7f568612dcac7579092c2e3d9'

* commit '052fbd88080c88b7f568612dcac7579092c2e3d9':
  libc: Add missing fdatasync() implementation

13 years agoam 5b5212b4: am 307aadb8: Merge "libc: Add missing C++ guards to <pathconf.h>" into...
David 'Digit' Turner [Tue, 28 Sep 2010 19:48:25 +0000 (12:48 -0700)]
am 5b5212b4: am 307aadb8: Merge "libc: Add missing C++ guards to <pathconf.h>" into gingerbread

Merge commit '5b5212b457f7308f9d7d4011c02af71ef1cad9c4'

* commit '5b5212b457f7308f9d7d4011c02af71ef1cad9c4':
  libc: Add missing C++ guards to <pathconf.h>

13 years agoam 16922b7e: am 79260746: Merge "libc: memmove(): non-overlapping block optim." into...
David 'Digit' Turner [Tue, 28 Sep 2010 19:48:22 +0000 (12:48 -0700)]
am 16922b7e: am 79260746: Merge "libc: memmove(): non-overlapping block optim." into gingerbread

Merge commit '16922b7ebc6115e13bebed4880c6a09765410fc7'

* commit '16922b7ebc6115e13bebed4880c6a09765410fc7':
  libc: memmove(): non-overlapping block optim.

13 years agoam 5d335a1c: am 032a7135: Merge "libc: add missing O_CLOEXEC from <fcntl.h>" into...
David 'Digit' Turner [Tue, 28 Sep 2010 19:48:19 +0000 (12:48 -0700)]
am 5d335a1c: am 032a7135: Merge "libc: add missing O_CLOEXEC from <fcntl.h>" into gingerbread

Merge commit '5d335a1c6552f74e7da2c5f2d97f65eea8cb8c72'

* commit '5d335a1c6552f74e7da2c5f2d97f65eea8cb8c72':
  libc: add missing O_CLOEXEC from <fcntl.h>

13 years agoam 914528cd: am 223ddfcf: Merge "libc: Add missing pipe2() declaration and implementa...
David 'Digit' Turner [Tue, 28 Sep 2010 19:48:15 +0000 (12:48 -0700)]
am 914528cd: am 223ddfcf: Merge "libc: Add missing pipe2() declaration and implementation." into gingerbread

Merge commit '914528cdc90dced0c07055d4d986e68adc8da60c'

* commit '914528cdc90dced0c07055d4d986e68adc8da60c':
  libc: Add missing pipe2() declaration and implementation.

13 years agoam 134f31e2: am 9df22a5a: Merge "libm: remove aliasing issue." into gingerbread
David 'Digit' Turner [Tue, 28 Sep 2010 19:48:11 +0000 (12:48 -0700)]
am 134f31e2: am 9df22a5a: Merge "libm: remove aliasing issue." into gingerbread

Merge commit '134f31e234128a90ee74d76f48ca12e1bfd080e7'

* commit '134f31e234128a90ee74d76f48ca12e1bfd080e7':
  libm: remove aliasing issue.

13 years agoam 9aac3824: am bd8d987b: libc: remove C++ comments from public headers.
David 'Digit' Turner [Tue, 28 Sep 2010 19:48:07 +0000 (12:48 -0700)]
am 9aac3824: am bd8d987b: libc: remove C++ comments from public headers.

Merge commit '9aac38249b579282ae8eaa630de3deaf97c4edff'

* commit '9aac38249b579282ae8eaa630de3deaf97c4edff':
  libc: remove C++ comments from public headers.

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 8120a8df: am 3cf53d1a: Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.
Elliott Hughes [Mon, 27 Sep 2010 18:51:39 +0000 (11:51 -0700)]
am 8120a8df: am 3cf53d1a: Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.

Merge commit '8120a8df848e6dec31ef5f00bc0b41ed95ce1310'

* commit '8120a8df848e6dec31ef5f00bc0b41ed95ce1310':
  Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.

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