diff options
Diffstat (limited to 'ldso/include')
-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 |