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/riscv/nptl/Makefile | 21 --------------------- sysdeps/riscv/nptl/tcb-offsets.sym | 6 ------ 2 files changed, 27 deletions(-) delete mode 100644 sysdeps/riscv/nptl/Makefile delete mode 100644 sysdeps/riscv/nptl/tcb-offsets.sym (limited to 'sysdeps/riscv') diff --git a/sysdeps/riscv/nptl/Makefile b/sysdeps/riscv/nptl/Makefile deleted file mode 100644 index cca67db..0000000 --- a/sysdeps/riscv/nptl/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for sysdeps/riscv/nptl. -# Copyright (C) 2005-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 -# . - -ifeq ($(subdir),csu) -gen-as-const-headers += tcb-offsets.sym -endif diff --git a/sysdeps/riscv/nptl/tcb-offsets.sym b/sysdeps/riscv/nptl/tcb-offsets.sym deleted file mode 100644 index ab4981f..0000000 --- a/sysdeps/riscv/nptl/tcb-offsets.sym +++ /dev/null @@ -1,6 +0,0 @@ -#include -#include - -#define thread_offsetof(mem) (long)(offsetof (struct pthread, mem) - TLS_TCB_OFFSET - TLS_PRE_TCB_SIZE) - -MULTIPLE_THREADS_OFFSET thread_offsetof (header.multiple_threads) -- cgit v1.1