This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed, PATCH] Remove elf_x86_64_next_tls_desc_index/elf_x86_64_srelplt2
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: binutils at sourceware dot org
- Date: Wed, 30 Aug 2017 05:30:17 -0700
- Subject: [committed, PATCH] Remove elf_x86_64_next_tls_desc_index/elf_x86_64_srelplt2
- Authentication-results: sourceware.org; auth=none
They are unused.
* elf64-x86-64.c (elf_x86_64_next_tls_desc_index): Removed.
(elf_x86_64_srelplt2): Likewise.
---
bfd/ChangeLog | 5 +++++
bfd/elf64-x86-64.c | 6 ------
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index f4b14012dc..bf509b6c50 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf64-x86-64.c (elf_x86_64_next_tls_desc_index): Removed.
+ (elf_x86_64_srelplt2): Likewise.
+
2017-08-30 Alan Modra <amodra@gmail.com>
* elf64-ppc.c (struct ppc_link_hash_table): Add do_tls_opt.
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index be8bf569bf..985f7f6d5c 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -1072,12 +1072,6 @@ struct elf_x86_64_link_hash_table
const struct elf_x86_64_non_lazy_plt_layout *non_lazy_plt;
};
-#define elf_x86_64_next_tls_desc_index(htab) \
- ((struct elf_x86_64_link_hash_table *) (htab))->next_tls_desc_index
-
-#define elf_x86_64_srelplt2(htab) \
- ((struct elf_x86_64_link_hash_table *) (htab))->srelplt2
-
#define elf_x86_64_plt(htab) \
((struct elf_x86_64_link_hash_table *) (htab))->plt
--
2.13.5