Merge "Temporary apply LIBC version to __pthread_gettid"

This commit is contained in:
Dimitry Ivanov 2016-01-05 07:02:15 +00:00 committed by Gerrit Code Review
commit 56ecf28014
1 changed files with 3 additions and 0 deletions

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) {