OSDN Git Service

android-x86/bionic.git
13 years agoMerge "android-x86: use proper variable typing"
David Turner [Fri, 31 Dec 2010 10:35:25 +0000 (02:35 -0800)]
Merge "android-x86: use proper variable typing"

13 years agoMerge "Use __asm__ instead of asm in public libc headers"
David Turner [Fri, 31 Dec 2010 10:30:33 +0000 (02:30 -0800)]
Merge "Use __asm__ instead of asm in public libc headers"

13 years agoMerge "android-x86: add sigsetjmp.S"
Jean-Baptiste Queru [Wed, 29 Dec 2010 19:01:23 +0000 (11:01 -0800)]
Merge "android-x86: add sigsetjmp.S"

13 years agoMerge "Replace all occurrances of asm with __asm__ in the output headers"
Jean-Baptiste Queru [Tue, 28 Dec 2010 19:10:31 +0000 (11:10 -0800)]
Merge "Replace all occurrances of asm with __asm__ in the output headers"

13 years agoandroid-x86: add sigsetjmp.S
Chih-Wei Huang [Tue, 14 Dec 2010 09:55:23 +0000 (17:55 +0800)]
android-x86: add sigsetjmp.S

It adds two functions sigsetjmp and siglongjmp
that fix compiling errors in bluetooth and mksh.

Copy directly from sigsetjmp.S of OpenBSD.

Change-Id: I4696f82ee6f85d1c93cbdd3c9e40f4917d50f3a6

13 years agoandroid-x86: use proper variable typing
Chih-Wei Huang [Tue, 14 Dec 2010 08:46:12 +0000 (16:46 +0800)]
android-x86: use proper variable typing

Change-Id: Iff99932acd2f6cb482fc5da9ff586d7ab2a8b209

13 years agoMerge "Add a method for replacing tokens in the preprocessed headers"
David Turner [Mon, 20 Dec 2010 10:43:26 +0000 (02:43 -0800)]
Merge "Add a method for replacing tokens in the preprocessed headers"

13 years agoam a9e5bbfd: Merge "Support usage of __ARM_HAVE_LDREX_STREX"
Jean-Baptiste Queru [Wed, 15 Dec 2010 17:29:06 +0000 (09:29 -0800)]
am a9e5bbfd: Merge "Support usage of __ARM_HAVE_LDREX_STREX"

* commit 'a9e5bbfd3d321bf52226d3fd57ed390925ab6a3d':
  Support usage of __ARM_HAVE_LDREX_STREX

13 years agoMerge "Support usage of __ARM_HAVE_LDREX_STREX"
Jean-Baptiste Queru [Wed, 15 Dec 2010 17:21:34 +0000 (09:21 -0800)]
Merge "Support usage of __ARM_HAVE_LDREX_STREX"

13 years agoam 9691ecc9: Merge "Remove extra/unneeded copy of fenv.h"
David Turner [Tue, 14 Dec 2010 15:19:17 +0000 (07:19 -0800)]
am 9691ecc9: Merge "Remove extra/unneeded copy of fenv.h"

* commit '9691ecc9a768e7e08cb6af0b454029195ffc285f':
  Remove extra/unneeded copy of fenv.h

13 years agoMerge "Remove extra/unneeded copy of fenv.h"
David Turner [Tue, 14 Dec 2010 15:09:35 +0000 (07:09 -0800)]
Merge "Remove extra/unneeded copy of fenv.h"

13 years agoReplace all occurrances of asm with __asm__ in the output headers
Martin Storsjo [Wed, 8 Dec 2010 10:39:05 +0000 (11:39 +0100)]
Replace all occurrances of asm with __asm__ in the output headers

asm() conflicts with userland code compiled with -std=c99, the userland
libc should only use __asm__() instead. Therefore, this transformation
has to be applied to all exported headers.

This only changes arch-arm/asm/byteorder.h.

Change-Id: I1cf88c37201c3a91668d387293a18885c316d53c

13 years agoAdd a method for replacing tokens in the preprocessed headers
Martin Storsjo [Wed, 8 Dec 2010 10:38:14 +0000 (11:38 +0100)]
Add a method for replacing tokens in the preprocessed headers

Change-Id: I14cf6337945560b012732ae0fe7a247074810678

13 years agoUse __asm__ instead of asm in public libc headers
Martin Storsjo [Wed, 8 Dec 2010 08:33:51 +0000 (09:33 +0100)]
Use __asm__ instead of asm in public libc headers

If compiling userland code with -std=c99, the current header produces an
error. The content of this header originally is a kernel internal header,
where asm() is acceptable. In a header visible to userland, this should be
__asm__ instead.

Change-Id: I4d3188dd96f7836148ca89f5053d0389dd459d6e

13 years agoam 4efbf95d: Merge "Use proper variable typing"
David Turner [Tue, 7 Dec 2010 14:38:26 +0000 (06:38 -0800)]
am 4efbf95d: Merge "Use proper variable typing"

* commit '4efbf95d8c88a3a203d687d9048b51e256ef3641':
  Use proper variable typing

13 years agoMerge "Use proper variable typing"
David Turner [Tue, 7 Dec 2010 14:27:23 +0000 (06:27 -0800)]
Merge "Use proper variable typing"

13 years agoam 8e6435ea: Merge "Add defines for CAIF support"
David Turner [Mon, 6 Dec 2010 21:31:43 +0000 (13:31 -0800)]
am 8e6435ea: Merge "Add defines for CAIF support"

* commit '8e6435ead5b118f1fd458d4acbdd0bf86754ab1b':
  Add defines for CAIF support

13 years agoMerge "Add defines for CAIF support"
David Turner [Mon, 6 Dec 2010 21:18:37 +0000 (13:18 -0800)]
Merge "Add defines for CAIF support"

13 years agoam bcb0a925: Merge "sigsetmask.c was not processing the "mask" argument."
Jean-Baptiste Queru [Mon, 6 Dec 2010 18:55:14 +0000 (10:55 -0800)]
am bcb0a925: Merge "sigsetmask.c was not processing the "mask" argument."

* commit 'bcb0a925b0d6d545bbd9a4ebd9ac61bdacbfa2fe':
  sigsetmask.c was not processing the "mask" argument.

13 years agoMerge "sigsetmask.c was not processing the "mask" argument."
Jean-Baptiste Queru [Mon, 6 Dec 2010 18:42:08 +0000 (10:42 -0800)]
Merge "sigsetmask.c was not processing the "mask" argument."

13 years agosigsetmask.c was not processing the "mask" argument.
Bruce Beare [Sat, 4 Dec 2010 00:48:47 +0000 (16:48 -0800)]
sigsetmask.c was not processing the "mask" argument.

Change-Id: I79b898ea5b882e8c0564e25466e827a9bedda6e8
Author: yhe19 <yunan.he@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoAdd defines for CAIF support
Bruce Beare [Sat, 4 Dec 2010 00:14:59 +0000 (16:14 -0800)]
Add defines for CAIF support

Change-Id: I32d2e02814f1965ebdcecb804e947ff303dbe230
Author: Mark Gross <mark.gross@intel.com>
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
13 years agoresolved conflicts for merge of 1bc98ccb to gingerbread-plus-aosp
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

13 years agoMerge "bionic: Add ARM optimized strcpy()"
Jean-Baptiste Queru [Mon, 22 Nov 2010 21:02:25 +0000 (13:02 -0800)]
Merge "bionic: Add ARM optimized strcpy()"

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

13 years agoam ea0fe856: Merge "Bionic: Aliasing problems with frexpf"
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

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

13 years agoBionic: 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>
13 years agoam 7bbd4580: Add pn544.h clean kernel header
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

13 years agoAdd 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>
13 years agoam 96c03c7d: Merge "Remove duplicated _rand48 implementation. Use stdlib version...
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

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

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

13 years agoam 1df986c2: libc: fix executable destruction support.
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.

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

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

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 "resolv: make internal symbols static/hidden"
Jean-Baptiste Queru [Thu, 21 Oct 2010 01:55:52 +0000 (18:55 -0700)]
Merge "resolv: make internal symbols static/hidden"

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 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 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 agoresolv: make internal symbols static/hidden
Jim Huang [Thu, 14 Oct 2010 18:02:57 +0000 (02:02 +0800)]
resolv: make internal symbols static/hidden

Change-Id: I988b83613e6252c0cc961555e81c10f856a38b37

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 agoRemove extra/unneeded copy of fenv.h
Bruce Beare [Mon, 11 Oct 2010 19:01:14 +0000 (12:01 -0700)]
Remove extra/unneeded copy of fenv.h

Change-Id: I80da2521c50df7e8967af48164cc834abf499c50
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoUse proper variable typing
Bruce Beare [Mon, 11 Oct 2010 19:08:07 +0000 (12:08 -0700)]
Use proper variable typing

Change-Id: If5c33d90b33f538448ac12e7bee94b4b9173d39c
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
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