More linker cleanup.

Change-Id: I9fb3c7c0d4b4ffef0eeaf092d4e30ffe63a08671
This commit is contained in:
Elliott Hughes
2013-03-05 18:47:58 -08:00
parent 036f909720
commit 650be4e584
6 changed files with 326 additions and 466 deletions

View File

@@ -54,15 +54,17 @@
#include <private/debug_format.h>
__LIBC_HIDDEN__ extern int gLdDebugVerbosity;
#if LINKER_DEBUG_TO_LOG
#define _PRINTVF(v,x...) \
do { \
if (debug_verbosity > (v)) __libc_format_log(5-(v),"linker",x); \
if (gLdDebugVerbosity > (v)) __libc_format_log(5-(v),"linker",x); \
} while (0)
#else /* !LINKER_DEBUG_TO_LOG */
#define _PRINTVF(v,x...) \
do { \
if (debug_verbosity > (v)) __libc_format_fd(1, x); \
if (gLdDebugVerbosity > (v)) __libc_format_fd(1, x); \
} while (0)
#endif /* !LINKER_DEBUG_TO_LOG */