diff options
| author | Peter Jeremy <peterj@FreeBSD.org> | 2017-01-30 08:38:32 +0000 |
|---|---|---|
| committer | Peter Jeremy <peterj@FreeBSD.org> | 2017-01-30 08:38:32 +0000 |
| commit | 8787928589768031df3651c372c3b1a498e243ea (patch) | |
| tree | 8e2596454cd320451f835049eb936a151c0d0332 /libexec | |
| parent | eac79e7755a01f5ed411818ccf72aa2e289a7f21 (diff) | |
Notes
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/rtld-elf/rtld.c | 1 | ||||
| -rw-r--r-- | libexec/rtld-elf/rtld_utrace.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index 327c939b9b27..12e59b263cd0 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -764,6 +764,7 @@ _rtld_error(const char *fmt, ...) rtld_vsnprintf(buf, sizeof buf, fmt, ap); error_message = buf; va_end(ap); + LD_UTRACE(UTRACE_RTLD_ERROR, NULL, NULL, 0, 0, error_message); } /* diff --git a/libexec/rtld-elf/rtld_utrace.h b/libexec/rtld-elf/rtld_utrace.h index 8ac8a02775fd..71b2aa643fec 100644 --- a/libexec/rtld-elf/rtld_utrace.h +++ b/libexec/rtld-elf/rtld_utrace.h @@ -45,6 +45,7 @@ #define UTRACE_FINI_CALL 10 #define UTRACE_DLSYM_START 11 #define UTRACE_DLSYM_STOP 12 +#define UTRACE_RTLD_ERROR 13 #define RTLD_UTRACE_SIG_SZ 4 #define RTLD_UTRACE_SIG "RTLD" |
