about summary refs log tree commit diff
path: root/sysdeps/x86_64/dl-tls.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-09-29 10:38:40 +0000
committerRoland McGrath <roland@gnu.org>2002-09-29 10:38:40 +0000
commit5bbfc1ea7069630149c5fc1b3cec4a044d43a9cd (patch)
treee7839a54415204305359b7835c6be050c283a197 /sysdeps/x86_64/dl-tls.h
parent3c25964fb000ed7f6bd4ec30d02b3819c581b4b3 (diff)
downloadglibc-5bbfc1ea7069630149c5fc1b3cec4a044d43a9cd.tar.gz
glibc-5bbfc1ea7069630149c5fc1b3cec4a044d43a9cd.tar.xz
glibc-5bbfc1ea7069630149c5fc1b3cec4a044d43a9cd.zip
* configure: Regenerated after aclocal.m4 change.
	* sysdeps/x86_64/sysdep.h [HAVE_ELF] (L): Define with .L##name form.
	* sysdeps/unix/sysv/linux/x86_64/sysdep.h (L): Don't define it here.

	* sysdeps/generic/dl-lookupcfg.h [USE_TLS] (DL_LOOKUP_RETURNS_MAP):
	Define it, because _dl_sym presumes it (for any platform).

	* sysdeps/x86_64/dl-tls.h: New file.

	* sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add a cast.

	* sysdeps/x86_64/elf/configure.in: New file.
	* sysdeps/x86_64/elf/configure: New generated file.
Diffstat (limited to 'sysdeps/x86_64/dl-tls.h')
-rw-r--r--sysdeps/x86_64/dl-tls.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/sysdeps/x86_64/dl-tls.h b/sysdeps/x86_64/dl-tls.h
new file mode 100644
index 0000000000..3e4768dc1f
--- /dev/null
+++ b/sysdeps/x86_64/dl-tls.h
@@ -0,0 +1,29 @@
+/* Thread-local storage handling in the ELF dynamic linker.  x86-64 version.
+   Copyright (C) 2002 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, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+
+/* Type used for the representation of TLS information in the GOT.  */
+typedef struct
+{
+  unsigned long int ti_module;
+  unsigned long int ti_offset;
+} tls_index;
+
+
+extern void *__tls_get_addr (tls_index *ti);