aboutsummaryrefslogtreecommitdiffstats
path: root/linker/linker_debug.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-11-05 09:11:43 -0800
committerElliott Hughes <enh@google.com>2012-11-05 09:11:43 -0800
commit9c94fc9fbefe55836c1e1b949850f7726e64c118 (patch)
tree033c7cca172faadc593b7f0c1e7f0b9371e8e57b /linker/linker_debug.h
parent9df2e000b5d56b2e529656034d684e370aa6a8d1 (diff)
downloadandroid_bionic-9c94fc9fbefe55836c1e1b949850f7726e64c118.tar.gz
android_bionic-9c94fc9fbefe55836c1e1b949850f7726e64c118.tar.bz2
android_bionic-9c94fc9fbefe55836c1e1b949850f7726e64c118.zip
Tone down some of the overly-verbose linker logging.
We don't need to see every dlopen(3)/dlsym(3) failure unless LD_DEBUG is on. Change-Id: I1edfe8b72f32ff54dd30e1acf32e20d470d5e9f7
Diffstat (limited to 'linker/linker_debug.h')
-rw-r--r--linker/linker_debug.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/linker/linker_debug.h b/linker/linker_debug.h
index c1df1ddb6..0a3710bc2 100644
--- a/linker/linker_debug.h
+++ b/linker/linker_debug.h
@@ -71,8 +71,6 @@ extern int format_fd(int, const char *, ...) __attribute__((__format__(printf, 2
#define PRINT(x...) _PRINTVF(-1, x)
#define INFO(x...) _PRINTVF(0, x)
#define TRACE(x...) _PRINTVF(1, x)
-#define WARN(fmt,args...) _PRINTVF(-1, "%s:%d| WARNING: " fmt, __FILE__, __LINE__, ## args)
-#define ERROR(fmt,args...) _PRINTVF(-1, "%s:%d| ERROR: " fmt, __FILE__, __LINE__, ## args)
#if TRACE_DEBUG
#define DEBUG(x...) _PRINTVF(2, "DEBUG: " x)
@@ -82,9 +80,4 @@ extern int format_fd(int, const char *, ...) __attribute__((__format__(printf, 2
#define TRACE_TYPE(t,x...) do { if (DO_TRACE_##t) { TRACE(x); } } while (0)
-#if TIMING
-#undef WARN
-#define WARN(x...) do {} while (0)
-#endif /* TIMING */
-
#endif /* _LINKER_DEBUG_H_ */