[PATCH] elf: Turn _dl_printf, _dl_error_printf, _dl_fatal_printf into functions
Florian Weimer
fweimer@redhat.com
Wed May 20 10:06:07 GMT 2020
* Florian Weimer via Libc-alpha:
> 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.)
>
> ---
> elf/Versions | 2 +-
> elf/dl-misc.c | 31 +++++++++++++++++++++++++++++++
> sysdeps/generic/ldsodefs.h | 19 +++++++------------
> 3 files changed, 39 insertions(+), 13 deletions(-)
I forgot the localplt update for Hurd in my patch. I've fixed that
locally.
Thanks,
Florian
More information about the Libc-alpha
mailing list