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
Chris Dearman
db4bce0549
Use MAP_FIXED when allocating prelinked shared library regions
...
Prelinked libraries must be mapped to a fixed address. MAP_FIXED is ignored
for non-prelinked libraries (si->base==0)
Signed-off-by: Raghu Gandham <raghu@mips.com>
2011-03-10 10:48:14 -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
Mattias Falk
3a4910c616
Use system property to set dns cache size
...
Use system property ro.net.dns_cache_size to set
the size of the cache. If the system property
is not set the default cache size is defined by
CONFIG_MAX_ENTRIES.
The number of entries in the hash table will be equal
to the number of max entries allowed in the cache.
Change-Id: I77d69d7c178937fa483d0b40512483ad29232d28
2011-02-14 12:41:11 +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
Bruce Beare
f6ccc15457
move some typedefs to procfs.h required by gdbserver build
...
Change-Id: I51fba4ceb80b63e583f462a2a00f3f658c7cdd36
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2011-02-03 12:21:02 -08:00
Johannes Carlsson
0f67de14e6
Use more optimized version of memmove
...
On ARM there is currently no assembler optimized memmove in libc.
There is however a more optimized bcopy which copies long instead
of bytes where possible. This almost doubles the performance in
best case.
Change-Id: I1f1cd27529443358047c385730deaf938ce4e642
2011-02-03 15:17:13 +01:00
Brad Fitzpatrick
9a33051289
Merge "Add time-to-live (TTL) support to resolver cache"
2011-02-02 14:55:20 -08:00
Mattias Falk
3e0c5102e6
Add time-to-live (TTL) support to resolver cache
...
Use the the TTL of the answer as the time a query
shall remain in the resolver cache.
Added some debugging support as well, i.e.
parse answer and print a la dig.
Change-Id: I724d3392245032592f1912f3ca7a81a8987ebbac
2011-02-02 16:40:01 +01:00
David 'Digit' Turner
59290f4c88
am 8e2ff164
: libm: Add nanf() and tgammaf() implementations.
...
* commit '8e2ff164cc327aad8666333a1d75f86291858da0':
libm: Add nanf() and tgammaf() implementations.
2011-01-26 05:34:40 -08:00
Brad Fitzpatrick
90da07a882
am d05446b3
: am 7a2e1a02
: Merge "Don\'t proxy getaddrinfo when net.dns1.[MYPID] is set."
...
* commit 'd05446b34e416d89261a31452afee10eb12bb71d':
Don't proxy getaddrinfo when net.dns1.[MYPID] is set.
2011-01-25 16:14:11 -08:00
Brad Fitzpatrick
901f24b988
resolved conflicts for merge of ff242869
to honeycomb-plus-aosp
...
Change-Id: I560f07374589a844bdf611da8ec5e358dc451ba4
2011-01-25 16:11:42 -08:00
Brad Fitzpatrick
d05446b34e
am 7a2e1a02
: Merge "Don\'t proxy getaddrinfo when net.dns1.[MYPID] is set."
...
* commit '7a2e1a0245f5645661fdbc6887c2bc7c7f49e0ee':
Don't proxy getaddrinfo when net.dns1.[MYPID] is set.
2011-01-25 15:41:28 -08:00
Brad Fitzpatrick
ff24286911
am 0ec85334
: Merge "DNS proxy: the start. proxies getaddrinfo calls."
...
* commit '0ec85334ff375a2b7823f322e083d4a0ea24c289':
DNS proxy: the start. proxies getaddrinfo calls.
2011-01-25 15:41:21 -08:00
Brad Fitzpatrick
7a2e1a0245
Merge "Don't proxy getaddrinfo when net.dns1.[MYPID] is set."
2011-01-25 15:09:13 -08:00
Brad Fitzpatrick
0ec85334ff
Merge "DNS proxy: the start. proxies getaddrinfo calls."
2011-01-25 15:09:09 -08:00
David 'Digit' Turner
8e2ff164cc
libm: Add nanf() and tgammaf() implementations.
...
Requested by b/3370708 to export these through RenderScript.
Change-Id: I1ae69f87a1ad4765b2dee8e4a6f2f3a6eb7c5ad4
2011-01-25 17:07:26 +01:00
David Turner
f03e2d3f31
am 5d45fa40
: am 2081fda6
: Merge "Only look up A records if the system has IPv4." into gingerbread
...
* commit '5d45fa4049d9ba03c0d922ece18d1d2dda119dc7':
Only look up A records if the system has IPv4.
2011-01-21 15:50:23 -08:00
tedbo
ccd547800a
am b67c1bac
: Fix bug in linker environment variable lookup.
...
* commit 'b67c1bacd0fc27c26cc3ec19bd2c9ded19cecd08':
Fix bug in linker environment variable lookup.
2011-01-21 13:10:24 -08:00
Colin Cross
84f4753d1b
am 56faf66f
: raise: Send signal to current thread
...
* commit '56faf66fd7a90ea11835f8f0c9a7d6d8b350a09d':
raise: Send signal to current thread
2011-01-21 12:36:31 -08:00
tedbo
b67c1bacd0
Fix bug in linker environment variable lookup.
...
The linker_env_get() method that is used to match an environment
variable was failing due to an incorrect equality check.
This was introduced in git change
be5755969d
.
The bug was causing the linker to ignore environment variables such
as LD_LIBRARY_PATH. This issue also affects the linker_env_secure()
path that removes unsafe environment variables, since it would
not match any in the unsecure variable list.
Change-Id: I14228df9252010e9fb4c1862bed5735f23e97aec
2011-01-21 21:15:08 +01:00
Colin Cross
56faf66fd7
raise: Send signal to current thread
...
Change-Id: Ie4318b8ddd01cc2f58f5e07c1d71376953943153
2011-01-21 11:39:15 -08:00
David Turner
5d45fa4049
am 2081fda6
: Merge "Only look up A records if the system has IPv4." into gingerbread
...
* commit '2081fda69a68505c914324797400b1b798516904':
Only look up A records if the system has IPv4.
2011-01-18 17:34:33 -08:00
David Turner
2081fda69a
Merge "Only look up A records if the system has IPv4." into gingerbread
2011-01-18 17:32:02 -08:00
Steinar H. Gunderson
76b6f084ab
am 2be18508
: am 2e23e292
: Backport (simple cherry-pick) d33019030c
to gingerbread.
...
* commit '2be18508f349b74b60b09e1b1118d879afb5928c':
Backport (simple cherry-pick) d33019030c
to gingerbread.
2011-01-17 12:19:01 -08:00
Steinar H. Gunderson
8217a9414f
am 4eb4c932
: am f4dca7be
: Backport (simple cherry-pick) 64b6c43379
to gingerbread.
...
* commit '4eb4c932dccdca663a651630fed14c760ea1e88c':
Backport (simple cherry-pick) 64b6c43379
to gingerbread.
2011-01-17 12:18:59 -08:00