[0/2] Introduce __libc_early_init (for rseq support)

Message ID cover.1574948858.git.fweimer@redhat.com
Headers show
Series
  • Introduce __libc_early_init (for rseq support)
Related show

Message

Florian Weimer Nov. 28, 2019, 1:49 p.m.
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