bionic/linker
Christopher Ferris 052fa3a34c Replace snprintf calls in linker.
When enabling debug malloc, the snprintf calls in the linker fails to
update the buffer.

The problem is that snprintf makes a call to pthread_getspecific that
returns a valid pointer, but the data it points to is zero. This should
never happen and causes the snprintf to stop and do nothing.

Temporarily replace snprintf with a different implementation to work
around this issue.

Bug: 16874447
Bug: 17302493

(cherry pick from commit 172955a4e3)

Change-Id: Idca9d417978403d61debfd0434aaa82fd770f33b
2014-08-27 16:01:57 -07:00
..
arch Fix mips/mips64 build 2014-07-28 21:03:17 -07:00
tests Fix dlsym(3) to do breadth first search. 2014-07-29 14:35:13 -07:00
Android.mk Enable __cxa_atexit && __cxa_finalize for linker 2014-08-26 15:44:18 -07:00
debugger.cpp Replace snprintf calls in linker. 2014-08-27 16:01:57 -07:00
dlfcn.cpp Bump soinfo version 2014-08-22 13:29:18 -07:00
linked_list.h Enable __cxa_atexit && __cxa_finalize for linker 2014-08-26 15:44:18 -07:00
linker_allocator.cpp Label pages mapped by linker_allocator 2014-08-11 09:22:48 -07:00
linker_allocator.h Fix global variable initialization for linker 2014-07-24 15:33:25 -07:00
linker_debug.h Added test for ifunc support in dynamic linker. 2014-08-08 11:29:35 -07:00
linker_environ.cpp Fix x86_64 build, clean up intermediate libraries. 2013-10-09 16:00:17 -07:00
linker_environ.h Fix Clang warning since KernelArgumentBlock is actually a class. 2013-10-08 00:08:13 -07:00
linker_executable.mk build linker and linker64 on 64-bit architectures 2014-02-13 11:18:47 -08:00
linker_libc_support.c Enable __cxa_atexit && __cxa_finalize for linker 2014-08-26 15:44:18 -07:00
linker_phdr.cpp Use VDSO for clock_gettime(2) and gettimeofday(2). 2014-07-16 14:27:43 -07:00
linker_phdr.h Allow sharing the RELRO section via a file. 2014-04-17 14:30:46 +01:00
linker.cpp Replace snprintf calls in linker. 2014-08-27 16:01:57 -07:00
linker.h Bump soinfo version 2014-08-22 13:29:18 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
NOTICE Fix a couple of bugs in generate-NOTICE and regenerate the NOTICE files. 2014-07-22 21:29:00 -07:00
rt.cpp More dynamic linker cleanup. 2012-10-30 16:35:38 -07:00