summaryrefslogtreecommitdiff
path: root/ldso/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-25 08:41:38 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-25 08:41:38 +0000
commitea3903eb7b862092d948edf8b568e8b57b06758f (patch)
tree0b3d0a3d8b3e75c821f939b4ed104d6a14b57e3b /ldso/include
parent6a461d406e6d9b27781007670194f5921490784c (diff)
create some DEBUG macros for the ld debug early
Diffstat (limited to 'ldso/include')
-rw-r--r--ldso/include/dl-string.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/ldso/include/dl-string.h b/ldso/include/dl-string.h
index 05cc65c1b..a52f83f36 100644
--- a/ldso/include/dl-string.h
+++ b/ldso/include/dl-string.h
@@ -282,7 +282,7 @@ static inline char *_dl_simple_ltoahex(char * local, unsigned long i)
const char *tmp1 = (X); \
CONSTANT_STRING_GOT_FIXUP(tmp1); \
_dl_write(2, tmp1, _dl_strlen(tmp1)); \
-};
+}
#define SEND_ADDRESS_STDERR(ADR, add_a_newline) \
{ \
@@ -321,4 +321,12 @@ static inline char *_dl_simple_ltoahex(char * local, unsigned long i)
}
#endif
+#ifdef __SUPPORT_LD_DEBUG_EARLY__
+# define SEND_STDERR_DEBUG(X) SEND_STDERR(X)
+# define SEND_ADDRESS_STDERR_DEBUG(X, add_a_newline) SEND_ADDRESS_STDERR(X, add_a_newline)
+#else
+# define SEND_STDERR_DEBUG(X)
+# define SEND_ADDRESS_STDERR_DEBUG(X, add_a_newline)
+#endif
+
#endif