aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/riscv
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-02-22 18:30:52 +0100
committerFlorian Weimer <fweimer@redhat.com>2021-02-22 18:30:52 +0100
commit2f4019de81024cc0d05a5b5cedb1afb28b59a836 (patch)
treef837cbd8ac7933828e56baa291384b7b99edeb07 /sysdeps/riscv
parent541e53c9ddd9ef543cc45b66c7597e63fa665414 (diff)
downloadglibc-2f4019de81024cc0d05a5b5cedb1afb28b59a836.zip
glibc-2f4019de81024cc0d05a5b5cedb1afb28b59a836.tar.gz
glibc-2f4019de81024cc0d05a5b5cedb1afb28b59a836.tar.bz2
nptl: Move lowlevellock into libc [BZ #15648]
And export __lll_lock_wait and __lll_lock_wait_private as GLIBC_PRIVATE. This should eliminate the need for the previous riscv kludge.
Diffstat (limited to 'sysdeps/riscv')
-rw-r--r--sysdeps/riscv/nptl/libc-lowlevellock.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sysdeps/riscv/nptl/libc-lowlevellock.c b/sysdeps/riscv/nptl/libc-lowlevellock.c
deleted file mode 100644
index 9523fb4..0000000
--- a/sysdeps/riscv/nptl/libc-lowlevellock.c
+++ /dev/null
@@ -1,8 +0,0 @@
-/* This kludge works around a libpthread static linking problem:
- https://sourceware.org/bugzilla/show_bug.cgi?id=15648. */
-
-#ifndef SHARED
-# define __lll_lock_wait_private weak_function __lll_lock_wait_private
-#endif
-
-#include <lowlevellock.c>