[v2,0/2] nptl: Remove delayed rtld lock initialization

Message ID cover.1620141231.git.fweimer@redhat.com
Headers show
Series
  • nptl: Remove delayed rtld lock initialization
Related show

Message

Dave Martin via Libc-alpha May 4, 2021, 3:15 p.m.
This mini-series removes a bit of initialization code from
nptl/nptl-init.c.

Tested on i686-linux-gnu and x86_64-linux-gnu (which have different
libc.so.6 symbol version baselines, so the new <first-versions.h>
macros work).

v2: Start out with a pointer to a dummy lock/unlock implementation.  I
think this is simpler.

Florian Weimer (2):
  scripts/versions.awk: Add strings and hashes to <first-versions.h>
  elf, nptl: Resolve recursive lock implementation early

 elf/Makefile               |  3 +-
 elf/dl-lock.c              | 56 ++++++++++++++++++++++++++++++++++++++
 elf/rtld.c                 | 18 ++++++++++++
 nptl/nptl-init.c           |  9 ------
 scripts/versions.awk       | 36 ++++++++++++++++++++++++
 sysdeps/generic/ldsodefs.h | 25 ++++++++++++++++-
 sysdeps/nptl/libc-lockP.h  | 17 +++---------
 7 files changed, 140 insertions(+), 24 deletions(-)
 create mode 100644 elf/dl-lock.c

-- 
2.30.2