aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2012-04-20 09:52:13 -0700
committerPaul Pluzhnikov <ppluzhnikov@google.com>2012-04-20 09:52:13 -0700
commit0cec7c540760ebea988e6ec16062ef24f99a1472 (patch)
tree6913f2cfb36f695b7251f7dcb833c540cf49a5e1 /nptl/sysdeps
parentff3d51ec58e433ca725a1039f8558d64d2d80466 (diff)
downloadglibc-0cec7c540760ebea988e6ec16062ef24f99a1472.zip
glibc-0cec7c540760ebea988e6ec16062ef24f99a1472.tar.gz
glibc-0cec7c540760ebea988e6ec16062ef24f99a1472.tar.bz2
Delete unused TLS_GET_FS, TLS_SET_FS macros.
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/x86_64/tls.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/nptl/sysdeps/x86_64/tls.h b/nptl/sysdeps/x86_64/tls.h
index f644f0d..454c66a 100644
--- a/nptl/sysdeps/x86_64/tls.h
+++ b/nptl/sysdeps/x86_64/tls.h
@@ -1,5 +1,5 @@
/* Definition for thread-local data handling. nptl/x86_64 version.
- Copyright (C) 2002-2007, 2008, 2009, 2011 Free Software Foundation, Inc.
+ Copyright (C) 2002-2009, 2011-2012 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
@@ -133,13 +133,6 @@ typedef struct
(((tcbhead_t *) (descr))->dtv)
-/* Macros to load from and store into segment registers. */
-# define TLS_GET_FS() \
- ({ int __seg; __asm ("movl %%fs, %0" : "=q" (__seg)); __seg; })
-# define TLS_SET_FS(val) \
- __asm ("movl %0, %%fs" :: "q" (val))
-
-
/* Code to initially initialize the thread pointer. This might need
special attention since 'errno' is not yet available and if the
operation can cause a failure 'errno' must not be touched.