[v2,14/14] nptl: Remove unused rules

Message ID 20210319202914.2475530-15-adhemerval.zanella@linaro.org
State Committed
Commit 7ab232e081ffd4175b59d64619a30bf8062df097
Headers
Series libpthread removal: pthread-compat-wrappers and other libc symbols |

Commit Message

Adhemerval Zanella March 19, 2021, 8:29 p.m. UTC
  The wrapper are not exported by libpthread.
---
 nptl/Makefile | 5 -----
 1 file changed, 5 deletions(-)
  

Comments

Florian Weimer March 25, 2021, 3:33 p.m. UTC | #1
* Adhemerval Zanella via Libc-alpha:

> The wrapper are not exported by libpthread.
> ---
>  nptl/Makefile | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/nptl/Makefile b/nptl/Makefile
> index 3c607899b0..8fe92d43fa 100644
> --- a/nptl/Makefile
> +++ b/nptl/Makefile
> @@ -266,11 +266,6 @@ CFLAGS-sem_wait.c += -fexceptions -fasynchronous-unwind-tables
>  CFLAGS-sem_timedwait.c += -fexceptions -fasynchronous-unwind-tables
>  CFLAGS-sem_clockwait.c = -fexceptions -fasynchronous-unwind-tables
>  
> -# These are the function wrappers we have to duplicate here.
> -CFLAGS-lockf.c += -fexceptions
> -CFLAGS-sigwait.c += -fexceptions -fasynchronous-unwind-tables
> -CFLAGS-fdatasync.c += -fexceptions -fasynchronous-unwind-tables
> -
>  CFLAGS-futex-internal.c += -fexceptions -fasynchronous-unwind-tables
>  
>  LDLIBS-tst-once5 = -lstdc++

This one is okay, too.  Thanks.
  

Patch

diff --git a/nptl/Makefile b/nptl/Makefile
index 3c607899b0..8fe92d43fa 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -266,11 +266,6 @@  CFLAGS-sem_wait.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-sem_timedwait.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-sem_clockwait.c = -fexceptions -fasynchronous-unwind-tables
 
-# These are the function wrappers we have to duplicate here.
-CFLAGS-lockf.c += -fexceptions
-CFLAGS-sigwait.c += -fexceptions -fasynchronous-unwind-tables
-CFLAGS-fdatasync.c += -fexceptions -fasynchronous-unwind-tables
-
 CFLAGS-futex-internal.c += -fexceptions -fasynchronous-unwind-tables
 
 LDLIBS-tst-once5 = -lstdc++