about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-05-06 15:49:45 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-05-10 23:35:44 -0300
commit7b4e7ca9db350b53cc88ff3d0bc99279225f5cc7 (patch)
tree377ad643b275aa65c218e8c1336e3fd85f7a398d /nptl
parent30685597a4f81c8dcd4dd7335debdb72ae450924 (diff)
downloadglibc-7b4e7ca9db350b53cc88ff3d0bc99279225f5cc7.tar.gz
glibc-7b4e7ca9db350b53cc88ff3d0bc99279225f5cc7.tar.xz
glibc-7b4e7ca9db350b53cc88ff3d0bc99279225f5cc7.zip
linux: Move flockfile/_IO_flockfile into libc
The nptl version is used as default, since now with symbol always
present the single-thread optimization is tricky.

Hurd is not change, it is used it own lock scheme (which call
_cthreads_flockfile).

Checked on x86_64-linux-gnu.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index f7723cb808..bc5824cd8e 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -179,7 +179,6 @@ libpthread-routines = \
   cleanup \
   cleanup_defer \
   events \
-  flockfile \
   ftrylockfile \
   funlockfile \
   libpthread-compat \
@@ -447,7 +446,6 @@ extra-objs += $(crti-objs) $(crtn-objs)
 extra-objs += pt-crti.o
 endif
 
-CFLAGS-flockfile.c += $(libio-mtsafe)
 CFLAGS-ftrylockfile.c += $(libio-mtsafe)
 CFLAGS-funlockfile.c += $(libio-mtsafe)