summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorivmai <ivmai>2009-12-08 18:08:14 +0100
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:52 +0200
commitcbad004e789aca685678076e721183f25b2dde9d (patch)
tree5e79105716924417d00c97c2f19c649130bfd45d /doc
parent61d0de0517da47be2718db10e7987f6ab4936bd6 (diff)
2009-12-08 Ivan Maidanski <ivmai@mail.ru> (with input from Marcos Dione)
* doc/README.macros (IGNORE_DYNAMIC_LOADING, PLATFORM_ANDROID): Document. * dyn_load.c: Don't include <elf.h> if PLATFORM_ANDROID. * dyn_load.c: Include bionic <linker.h> (instead of <link.h>) if PLATFORM_ANDROID. * include/private/gcconfig.h (LINUX): Define also if PLATFORM_ANDROID (for the windows-based toolkit). * include/private/gcconfig.h (SEARCH_FOR_DATA_START): Explicitly define for Android/x86 platform. * include/private/gcconfig.h (IGNORE_DYNAMIC_LOADING): Recognize new macro (undefine DYNAMIC_LOADING in this case). * include/private/gcconfig.h (CANCEL_SAFE): Don't define if PLATFORM_ANDROID. * include/private/gcconfig.h (IF_CANCEL): Fix definition for the explicitly defined CANCEL_SAFE.
Diffstat (limited to 'doc')
-rw-r--r--doc/README.macros6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/README.macros b/doc/README.macros
index 1fda9fe..825357c 100644
--- a/doc/README.macros
+++ b/doc/README.macros
@@ -447,6 +447,10 @@ USE_PROC_FOR_LIBRARIES Causes the Linux collector to treat writable
informing the collector. But it typically performs poorly, especially
since it will scan inactive but cached NPTL thread stacks completely.
+IGNORE_DYNAMIC_LOADING Don't define DYNAMIC_LOADING even if supported by the
+ platform (that is, build the collector with disabled tracing of dynamic
+ library data roots).
+
NO_PROC_STAT Causes the collector to avoid relying on Linux
"/proc/self/stat".
@@ -505,3 +509,5 @@ NO_CANCEL_SAFE (Posix platforms with threads only) Don't bother trying
UNICODE (Win32 only) Use the Unicode variant ('W') of the Win32 API instead
of ANSI/ASCII one ('A'). Useful for WinCE.
+
+PLATFORM_ANDROID Compile for Android NDK platform.