From 7ddac7f265d3db6888c68b04b86e265d15859ce5 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 14 Nov 2017 19:10:38 -0200 Subject: nptl: Add default pthread-offsets.h This patch adds a default pthread-offsets.h based on default thread definitions from struct_mutex.h and struct_rwlock.h. The idea is to simplify new ports inclusion. Checked with a build on affected abis. Change-Id: I7785a9581e651feb80d1413b9e03b5ac0452668a --- sysdeps/riscv/nptl/pthread-offsets.h | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 sysdeps/riscv/nptl/pthread-offsets.h (limited to 'sysdeps/riscv') diff --git a/sysdeps/riscv/nptl/pthread-offsets.h b/sysdeps/riscv/nptl/pthread-offsets.h deleted file mode 100644 index 4f14276f9c..0000000000 --- a/sysdeps/riscv/nptl/pthread-offsets.h +++ /dev/null @@ -1,22 +0,0 @@ -/* RISC-V pthread offsets - Copyright (C) 2017-2019 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 - . */ - -#define __PTHREAD_MUTEX_KIND_OFFSET 16 - -#define __PTHREAD_RWLOCK_FLAGS_OFFSET 48 -- cgit 1.4.1