platform_bionic/linker
Nick Kralevich c9084427aa linker: Emit a warning on text relocations
Text relocations unnecessarily mark pages as dirty, preventing them
from being swapped out, wasting memory. Also, text relocations
prevent the code from running on certain hardened systems.

Print a message in logcat and stderr when we see a text relocation,
to encourage developers to fix their code.

Change-Id: I6051a7463911e090ae5727a355397d539669d5b9
2013-06-21 15:33:15 -07:00
..
arch Drop unnecessary execution permission for .cpp/.c/.h 2013-03-22 10:28:15 +08:00
Android.mk Everyone has a TLS register. 2013-02-12 21:56:42 -08:00
debugger.cpp Make abort messages available to debuggerd. 2013-04-05 11:24:19 -07:00
dlfcn.cpp Use more types than just 'unsigned' in the linker. 2013-03-12 11:26:56 -07:00
linker.cpp linker: Emit a warning on text relocations 2013-06-21 15:33:15 -07:00
linker.h Make LD_PRELOAD failures just warnings. 2013-06-18 13:15:00 -07:00
linker_debug.h Clean up internal libc logging. 2013-03-15 16:12:58 -07:00
linker_environ.cpp Clean up the argc/argv/envp/auxv handling. 2013-02-07 11:44:21 -08:00
linker_environ.h Clean up the argc/argv/envp/auxv handling. 2013-02-07 11:44:21 -08:00
linker_phdr.cpp Honor p_vaddr if set 2013-06-07 12:47:58 -07:00
linker_phdr.h Honor p_vaddr if set 2013-06-07 12:47:58 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
NOTICE Regenerate all NOTICE files with the latest version of the script. 2012-08-15 15:43:13 -07:00
rt.cpp More dynamic linker cleanup. 2012-10-30 16:35:38 -07:00