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:
Dimitry Ivanov 2016-01-04 22:36:18 -08:00
parent 04673ee997
commit eb90e91cb5

View File

@ -344,6 +344,9 @@ pid_t __pthread_gettid(pthread_t 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,
// so export this compatibility shim that simply calls malloc.
void* dlmalloc(size_t size) {