summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-08-30 05:29:22 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-08-30 05:29:22 -0700
commit0f2425c4c8fdaa7822555bbb61468b46d4e4af20 (patch)
tree60b0fd1e63d65ca8e78dc463d21b6c17815ca543
parent443701f5098e8c069d5858ca597bf7a8ba4a8006 (diff)
downloadbinutils-gdb-0f2425c4c8fdaa7822555bbb61468b46d4e4af20.tar.gz
Remove elf_x86_64_next_tls_desc_index/elf_x86_64_srelplt2
They are unused. * elf64-x86-64.c (elf_x86_64_next_tls_desc_index): Removed. (elf_x86_64_srelplt2): Likewise.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf64-x86-64.c6
2 files changed, 5 insertions, 6 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index f4b14012dcc..bf509b6c506 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 be8bf569bf4..985f7f6d5cd 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