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.
This commit is contained in:
H.J. Lu 2017-08-30 05:29:22 -07:00
parent 443701f509
commit 0f2425c4c8
2 changed files with 5 additions and 6 deletions

View File

@ -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.

View File

@ -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