]> git.ipfire.org Git - thirdparty/glibc.git/commit
elf: Turn _dl_printf, _dl_error_printf, _dl_fatal_printf into functions
authorFlorian Weimer <fweimer@redhat.com>
Mon, 25 May 2020 16:17:27 +0000 (18:17 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 25 May 2020 16:17:27 +0000 (18:17 +0200)
commitde42613540de8d3d70b5f14a14923cab7bd694d0
treea40b9d1870dc99f5c989e903bc71a06ccaa7b3f4
parent76d5b2f002a1243ddba06bd646249553353f4322
elf: Turn _dl_printf, _dl_error_printf, _dl_fatal_printf into functions

This change makes it easier to set a breakpoint on these calls.

This also addresses the issue that including <ldsodefs.h> without
<unistd.h> does not result usable _dl_*printf macros because of the
use of the STD*_FILENO macros there.

(The private symbol for _dl_fatal_printf will go away again
once the exception handling implementation is unified between
libc and ld.so.)

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
elf/Versions
elf/dl-misc.c
sysdeps/generic/ldsodefs.h
sysdeps/mach/hurd/i386/localplt.data