tedbo
ad1ff2fb26
Add mkdtemp() prototype to stdlib.h.
...
The mkdtemp() function is implemented in libc/stdio/mktemp.c but not
exposed in stdlib.h. This change adds the prototype to stdlib.h.
Change-Id: I5a98650c665d2e45b2cf6ed3382742f7bdc7c88a
2010-11-30 12:45:02 -08:00
tedbo
16e02c2e3b
Add wcscasecmp() and wcsncasecmp() prototypes to wchar.h.
...
The above prototypes are missing from libc/include/wchar.h but
the functions are present (although with a limited implementation)
in libc.
Change-Id: I1b7c6accfc59ff0f56f3f41a9d3c075e935ac54a
2010-11-29 13:15:07 -08:00
Kenny Root
72e64e0869
Add support for pread64/pwrite64
...
64-bit pread() and pwrite() is needed for ZipFileRO to be able to read
ludicrously large ZIP files just in case someone is crazy enough to do
it.
Also fix a license header that was apparently mangled.
Change-Id: I6819ef8b36e46b63b40749c95717b1ecf9307033
2010-11-24 13:14:50 -08:00
Iliyan Malchev
c1974ee144
bionic: update processed kernel header tegra_audio.h
...
Change-Id: Idefc8cae9315f1f4f340330ee1b38a7c0acb5fd8
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-11-22 16:52:22 -08:00
Jean-Baptiste Queru
9c8ea7fa3f
am 24dc9363
: resolved conflicts for merge of 1bc98ccb
to gingerbread-plus-aosp
...
* commit '24dc936346b4a31005ac28c4bd464320cca9320a':
bionic: Add ARM optimized strcpy()
2010-11-22 13:38:44 -08:00
Jean-Baptiste Queru
24dc936346
resolved conflicts for merge of 1bc98ccb
to gingerbread-plus-aosp
...
Change-Id: Ief9ec3d0472660e26864e082e03c26e09a043b9d
2010-11-22 13:34:59 -08:00
Jean-Baptiste Queru
1bc98ccb76
Merge "bionic: Add ARM optimized strcpy()"
2010-11-22 13:02:25 -08:00
Jim Huang
73c04b3269
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
2010-11-22 13:01:32 -08:00
Jean-Baptiste Queru
0befb8b56d
am 9f1a7f93
: am ea0fe856
: Merge "Bionic: Aliasing problems with frexpf"
...
* commit '9f1a7f933dbf3446d29cbbff959a29f0ab49b308':
Bionic: Aliasing problems with frexpf
2010-11-18 22:41:28 -08:00
Jean-Baptiste Queru
9f1a7f933d
am ea0fe856
: Merge "Bionic: Aliasing problems with frexpf"
...
* commit 'ea0fe8563db2a5854d30b3c770c406356f55cfe8':
Bionic: Aliasing problems with frexpf
2010-11-18 22:39:15 -08:00
Erik Gilling
6c57fbf7a7
update linux/tegrafb.h
...
Change-Id: Ib09e70b51b900447d17e9f992b0f81fd5f638677
2010-11-18 16:10:50 -08:00
Jean-Baptiste Queru
ea0fe8563d
Merge "Bionic: Aliasing problems with frexpf"
2010-11-17 18:15:58 -08:00
Mike Lockwood
88fb10f838
Update f_mtp.h kernel header
...
Driver has changed to support transferring > 4 gigabyte files
Change-Id: I9ddca13e8e906a403fe84c9af27ec1fab565be77
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-16 17:33:50 -05:00
Dima Zavin
c343d3fcd3
kernel/linux: add tegra avp/rpc/sema headers
...
Change-Id: I7b8ee1e3e6a5db6a090f106d3d70f2122e12124c
Signed-off-by: Dima Zavin <dima@android.com>
2010-11-05 15:40:27 -07:00
Rodrigo Obregon
fddaafceda
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>
2010-11-05 12:15:26 -05:00
Elliott Hughes
ff590cadc2
Use a modern chdir(2)-free realpath(3) implementation.
...
(This is the current OpenBSD implementation.)
Bug: 3055824, 2281992
Change-Id: Iafa8f78e8d6e44c036a547c7210a13d559b7483a
2010-11-04 17:53:06 -07:00
David Turner
fb76fd5b61
Merge "Add missing PTRACE_SETVFPREGS."
2010-11-04 03:20:31 -07:00
Doug Kwan
459436f2f6
Add missing PTRACE_SETVFPREGS.
...
Change-Id: I070903ea7ceb90a3ff54fbae09c0ac70a7af1e3d
2010-11-03 16:51:32 -07:00
Iliyan Malchev
bb3bcbc6dc
bionic: update processed cpcap_audio.h and spi/cpcap.h headers
...
Change-Id: Ied7210d4f03eec3218c51cea8ee2e667d2014153
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-11-02 15:58:36 -07:00
Iliyan Malchev
8465bf90ea
bionic: update processed cpcap_audio.h
...
Change-Id: I8c8b917268cae4ff7a79e9f60522df59f8ed499a
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-11-01 16:04:12 -07:00
Nick Pelly
ffc0120471
am 61c9b8e1
: am 7bbd4580
: Add pn544.h clean kernel header
...
* commit '61c9b8e14a69b969456976b9d0d24f2caff4d01e':
Add pn544.h clean kernel header
2010-11-01 14:04:20 -07:00
Nick Pelly
61c9b8e14a
am 7bbd4580
: Add pn544.h clean kernel header
...
* commit '7bbd4580afe0347892a0680b5917ec7df38c003a':
Add pn544.h clean kernel header
2010-11-01 14:02:02 -07:00
Nick Pelly
7bbd4580af
Add pn544.h clean kernel header
...
Allows pn544 hardware reset
Change-Id: I6d6d22b16c228f03a70a14a4655a41005761b5d6
Signed-off-by: Nick Pelly <npelly@google.com>
2010-11-01 15:49:19 -05:00
Brad Fitzpatrick
7858564582
Don't proxy getaddrinfo when net.dns1.[MYPID] is set.
...
Part of on-going DNS proxy/cache work.
Bug: 1146676
Change-Id: I5e6028169c81c2223efc34c3b57e348c44f26d26
2010-10-28 13:22:20 -07:00
Brad Fitzpatrick
78778cdd8c
Merge "DNS proxy: the start. proxies getaddrinfo calls."
2010-10-28 11:34:27 -07:00
Brad Fitzpatrick
a1dbf0b453
DNS proxy: the start. proxies getaddrinfo calls.
...
Will also need to do gethostinfo, but that's probably about it.
It was cleaner to do it at this level, rather than speaking in terms
of DNS packets.
Change-Id: I047cc459979ffb0170a3eb0d432a7e827fb71c26
2010-10-28 11:31:22 -07:00
Erik Gilling
1ec041f096
update tegrafb
...
Change-Id: I22308d65994ae4e06e5c65d2047299c8cd559c01
2010-10-27 17:43:36 -07:00
Rebecca Schultz Zavin
369197cb75
Merge "Update libc/kernel/common/media/soc2030.h"
2010-10-26 11:18:45 -07:00
Jean-Baptiste Queru
fa8fef9506
am f2c05baa
: am 96c03c7d
: Merge "Remove duplicated _rand48 implementation. Use stdlib version instead"
...
Merge commit 'f2c05baac40bceb754ac69a38b83250c3a5aaddd'
* commit 'f2c05baac40bceb754ac69a38b83250c3a5aaddd':
Remove duplicated _rand48 implementation. Use stdlib version instead
2010-10-25 18:00:00 -07:00
Jean-Baptiste Queru
f2c05baac4
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
2010-10-25 17:32:13 -07:00
Jean-Baptiste Queru
96c03c7dcc
Merge "Remove duplicated _rand48 implementation. Use stdlib version instead"
2010-10-25 16:28:03 -07:00
Jim Huang
70478100d5
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
2010-10-25 16:27:47 -07:00
Rebecca Schultz Zavin
6858e651d4
Update libc/kernel/common/media/soc2030.h
...
Several ioctls have been added
Change-Id: I33d4d5d0aaa96c2f95a909ec361b35b07ce6b5e0
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-22 18:44:52 -07:00
David 'Digit' Turner
209cf82593
am f7ad13b0
: am 1df986c2
: libc: fix executable destruction support.
...
Merge commit 'f7ad13b0ce5ad2d2f0340c066b09eb8174877739'
* commit 'f7ad13b0ce5ad2d2f0340c066b09eb8174877739':
libc: fix executable destruction support.
2010-10-21 13:50:42 -07:00
Jean-Baptiste Queru
ff44eeef97
am aeb41ec1
: am b2061a30
: Merge "resolv: make internal symbols static/hidden"
...
Merge commit 'aeb41ec103103c37bf4a1700de714d9ff1befe8e'
* commit 'aeb41ec103103c37bf4a1700de714d9ff1befe8e':
resolv: make internal symbols static/hidden
2010-10-21 13:48:21 -07:00
Jean-Baptiste Queru
51a4f7872a
am 001a3218
: am 4afe0f47
: Merge "time64: make helper functions static"
...
Merge commit '001a321897d0f053b87799dafe17a39036b72470'
* commit '001a321897d0f053b87799dafe17a39036b72470':
time64: make helper functions static
2010-10-21 13:48:17 -07:00
Jean-Baptiste Queru
f97ce8cb7b
am 6ac5660e
: am ade2a929
: Merge "bionic: stubs: Make internal symbol static"
...
Merge commit '6ac5660e1c8fc9934d11ed675771063624ac1b4b'
* commit '6ac5660e1c8fc9934d11ed675771063624ac1b4b':
bionic: stubs: Make internal symbol static
2010-10-21 13:48:14 -07:00
Jean-Baptiste Queru
d3ecb3cd05
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
2010-10-21 13:48:11 -07:00
Jean-Baptiste Queru
51ae972502
am 958214aa
: am 8ad63d74
: Merge "stdlib: strtod: Hide internal symbol __dtoa"
...
Merge commit '958214aa998d9378e7d70c7c08ffab4c5f9d3fde'
* commit '958214aa998d9378e7d70c7c08ffab4c5f9d3fde':
stdlib: strtod: Hide internal symbol __dtoa
2010-10-21 09:54:49 -07:00
Jean-Baptiste Queru
fd1cf2c42e
am 1a6939d2
: am 1e0a4e18
: Merge "stdio: make internal symbols static/hidden"
...
Merge commit '1a6939d27b1cc53d506d6583fa2bc2d90c9c7fc4'
* commit '1a6939d27b1cc53d506d6583fa2bc2d90c9c7fc4':
stdio: make internal symbols static/hidden
2010-10-21 09:54:41 -07:00
Jean-Baptiste Queru
d445a2b275
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
2010-10-21 09:54:38 -07:00
Jean-Baptiste Queru
482358fda7
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>
2010-10-21 09:54:30 -07:00
David 'Digit' Turner
f7ad13b0ce
am 1df986c2
: libc: fix executable destruction support.
...
Merge commit '1df986c21ee52c6756846b4a5e45cb316f772112' into gingerbread-plus-aosp
* commit '1df986c21ee52c6756846b4a5e45cb316f772112':
libc: fix executable destruction support.
2010-10-21 09:43:19 -07:00
David 'Digit' Turner
1df986c21e
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
2010-10-21 04:16:50 +02:00
Jean-Baptiste Queru
aeb41ec103
am b2061a30
: Merge "resolv: make internal symbols static/hidden"
...
Merge commit 'b2061a30da29ee531c16862a5be3566e3b860839' into gingerbread-plus-aosp
* commit 'b2061a30da29ee531c16862a5be3566e3b860839':
resolv: make internal symbols static/hidden
2010-10-20 19:10:09 -07:00
Jean-Baptiste Queru
001a321897
am 4afe0f47
: Merge "time64: make helper functions static"
...
Merge commit '4afe0f4724b3d7180d67eae29bfdad5f815857cb' into gingerbread-plus-aosp
* commit '4afe0f4724b3d7180d67eae29bfdad5f815857cb':
time64: make helper functions static
2010-10-20 18:57:55 -07:00
Jean-Baptiste Queru
6ac5660e1c
am ade2a929
: Merge "bionic: stubs: Make internal symbol static"
...
Merge commit 'ade2a92991d1c7edc32c4a300bd83d622fa1567d' into gingerbread-plus-aosp
* commit 'ade2a92991d1c7edc32c4a300bd83d622fa1567d':
bionic: stubs: Make internal symbol static
2010-10-20 18:57:53 -07:00
Jean-Baptiste Queru
1203671b47
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
2010-10-20 18:57:51 -07:00
Jean-Baptiste Queru
b2061a30da
Merge "resolv: make internal symbols static/hidden"
2010-10-20 18:55:52 -07:00
Jean-Baptiste Queru
4afe0f4724
Merge "time64: make helper functions static"
2010-10-20 18:54:17 -07:00