about summary refs log tree commit diff
path: root/sysdeps/arm
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-12-16 10:32:38 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-12-17 17:47:29 -0300
commit691d9ae9e6f3bcb03516024181309ee3fda06c79 (patch)
treef23f03ada3b15ec98ac65c3bb4dad2ad546d20a7 /sysdeps/arm
parent225da459cebef1037dcd78b56471edc0721e1c41 (diff)
downloadglibc-691d9ae9e6f3bcb03516024181309ee3fda06c79.tar.gz
glibc-691d9ae9e6f3bcb03516024181309ee3fda06c79.tar.xz
glibc-691d9ae9e6f3bcb03516024181309ee3fda06c79.zip
Remove ununsed tcb-offset
Some architectures do not use the auto-generated tcb-offsets.h.
Diffstat (limited to 'sysdeps/arm')
-rw-r--r--sysdeps/arm/nptl/Makefile4
-rw-r--r--sysdeps/arm/nptl/tcb-offsets.sym10
-rw-r--r--sysdeps/arm/nptl/tls.h3
3 files changed, 0 insertions, 17 deletions
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
 # <https://www.gnu.org/licenses/>.
 
-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 <sysdep.h>
-#include <tls.h>
-
---
-
--- 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 <stddef.h>
 # include <stdint.h>
 # include <dl-dtv.h>
-
-#else /* __ASSEMBLER__ */
-# include <tcb-offsets.h>
 #endif /* __ASSEMBLER__ */