From aca1daef298b43bd7b1987b31f5aabcf6c2f6021 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 20 Jun 2016 14:31:40 +0200 Subject: elf: Consolidate machine-agnostic DTV definitions in Identical definitions of dtv_t and TLS_DTV_UNALLOCATED were repeated for all architectures using DTVs. --- sysdeps/mips/nptl/tls.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'sysdeps/mips/nptl') diff --git a/sysdeps/mips/nptl/tls.h b/sysdeps/mips/nptl/tls.h index 10ca878292..f5f4891bd8 100644 --- a/sysdeps/mips/nptl/tls.h +++ b/sysdeps/mips/nptl/tls.h @@ -25,20 +25,11 @@ # include # include # include +# include + /* Get system call information. */ # include -/* Type for the dtv. */ -typedef union dtv -{ - size_t counter; - struct - { - void *val; - bool is_static; - } pointer; -} dtv_t; - #ifdef __mips16 /* MIPS16 uses GCC builtin to access the TP. */ # define READ_THREAD_POINTER() (__builtin_thread_pointer ()) -- cgit 1.4.1