The Android Open Source Project
702b01c211
am 5ef5272b
: merge from open-source master
2010-04-21 09:24:08 -07:00
The Android Open Source Project
5ef5272be9
merge from open-source master
...
Change-Id: I518bb4ae9d7269957365561d4d609f22cde519db
2010-04-21 09:10:08 -07:00
The Android Open Source Project
424dff854c
am 95faecef
: merge from open-source master
2010-04-08 11:23:30 -07:00
The Android Open Source Project
95faecefde
merge from open-source master
...
Change-Id: If77618a329fc7b497c44c2585e644bc50e7e1406
2010-04-08 11:11:53 -07:00
Matt Fischer
1698d9ebfc
Fixed support for RTLD_NEXT in dlsym()
...
The previous implementation of this flag was broken--it behaved identically
to RTLD_DEFAULT. This adds a proper implementation, which examines the address
of the calling function, and uses it to determine which library to use to begin
the symbol search process.
Change-Id: I2ad2b46363f68932af63a3828a22f9c7987eea67
2010-04-08 10:14:47 -05:00
San Mehat
32b7c9c6dd
am f1cd18bd
: am 91638721
: kernel_headers: Update rtnetlink/pkt_sched headers for 2.6.32
2010-04-06 23:48:03 -07:00
San Mehat
f1cd18bdec
am 91638721
: kernel_headers: Update rtnetlink/pkt_sched headers for 2.6.32
...
Merge commit '9163872132a3e92f986b1d684badb1dd4482ad8e' into froyo-plus-aosp
* commit '9163872132a3e92f986b1d684badb1dd4482ad8e':
kernel_headers: Update rtnetlink/pkt_sched headers for 2.6.32
2010-04-06 22:02:48 -07:00
San Mehat
9163872132
kernel_headers: Update rtnetlink/pkt_sched headers for 2.6.32
...
For: For http://b/issue?id=2576057
Change-Id: I553ca14974aaec4434e384979e0bb7007dcf6033
Signed-off-by: San Mehat <san@google.com>
2010-04-06 18:54:22 -07:00
Thorsten Glaser
81569aa72c
Add declaration for sys_signame[] forgotten in change 12489
2010-04-05 21:08:30 +02:00
The Android Open Source Project
7cc7433f4a
am 1d168621
: merge from open-source master
2010-03-31 14:40:08 -07:00
The Android Open Source Project
717cd61a1b
am d0467251
: merge from open-source master
2010-03-31 14:40:06 -07:00
The Android Open Source Project
8ecdf610ca
am 5ffedb22
: merge from open-source master
2010-03-31 14:32:53 -07:00
The Android Open Source Project
1d168621a5
merge from open-source master
...
Change-Id: I950e9aca87cbb0c35099b1d53cff6378bd0f26f4
2010-03-31 14:24:25 -07:00
The Android Open Source Project
d046725133
merge from open-source master
...
Change-Id: I483fedf77d978b1c6e52d73eebc14f011bb9f809
2010-03-31 14:19:51 -07:00
The Android Open Source Project
5ffedb22c8
merge from open-source master
...
Change-Id: I076e0df8656fdf58c229cc9a168cd6d8e16b6d8e
2010-03-31 14:15:30 -07:00
André Goddard Rosa
350bb359fa
bionic: fix memory leak in get_malloc_leak_info() error path
...
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
2010-03-29 21:21:26 -03:00
David Turner
f8916e2e45
Merge "bionic: clear only the part of the buffer which is not overwritten afterward"
2010-03-30 14:52:14 -07:00
David Turner
4ad72f89b1
Merge "linker: fix the undefined weak symbols issue"
2010-03-29 15:49:42 -07:00
Min-su, Kim
3cab22c8cf
linker: fix the undefined weak symbols issue
2010-03-29 15:43:09 -07:00
David Turner
8ab5b02b5f
Merge changes Ibdc6e3c8,I9bcb91a2
...
* changes:
Correct generic memset implementation
Generic memcpy should define MEMCOPY before including bcopy.c
2010-03-29 15:05:47 -07:00
David Turner
87ae0da817
Merge "Atom optimized string and memory routines"
2010-03-29 14:40:05 -07:00
David 'Digit' Turner
519a73f11e
Merge "Update libthread_db for gdb-7.0"
2010-03-29 13:03:55 -07:00
The Android Open Source Project
62ac0dc457
merge from open-source master
...
Change-Id: I96d2cd063f084fd17116bf7ee08fa7109a3c1ceb
2010-03-29 11:01:59 -07:00
André Goddard Rosa
3f61212781
bionic: clear only the part of the buffer which is not overwritten afterward
...
Change-Id: I5ddd93f0557e5a7401460dc9fc8a55b330a79c3a
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
2010-03-28 21:32:36 -03:00
André Goddard Rosa
acdb052030
stdlib: optimize bsearch()
...
... by checking most probable condition first (elements do differ)
Change-Id: I424eab9c32a6d9eb82b686ca04025ec8c9097035
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
2010-03-28 21:18:56 -03:00
Bruce Beare
8ff1a2759a
Atom optimized string and memory routines
...
Change-Id: I27b68bb28551c75c9ac84bb9730e2cd8254d8991
2010-03-26 10:54:07 -07:00
Bruce Beare
58f0326362
Android hack for size_t
...
Change-Id: I3c967fca60f542459dc17be84da47b3b6a26242b
2010-03-26 09:36:01 -07:00
David 'Digit' Turner
68b5f55671
Fix setjmp()/longjmp() to save FP registers on ARMv7.
...
Change-Id: I8ec684c8f8ca1ae58c8feb330b97d1e2b81caeef
2010-03-25 13:24:18 -07:00
Kenny Root
7e0bfb511e
Fix comparison of IPv6 prefixes
...
Typo assigned prefixlen1 twice instead of to the two different variables
for comparison and difference computation.
Change-Id: I6631b8269ca6aae264c8d7d414127b756838df96
2010-03-24 18:07:26 -07:00
David 'Digit' Turner
3d4edfc599
Update libthread_db for gdb-7.0
...
Change-Id: If8fbcea1cf6d06fc465a22d73671e6ff6aa1f312
2010-03-24 14:51:37 -07:00
Dima Zavin
4e383b81d0
libc: kernel: update msm_kgsl.h
...
Change-Id: I8cd5a186071892bdc2b2b29061dd6c1fd927c0f5
Signed-off-by: Dima Zavin <dima@android.com>
2010-03-24 14:13:10 -07:00
David 'Digit' Turner
5207d78c32
Fix typo that broke recursive mutexes implementation.
...
Change-Id: I832901604b487c6a50304c311b5ba135e153530d
2010-03-23 05:30:55 -07:00
David 'Digit' Turner
b5e4a41606
pthread: Use private futexes by default in condition variables
...
Now that the system properly uses shared condvars when needed, we
can enable the use of private futexes for them too.
Change-Id: Icf8351fc0a2309f764cba45c65bc3af047720cdf
2010-03-22 17:31:50 -07:00
The Android Open Source Project
377d4c979d
merge from open-source master
...
Change-Id: I70266ee8c520b216773f267e46c8273d2334c31d
2010-03-22 15:55:09 -07:00
David 'Digit' Turner
709a898de8
Merge "Fix strtod security bug."
2010-03-22 15:45:32 -07:00
David 'Digit' Turner
88f06cd84a
Use private futexes for pthread_mutex_t.
...
This does not change the implementation of conditional variables
since we're waiting for other system components to properly use
pthread_condattr_init/setpshared before that.
Also remove an obsolete x86 source file.
Change-Id: Ia3e3fbac35b87a534fb04d4381c3c66b975bc8f7
2010-03-18 17:13:41 -07:00
David Turner
1825fb5d5f
Merge "bionic: on pthread_join(), avoid extra check in case we find the thread"
2010-03-18 16:42:49 -07:00
David Turner
c0e464268d
Merge "bionic: ftell() returns a long, not an int"
2010-03-18 16:35:42 -07:00
David 'Digit' Turner
ee7b077abf
Add pthread_condattr_init/destroy/setpshared/getpshared
...
Note that this does not change the implementation of conditional variables
which still use shared futexes, independent on the flags being selected.
This will be fixed in a later patch, once our system is modified to use
pthread_condattr_setpshared(attr, PTHREAD_PROCESS_SHARED) properly.
Change-Id: I935de50964cd41f97a13dbfd6626d3407b0406c3
2010-03-18 14:07:42 -07:00
Matt Fischer
e2a8b1fd19
Added support for dladdr()
...
dladdr() is a GNU extension function, which allows the caller to retrieve
symbol information for a specified memory address. It is useful for things
like generating backtrace information at runtime.
Change-Id: I3a1def1a6c9c666d93e1e97b7d260dfa5b9b79a9
2010-03-17 16:11:37 -05:00
David Turner
ede2e75f49
Merge "x86 syscall system call implementation"
2010-03-17 14:07:27 -07:00
David Turner
b0ae864dff
Merge "Fix pread()/pwrite() stubs"
2010-03-17 14:00:20 -07:00
David 'Digit' Turner
40e6b82286
Fix indentation in pthread mutex implementation.
...
This is preliminary work to simplify later changes to support
private futexes.
Change-Id: I06750936a93747a5e3f5a10228cbdc29e39c528c
2010-03-17 11:25:46 -07:00
David Turner
a9c41a8e0a
Merge "bionic: remove unneeded variable from chk_realloc()"
2010-03-16 17:26:44 -07:00
David Turner
3f192f55f0
Merge "bionic: equalize the <unknown> program name between ssp.c and libc_init_common.c"
2010-03-16 17:25:53 -07:00
David Turner
dd8f3c80f1
Merge "improve readability of string: fix indentation and remove trailing spaces"
2010-03-16 17:25:04 -07:00
David Turner
5586838bab
Merge "optimize delete/delete[] operators by removing unneeded branch"
2010-03-16 17:21:52 -07:00
Fabrice Di Meglio
8641833b62
Revert "bionic: pthread: use private futexes by default for mutexes and condvars"
...
This reverts commit ba9c6f0989
.
2010-03-11 14:47:47 -08:00
David 'Digit' Turner
ba9c6f0989
bionic: pthread: use private futexes by default for mutexes and condvars
...
Private futexes are a recent kernel addition: faster futexes that cannot be
shared between processes. This patch uses them by default, unless the PROCESS_SHARED
attribute flag is used when creating a mutex and/or conditional variable.
Also introduces pthread_condattr_init/destroy/setpshared/getpshared.
Change-Id: I3a0e2116f467072b046524cb5babc00e41057a53
2010-03-11 11:48:38 -08:00
Colin Cross
1cfbda826c
Merge "Only use NEON memcpy if __ARM_NEON__ is defined"
2010-03-10 18:14:25 -08:00