From 691d9ae9e6f3bcb03516024181309ee3fda06c79 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Thu, 16 Dec 2021 10:32:38 -0300 Subject: Remove ununsed tcb-offset Some architectures do not use the auto-generated tcb-offsets.h. --- sysdeps/arm/nptl/Makefile | 4 ---- sysdeps/arm/nptl/tcb-offsets.sym | 10 ---------- sysdeps/arm/nptl/tls.h | 3 --- 3 files changed, 17 deletions(-) delete mode 100644 sysdeps/arm/nptl/tcb-offsets.sym (limited to 'sysdeps/arm') diff --git a/sysdeps/arm/nptl/Makefile b/sysdeps/arm/nptl/Makefile index 44154bff37..2e8efe7170 100644 --- a/sysdeps/arm/nptl/Makefile +++ b/sysdeps/arm/nptl/Makefile @@ -15,10 +15,6 @@ # License along with the GNU C Library. If not, see # . -ifeq ($(subdir),csu) -gen-as-const-headers += tcb-offsets.sym -endif - ifeq ($(subdir),nptl) # This test relies on compiling part of the binary with EH information, # part without, and unwinding through. The .ARM.exidx tables have diff --git a/sysdeps/arm/nptl/tcb-offsets.sym b/sysdeps/arm/nptl/tcb-offsets.sym deleted file mode 100644 index bf9c0a1c17..0000000000 --- a/sysdeps/arm/nptl/tcb-offsets.sym +++ /dev/null @@ -1,10 +0,0 @@ -#include -#include - --- - --- Derive offsets relative to the thread register. -#define thread_offsetof(mem) (long)(offsetof(struct pthread, mem) - sizeof(struct pthread)) - -MULTIPLE_THREADS_OFFSET thread_offsetof (header.multiple_threads) -TID_OFFSET thread_offsetof (tid) diff --git a/sysdeps/arm/nptl/tls.h b/sysdeps/arm/nptl/tls.h index 57e039fc0f..9662da39ab 100644 --- a/sysdeps/arm/nptl/tls.h +++ b/sysdeps/arm/nptl/tls.h @@ -26,9 +26,6 @@ # include # include # include - -#else /* __ASSEMBLER__ */ -# include #endif /* __ASSEMBLER__ */ -- cgit v1.2.3-70-g09d2