diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-12-16 10:32:38 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-12-17 17:47:29 -0300 |
commit | 691d9ae9e6f3bcb03516024181309ee3fda06c79 (patch) | |
tree | f23f03ada3b15ec98ac65c3bb4dad2ad546d20a7 /sysdeps/csky | |
parent | 225da459cebef1037dcd78b56471edc0721e1c41 (diff) | |
download | glibc-691d9ae9e6f3bcb03516024181309ee3fda06c79.tar.gz |
Remove ununsed tcb-offset
Some architectures do not use the auto-generated tcb-offsets.h.
Diffstat (limited to 'sysdeps/csky')
-rw-r--r-- | sysdeps/csky/Makefile | 4 | ||||
-rw-r--r-- | sysdeps/csky/nptl/Makefile | 20 | ||||
-rw-r--r-- | sysdeps/csky/nptl/tcb-offsets.sym | 10 | ||||
-rw-r--r-- | sysdeps/csky/nptl/tls.h | 1 |
4 files changed, 0 insertions, 35 deletions
diff --git a/sysdeps/csky/Makefile b/sysdeps/csky/Makefile index 0db09dccce..1ced510c2d 100644 --- a/sysdeps/csky/Makefile +++ b/sysdeps/csky/Makefile @@ -1,7 +1,3 @@ -ifeq ($(subdir),csu) -gen-as-const-headers += tcb-offsets.sym -endif - ASFLAGS-.os += $(pic-ccflag) ifeq ($(subdir),gmon) diff --git a/sysdeps/csky/nptl/Makefile b/sysdeps/csky/nptl/Makefile deleted file mode 100644 index a16a8b63ca..0000000000 --- a/sysdeps/csky/nptl/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright (C) 2018-2021 Free Software Foundation, Inc. -# This file is part of the GNU C Library. -# -# The GNU C Library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# The GNU C Library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# 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 diff --git a/sysdeps/csky/nptl/tcb-offsets.sym b/sysdeps/csky/nptl/tcb-offsets.sym deleted file mode 100644 index f1105205c0..0000000000 --- a/sysdeps/csky/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/csky/nptl/tls.h b/sysdeps/csky/nptl/tls.h index 64dcaec279..afd1b3bbb7 100644 --- a/sysdeps/csky/nptl/tls.h +++ b/sysdeps/csky/nptl/tls.h @@ -34,7 +34,6 @@ __result; }) #else -# include <tcb-offsets.h> /* Define r31 as thread pointer register. */ # define READ_THREAD_POINTER() \ mov r0, r31; |