This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 0/2] Introduce __libc_early_init (for rseq support)
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Thu, 28 Nov 2019 14:49:56 +0100
- Subject: [PATCH 0/2] Introduce __libc_early_init (for rseq support)
I plan to use this functionality to fix __libc_multiple_libcs and to
implement __libc_signal_threaded as well.
The rseq initialization will be called from __libc_early_init.
Florian Weimer (2):
Introduce <elf_machine_sym_no_match.h>
Implement __libc_early_init
ChangeLog.old/ChangeLog.19 | 40 ++++++++
csu/init-first.c | 4 -
csu/libc-start.c | 5 +
elf/Makefile | 5 +-
elf/Versions | 1 +
elf/dl-call-libc-early-init.c | 41 +++++++++
elf/dl-load.c | 9 ++
elf/dl-lookup-direct.c | 116 ++++++++++++++++++++++++
elf/dl-lookup.c | 10 +-
elf/dl-open.c | 24 +++++
elf/elf_machine_sym_no_match.h | 34 +++++++
elf/libc-early-init.h | 35 +++++++
elf/libc_early_init.c | 27 ++++++
elf/rtld.c | 4 +
sysdeps/generic/ldsodefs.h | 17 ++++
sysdeps/mach/hurd/i386/init-first.c | 4 -
sysdeps/mips/dl-machine.h | 15 ---
sysdeps/mips/elf_machine_sym_no_match.h | 43 +++++++++
18 files changed, 401 insertions(+), 33 deletions(-)
create mode 100644 elf/dl-call-libc-early-init.c
create mode 100644 elf/dl-lookup-direct.c
create mode 100644 elf/elf_machine_sym_no_match.h
create mode 100644 elf/libc-early-init.h
create mode 100644 elf/libc_early_init.c
create mode 100644 sysdeps/mips/elf_machine_sym_no_match.h
--
2.23.0