David Turner
aad685ce00
am 4c090434
: Merge "removing shadowing redeclaration of result"
...
* commit '4c090434a4fcffb3a8bb7ebee7cc6e52befceeae':
removing shadowing redeclaration of result
2011-04-05 07:35:09 -07:00
David Turner
2b10d912cc
am fcee105b
: Merge "x86 libc: fix the wrong return value of syscall"
...
* commit 'fcee105b2baca9eb338e89ecc9ba99e15dd31e78':
x86 libc: fix the wrong return value of syscall
2011-04-05 07:35:07 -07:00
David Turner
4c090434a4
Merge "removing shadowing redeclaration of result"
2011-04-05 07:14:28 -07:00
David Turner
fcee105b2b
Merge "x86 libc: fix the wrong return value of syscall"
2011-04-05 06:58:54 -07:00
Kan-Ru Chen
8488efaa09
x86 libc: fix the wrong return value of syscall
...
According to Intel ABI spec, there is no need to save %eax, %ecx, %edx
on the stack. Worse, popping %eax will wipe out the return value.
Change-Id: Ida536c3b98174b8deef88f8f3b9352eaaeb7c0c0
2011-03-29 13:16:42 +08:00
David 'Digit' Turner
8c6b848e43
am 0e47a919
: Merge "libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++"
...
* commit '0e47a919f413ff14a540a0dbad873ee8f834b210':
libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++
2011-03-25 08:51:56 -07:00
David 'Digit' Turner
0e47a919f4
Merge "libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++"
2011-03-25 08:39:37 -07:00
Christopher Schwardt
0f5587097b
removing shadowing redeclaration of result
...
Change-Id: Ic1f86962dfb8620cf5c63ff4913b2f0bf908abb5
2011-03-22 15:35:40 +01:00
David 'Digit' Turner
8eda21baa5
libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++
...
See http://code.google.com/p/android/issues/detail?id=14627 for context.
Change-Id: Idb10b675667d0d6e64dcb1d382be11e45aa6f4c4
2011-03-22 14:22:32 +01:00
Brad Fitzpatrick
c59b248241
am 5a6f593b
: Merge "Use sigemptyset to initialise sigset_t values. sigset_t may not be implemented as an integral type."
...
* commit '5a6f593b6197b96f980d9d45f9a981ef8705caf4':
Use sigemptyset to initialise sigset_t values. sigset_t may not be implemented as an integral type.
2011-03-16 11:41:24 -07:00
Brad Fitzpatrick
5a6f593b61
Merge "Use sigemptyset to initialise sigset_t values. sigset_t may not be implemented as an integral type."
2011-03-16 11:15:37 -07:00
Mike Lockwood
c8fe4add6d
am 3f14ff34
: DO NOT MERGE: Update USB accessory kernel header to include serial number support
...
* commit '3f14ff34dfbd00fcffb18b10a1a3e17e2cc5ebdf':
DO NOT MERGE: Update USB accessory kernel header to include serial number support
2011-03-15 14:49:22 -07:00
Mike Lockwood
3f14ff34df
DO NOT MERGE: Update USB accessory kernel header to include serial number support
...
Change-Id: I61d889b107bd5e052ebac393883b87dac730ea6a
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-14 19:16:28 -04:00
Mike Lockwood
78befc1211
am 6139fa33
: DO NOT MERGE: linux/usb/f_accessory.h: Update USB accessory kernel header
...
* commit '6139fa33ab823e935471fa71bba4c6f715ad6c56':
DO NOT MERGE: linux/usb/f_accessory.h: Update USB accessory kernel header
2011-03-14 13:35:03 -07:00
Chris Dearman
c1519a52ef
Use sigemptyset to initialise sigset_t values.
...
sigset_t may not be implemented as an integral type.
Change-Id: I3f5ec86d6383685979d8d23ef508b6c609569b38
Signed-off-by: Raghu Gandham <raghu@mips.com>
2011-03-14 12:15:22 -07:00
Brad Fitzpatrick
08a4ce983b
am 0c398985
: Merge "[ENDIAN] Build md5 code correctly for bigendian targets"
...
* commit '0c3989854fa3ea3ffb4152c013f68f2a21a52dc1':
[ENDIAN] Build md5 code correctly for bigendian targets
2011-03-14 10:52:05 -07:00
Brad Fitzpatrick
0c3989854f
Merge "[ENDIAN] Build md5 code correctly for bigendian targets"
2011-03-14 10:39:10 -07:00
Mike Lockwood
6139fa33ab
DO NOT MERGE: linux/usb/f_accessory.h: Update USB accessory kernel header
...
For bugs b/4079236, b/4073248 and b/4080288
Change-Id: Id9cdbe95d7dd892bf38e16e7da505ee0eae26b99
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-11 19:02:16 -05:00
David 'Digit' Turner
638608b11a
am da8ea213
: Merge "libc: <stdint.h>: Don\'t make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined."
...
* commit 'da8ea213abb8bec08da37622179061630bd8e2f8':
libc: <stdint.h>: Don't make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined.
2011-03-11 11:13:45 -08:00
David 'Digit' Turner
b299039d06
am e6e2ba1d
: Merge "libc: <pthread.h>: Replace \'#if __cplusplus\' by \'#ifdef __cplusplus\'"
...
* commit 'e6e2ba1d40241c85de16d75cbd397cc3670d7535':
libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus'
2011-03-11 11:12:11 -08:00
David 'Digit' Turner
da8ea213ab
Merge "libc: <stdint.h>: Don't make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined."
2011-03-11 09:32:33 -08:00
David 'Digit' Turner
e6e2ba1d40
Merge "libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus'"
2011-03-11 09:31:57 -08:00
David 'Digit' Turner
847b183f63
libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus'
...
See http://code.google.com/p/android/issues/detail?id=15221
Change-Id: Ia7b6668c28737810d6c4941604c6adf232a27c61
2011-03-11 14:51:19 +01:00
David 'Digit' Turner
8b3cea6732
libc: <stdint.h>: Don't make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined.
...
Change-Id: I8b0ea266eab9c6f75d8407b704953ecaef948221
2011-03-11 14:39:05 +01:00
David 'Digit' Turner
0d6bbc7af0
am dfe6eda5
: Merge "libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition"
...
* commit 'dfe6eda57e1e463427f941d5d71f8ccb5297d6d2':
libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition
2011-03-10 12:14:51 -08:00
David 'Digit' Turner
0b73dac8aa
am d6722bdd
: Merge "libc: <stdint.h>: Proper C++"
...
* commit 'd6722bdd201e2747c55ec7255db7f1d5864ccdd3':
libc: <stdint.h>: Proper C++
2011-03-10 12:11:41 -08:00
David 'Digit' Turner
dfe6eda57e
Merge "libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition"
2011-03-10 11:35:58 -08:00
David 'Digit' Turner
0e5411b4ba
libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition
...
Change-Id: I3c74269901a288c448734dd7eb442a62b9348db8
2011-03-10 20:35:17 +01:00
Paul Lind
865e3789dd
[ENDIAN] Build md5 code correctly for bigendian targets
...
Signed-off-by: Raghu Gandham <raghu@mips.com>
2011-03-10 11:13:50 -08:00
David 'Digit' Turner
d6722bdd20
Merge "libc: <stdint.h>: Proper C++"
2011-03-10 11:01:24 -08:00
David 'Digit' Turner
08ff1a6474
libc: <stdint.h>: Proper C++
...
This patch prevents the definition of various macros when <stdint.h> is
included from C++. The ISO C99 standard mentions that when this header
is included from a C++ source file, limit and constant related macros
should only be defined when asked explicitely by defining
__STDC_LIMIT_MACROS and __STD_CONSTANT_MACROS, respectively.
The <stdint.h> lacked the proper #ifdef .. #endif blocks for the
following macros:
INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX, PTRDIFF_MIN, PTRDIFF_MAX
INTMAX_MIN, INTMAX_MAX, UINTMAX_MAX,
INPTR_C, UINTPR_C, PTRDIFF_C, INTMAX_C, UINTMAX_C
This is intended to fix http://code.google.com/p/android/issues/detail?id=14380
after we copy this file to development/ndk/platforms/android-3/include/
Change-Id: Ia77e0822edfaaf568ea599d7de673b310eeeaa4a
2011-03-10 18:02:01 +01:00
David 'Digit' Turner
962dcb2221
am fed58049
: Merge "libc: Fix PTHREAD_RWLOCK_INITIALIZER"
...
* commit 'fed58049d50083e4c960d89f4bbd516a181c2d18':
libc: Fix PTHREAD_RWLOCK_INITIALIZER
Proxy getnameinfo through netd
Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list
Convert cname lenght before use
2011-03-10 01:51:19 -08:00
David 'Digit' Turner
fed58049d5
Merge "libc: Fix PTHREAD_RWLOCK_INITIALIZER"
2011-03-10 01:26:26 -08:00
David 'Digit' Turner
ca4462d76c
libc: Fix PTHREAD_RWLOCK_INITIALIZER
...
The macro definition was incorrect and resulted in a compile error
when used.
Fixes http://code.google.com/p/android/issues/detail?id=15306
Change-Id: I8fa6047b63e7f56b53653774327099822c469cd1
2011-03-10 10:23:44 +01:00
Mike Lockwood
2703b7046c
am 6bd73ed4
: Add linux/usb/f_accessory.h header for USB accessory driver DO NOT MERGE
...
* commit '6bd73ed417c52ed57d5f62ea9988b6071a1efbeb':
Add linux/usb/f_accessory.h header for USB accessory driver DO NOT MERGE
2011-03-09 13:31:58 -08:00
Brad Fitzpatrick
1ed86fa491
Merge "Proxy getnameinfo through netd"
2011-02-22 07:18:56 -08:00
David Turner
5d90cb30f4
Merge "Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list"
2011-02-22 07:05:32 -08:00
Mattias Falk
149f7dfe04
Proxy getnameinfo through netd
...
Proxy the parts of getnameinfo that utilize
the dns cache through netd.
Change-Id: I1d57c451ea6b179c34828cf57a4182b262674003
2011-02-22 08:22:16 +01:00
Mike Lockwood
6bd73ed417
Add linux/usb/f_accessory.h header for USB accessory driver DO NOT MERGE
...
Change-Id: I972d28065ee7e77e93699512310fcd6d5742ed0d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-21 12:35:22 -05:00
David Turner
aac93c2370
Merge "Convert cname lenght before use"
2011-02-16 18:58:45 -08:00
Bruce Beare
48e1feaa9d
Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list
...
Change-Id: Ia840a19a45257128eccdcf25d105f500f2d90741
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2011-02-16 17:50:23 -08:00
Mattias Falk
066ecc8f4a
Convert cname lenght before use
...
The length of the cname is sent in big-endian
order. Thus, it has to be converted before used
in android_getaddrinfo_proxy
Change-Id: I1a0cc12780c47f7493fcf06f690515829f88c01e
2011-02-15 08:44:20 +01:00
Jean-Baptiste Queru
69d6c2ccd9
Merge "Update"
2011-02-11 12:17:21 -08:00
Dmitry Shmidt
a3db183abe
Update
...
Change-Id: I41f590dec6bfd26c36cf01601cf03502d02d29af
2011-02-11 11:49:37 -08:00
David Turner
76299d196f
Merge "Remove an extra register move."
2011-02-06 15:01:57 -08:00
David Turner
8db7bcb14f
Merge "Replace __atomic_XXX with GCC __sync_XXX intrinsics."
2011-02-06 15:01:39 -08:00
David Turner
1447332ffa
Merge "move some typedefs to procfs.h required by gdbserver build"
2011-02-06 15:01:02 -08:00
David Turner
2282ecc295
Merge "Use more optimized version of memmove"
2011-02-04 05:13:35 -08:00
Bruce Beare
f4680b57ed
Remove an extra register move.
...
Change-Id: I63c217b73203b44b1a2e74950b58f2ec12989cab
Author: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2011-02-03 12:21:04 -08:00
Bruce Beare
0f2001b147
Replace __atomic_XXX with GCC __sync_XXX intrinsics.
...
Change-Id: I14f275392fcd70cc15e307470e0a099777c7c09e
Author: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2011-02-03 12:21:03 -08:00