diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-06-25 08:41:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-06-25 08:41:38 +0000 |
commit | ea3903eb7b862092d948edf8b568e8b57b06758f (patch) | |
tree | 0b3d0a3d8b3e75c821f939b4ed104d6a14b57e3b /ldso/include/dl-string.h | |
parent | 6a461d406e6d9b27781007670194f5921490784c (diff) |
create some DEBUG macros for the ld debug early
Diffstat (limited to 'ldso/include/dl-string.h')
-rw-r--r-- | ldso/include/dl-string.h | 10 |
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 |