Temporary apply LIBC version to __pthread_gettid
This is workaround for http://b/26391427 Bug: http://b/26391427 Change-Id: I4ccc56e8b1bd2597f267df9706a33bb635abcfcb
This commit is contained in:
@@ -344,6 +344,9 @@ pid_t __pthread_gettid(pthread_t t) {
|
|||||||
return pthread_gettid_np(t);
|
return pthread_gettid_np(t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
__asm__(".symver __pthread_gettid,__pthread_gettid@LIBC");
|
||||||
|
__asm__(".symver __pthread_gettid,__pthread_gettid@@LIBC_PRIVATE");
|
||||||
|
|
||||||
// Older versions of apportable used dlmalloc directly instead of malloc,
|
// Older versions of apportable used dlmalloc directly instead of malloc,
|
||||||
// so export this compatibility shim that simply calls malloc.
|
// so export this compatibility shim that simply calls malloc.
|
||||||
void* dlmalloc(size_t size) {
|
void* dlmalloc(size_t size) {
|
||||||
|
|||||||
Reference in New Issue
Block a user