]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
nptl: Move futex-internal.c into main nptl directory
authorFlorian Weimer <fweimer@redhat.com>
Mon, 22 Feb 2021 17:30:52 +0000 (18:30 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 22 Feb 2021 17:30:52 +0000 (18:30 +0100)
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
nptl/Makefile
nptl/futex-internal.c [moved from sysdeps/nptl/futex-internal.c with 100% similarity]
sysdeps/nptl/Makefile

index 94c3873623176858fdddec928906aa564b7a453a..5a7558d943071c31db8c9298518504597372ed96 100644 (file)
@@ -97,6 +97,7 @@ libpthread-routines = \
   flockfile \
   ftrylockfile \
   funlockfile \
+  futex-internal \
   herrno \
   libpthread-compat \
   lowlevellock \
@@ -314,6 +315,8 @@ CFLAGS-fsync.c += -fexceptions -fasynchronous-unwind-tables
 
 CFLAGS-pt-system.c += -fexceptions
 
+CFLAGS-futex-internal.c += -fexceptions -fasynchronous-unwind-tables
+
 LDLIBS-tst-once5 = -lstdc++
 CFLAGS-tst-thread_local1.o = -std=gnu++11
 LDLIBS-tst-thread_local1 = -lstdc++
index bdba75d85f989c807631c735dd617ed2e247cfcf..adcced422be032c4198515ab8c9873b8b846f659 100644 (file)
@@ -17,8 +17,7 @@
 # <https://www.gnu.org/licenses/>.
 
 ifeq ($(subdir),nptl)
-libpthread-sysdep_routines += errno-loc futex-internal
-CFLAGS-futex-internal.c += -fexceptions -fasynchronous-unwind-tables
+libpthread-sysdep_routines += errno-loc
 endif
 
 ifeq ($(subdir),rt)