David 'Digit' Turner
1bbc56cd22
Neon-optimized versions of memcpy.
...
This optimization come from the external 0xdroid repository.
Original patch can be found here:
ebafe41c2c
2009-09-02 23:21:52 +02:00
Jean-Baptiste Queru
00fb8b45d9
merge from open-source master
2009-09-01 08:27:42 -07:00
Shin-ichiro KAWASAKI
ce0595d01d
modified SYSCALLS.TXT to support SuperH architecture
2009-09-01 19:03:06 +09:00
Chih-Wei Huang
a90528ad34
Include <endian.h> instead of <sys/endian.h>,
...
since the later doesn't define byte order.
2009-08-31 15:42:09 +08:00
Dima Zavin
2e5bd8f8aa
libc: kernel-headers: Add qdsp6 vdec header
...
Change-Id: Ib6cd13e86cea84c1cc0901dee3e9ef05eb8279cd
Signed-off-by: Dima Zavin <dima@android.com>
2009-08-30 19:17:26 -07:00
Alexey Tarasov
cc05d12716
Changed logging functions in bionic/logd_write.c.
...
Main differences from original code:
1. now log channel for LOG_ID_MAIN may exist even if LOG_ID_RADIO
facility failed.
2. __write_to_log_null() now acts as always successful function.
3. it's more simplier to add new logging channels now
ammended commit fixes my typo on line 130
2009-08-25 10:27:26 -07:00
Android Code Review
8f53951b05
Merge change 10749
...
* changes:
Make sure size_t is defined before used in strings.h
2009-08-21 11:25:21 -07:00
Android Code Review
f76b577fed
Merge change 10757
...
* changes:
Add an 's and a . to the bionic/libc README.
2009-08-21 11:24:58 -07:00
Iliyan Malchev
898cc98f3d
bionic: add sanitized lightsensor kernel header
...
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-08-20 16:31:28 -07:00
Dima Zavin
fcb10796ec
Update pmem/hw3d/mdp headers
...
Signed-off-by: Dima Zavin <dima@android.com>
2009-08-19 18:48:57 -07:00
Android (Google) Code Review
ac68b70ed9
Merge change 9642
...
* changes:
Don't request IPv6 addresses if AI_ADDRCONFIG is specified and the system has no IPv6 connectivity.
2009-08-08 09:46:30 -07:00
Jean-Baptiste Queru
44ac5d5d93
merge from open-source master
2009-08-07 17:04:35 -07:00
Android Code Review
bb08537104
Merge change 10057
...
* changes:
Add mspace_merge_objects
2009-08-07 16:43:33 -07:00
Dima Zavin
81fa6d5f94
libc: add linux/msm_kgsl.h kernel include
...
Signed-off-by: Dima Zavin <dima@android.com>
2009-08-05 17:56:56 -07:00
Dima Zavin
4c4a9632bd
libc: kernel: let clean_header tool take path to kernel originals as argument
...
Signed-off-by: Dima Zavin <dima@android.com>
2009-08-05 17:56:55 -07:00
Lorenzo Colitti
3d8f4ada56
Don't request IPv6 addresses if AI_ADDRCONFIG is specified and the system has no IPv6 connectivity.
2009-08-04 13:17:03 -07:00
Eric Fischer
d5f72afd49
Fix strftime to use localized month names.
...
It was using the default locale (capital L) instead of the
current locale (lowercase l).
Bug 2030864
2009-08-03 15:43:18 -07:00
David 'Digit' Turner
9cfb12e6bc
am 3773d35e: Make the DNS resolver accept domain names with an underscore.
...
Merge commit '3773d35eb98e22b5edab4d82fb72bdf86ff80494'
* commit '3773d35eb98e22b5edab4d82fb72bdf86ff80494':
Make the DNS resolver accept domain names with an underscore.
2009-07-28 15:27:33 -07:00
David 'Digit' Turner
3773d35eb9
Make the DNS resolver accept domain names with an underscore.
...
More precisely, this accepts domain labels with an underscore in
the middle (i.e. not at the start or the end of the label). This
is needed to perform complex CNAME chain resolution in certain
VPN networks.
2009-07-27 19:19:29 +02:00
Joe LaPenna
1d763d50e7
Add an 's and a . to the bionic/libc README.
2009-07-23 17:41:47 -07:00
Martin Storsjo
70f1280ca9
Make sure size_t is defined before used in strings.h
...
Otherwise, including strings.h as the first file in a C file yields errors.
This fixes issue 3332.
2009-07-22 11:41:02 +02:00
Andy McFadden
e40fb3d68f
am 39f3745c: Restore malloc debug.
...
Merge commit '39f3745cf30efe38482ffead1c32f4e62f6fe32e'
* commit '39f3745cf30efe38482ffead1c32f4e62f6fe32e':
Restore malloc debug.
2009-07-21 16:40:00 -07:00
Andy McFadden
39f3745cf3
Restore malloc debug.
...
Some libc changes were preventing the initialization call from being made.
The basic problem appears to be that libc_init_common.c is only built once,
and it's only built for the non-debug libc.
2009-07-21 15:44:23 -07:00
David 'Digit' Turner
d5b3513cca
am b56b5659: Fix the C library runtime initialization order.
...
Merge commit 'b56b5659b3996e98c2060f168d1cff1474e77d2a'
* commit 'b56b5659b3996e98c2060f168d1cff1474e77d2a':
Fix the C library runtime initialization order.
2009-07-20 00:13:21 -07:00
David 'Digit' Turner
d63185fd88
am ef0bd185: Pass the elfdata pointer in a slot of the temporary TLS area.
...
Merge commit 'ef0bd1857041ffde069cf52138aaf22c1af7130e'
* commit 'ef0bd1857041ffde069cf52138aaf22c1af7130e':
Pass the elfdata pointer in a slot of the temporary TLS area.
2009-07-20 00:12:01 -07:00
David 'Digit' Turner
b56b5659b3
Fix the C library runtime initialization order.
...
This allows libc.so to run the C runtime initializer as soon as the
dynamic linker loads the shared library, i.e. before any other initializers
(e.g. static C++ constructors in other shared libraries the executable depends
on).
This also removes the bug where the initializers from the executable itself
were run twice: once by the dynamic linker, and another time by __libc_init
as defined by libc_init_dynamic.c
2009-07-18 01:11:10 +02:00
Android (Google) Code Review
a22c04502a
Merge change 7652
...
* changes:
Updating v4l2 headers from kernel
2009-07-17 15:34:38 -07:00
David 'Digit' Turner
ef0bd18570
Pass the elfdata pointer in a slot of the temporary TLS area.
...
This is needed to properly initialize the C runtime when libc.so
is loaded by the dynamic linker.
Move the temporary TLS setup before the first system call, just
in case something really horrible happens, we won't crash when
trying to write an error code in 'errno'
Remove the broken TLS_SLOT_THREAD_ID setup. First, this slot
should normally receive the address of a pthread_internal_t,
not a kernel thread identifier. Second, it is never used by
the linker anyway.
Also remove an obsolete comment.
2009-07-17 17:55:01 +02:00
Rebecca Schultz Zavin
09131482e7
Updating v4l2 headers from kernel
...
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2009-07-16 18:33:52 -07:00
Android (Google) Code Review
08a85b69b4
Merge change 7610
...
* changes:
linux: add headers for lis331dlh and sfh7743 sensor drivers.
2009-07-16 16:20:28 -07:00
Dmitry Shmidt
4553a785e2
Add linux/ethtool.h header file
...
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2009-07-16 16:03:29 -07:00
Mike Lockwood
bf8947da81
linux: add headers for lis331dlh and sfh7743 sensor drivers.
...
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-16 18:53:41 -04:00
Mathias Agopian
b7681167cb
allow pthread_mutexattr_setpshared to accept SHARED mutexes, since our current impl actually uses shared mutexes
2009-07-13 22:00:33 -07:00
Mathias Agopian
a2f5e21244
added pthread_cond_timedwait_relative_np()
2009-07-13 18:37:40 -07:00
David 'Digit' Turner
fc8b178759
am db4616b2: Add <linux/uinput.h> to C library kernel headers
...
Merge commit 'db4616b2d3234a1916cafb48e65c50cf302afcde'
* commit 'db4616b2d3234a1916cafb48e65c50cf302afcde':
Add <linux/uinput.h> to C library kernel headers
2009-07-09 16:11:43 -07:00
David 'Digit' Turner
db4616b2d3
Add <linux/uinput.h> to C library kernel headers
2009-07-10 00:59:56 +02:00
David 'Digit' Turner
267e23ae99
am c4eee376: Prevent a crash in the memory leak checker (which happened in chk_free())
...
Merge commit 'c4eee3765bf9dd81ff055e70ff7daa83a3926d2a'
* commit 'c4eee3765bf9dd81ff055e70ff7daa83a3926d2a':
Prevent a crash in the memory leak checker (which happened in chk_free())
2009-07-09 15:51:54 -07:00
David 'Digit' Turner
c4eee3765b
Prevent a crash in the memory leak checker (which happened in chk_free())
...
Simplify the code a little, removing un-necessary mutex locks/unlocks.
Provide slightly better diagnostic message in case of corruption.
Use snprintf/strlcat instead of sprintf/strcat
2009-07-10 00:32:08 +02:00
Iliyan Malchev
4a1fe7167b
bionic: add cleaned-up proximity-sensor header
...
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-07-08 20:33:12 -07:00
Shin-ichiro KAWASAKI
37429fff41
modified kernel headers re-generate tools to support SuperH architecture
2009-07-01 15:41:52 +09:00
Tony Sim
336efb5267
added syscalls for SuperH which automatically generate by gensyscalls.py
2009-07-01 15:35:27 +09:00
Android (Google) Code Review
bf013b1951
am 380f2498: Merge change 5184 into donut
...
Merge commit '380f24983e8e33d0b189dda198ec64c1766a359d'
* commit '380f24983e8e33d0b189dda198ec64c1766a359d':
update clean msm_camera.h
2009-06-24 15:45:01 -07:00
Android (Google) Code Review
380f24983e
Merge change 5184 into donut
...
* changes:
update clean msm_camera.h
2009-06-24 12:45:35 -07:00
Iliyan Malchev
0711600b05
update clean msm_camera.h
...
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-06-23 20:08:10 -07:00
Iliyan Malchev
3772217641
delete akm8973.h from original headers
...
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-06-23 13:52:08 -07:00
Iliyan Malchev
5c3b16c576
add header for akm8973
...
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-06-22 15:07:34 -07:00
David 'Digit' Turner
fc90c51f72
am 09baf4e8: Add Glibc-compatible macro aliases for the nanosecond time accessors in stat structure
...
Merge commit '09baf4e881c78e67c7849aa81432ceb34e72e913'
* commit '09baf4e881c78e67c7849aa81432ceb34e72e913':
Add Glibc-compatible macro aliases for the nanosecond time accessors in stat structure
2009-06-22 09:56:46 -07:00
David 'Digit' Turner
09baf4e881
Add Glibc-compatible macro aliases for the nanosecond time accessors in stat structure
2009-06-22 12:16:06 +02:00
Android (Google) Code Review
4b91ef8348
Merge change 4025
...
* changes:
Make IPv6 definitions comply with RFC 3493: - Add some definitions to netinet/in6.h - Include netinet/in6.h from netinet/in.h
2009-06-17 15:36:55 -07:00
Lorenzo Colitti
c52c174e41
Make IPv6 definitions comply with RFC 3493:
...
- Add some definitions to netinet/in6.h
- Include netinet/in6.h from netinet/in.h
2009-06-16 18:55:37 -07:00