* sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Remove
authorRoland McGrath <roland@gnu.org>
Fri, 27 Sep 2002 08:29:54 +0000 (08:29 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 27 Sep 2002 08:29:54 +0000 (08:29 +0000)
unneeded TLS cases.

ChangeLog
sysdeps/x86_64/dl-machine.h

index f7e54f5..16e3fc3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-27  Roland McGrath  <roland@redhat.com>
+
+       * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Remove
+       unneeded TLS cases.
+
 2002-09-27  Jakub Jelinek  <jakub@redhat.com>
 
        * elf/dl-addr.c (_dl_addr): Set dli_fbase to l_map_start
index 6179bba..b555236 100644 (file)
@@ -289,12 +289,11 @@ _dl_start_user:\n\
    ELF_RTYPE_CLASS_NOCOPY iff TYPE should not be allowed to resolve to one
    of the main executable's symbols, as for a COPY reloc.  */
 #ifdef USE_TLS
-# define elf_machine_type_class(type) \
-  ((((type) == R_X86_64_JUMP_SLOT
-     || (type) == R_X86_64_DTPMOD64
-     || (type) == R_X86_64_DTPOFF64 || (type) == R_X86_64_DTPOFF32
-     || (type) == R_X86_64_TPOFF64 || (type) == R_X86_64_TPOFF32)
-    * ELF_RTYPE_CLASS_PLT)  \
+# define elf_machine_type_class(type)                                        \
+  ((((type) == R_X86_64_JUMP_SLOT                                            \
+     || (type) == R_X86_64_DTPMOD64                                          \
+     || (type) == R_X86_64_DTPOFF64 || (type) == R_X86_64_TPOFF64)           \
+    * ELF_RTYPE_CLASS_PLT)                                                   \
    | (((type) == R_X86_64_COPY) * ELF_RTYPE_CLASS_COPY))
 #else
 # define elf_machine_type_class(type) \