diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-09-02 11:18:30 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-09-02 11:18:30 -0700 |
commit | 92c10f5f61e8342eda76fb6927dcc1c885eda96a (patch) | |
tree | 81ca88bff8f8e3258d735f1172d5a40707807960 /include/os9k.h | |
parent | aa595247af472bb95bcd36c166335c851e3e752d (diff) | |
download | fsf-binutils-gdb-92c10f5f61e8342eda76fb6927dcc1c885eda96a.zip fsf-binutils-gdb-92c10f5f61e8342eda76fb6927dcc1c885eda96a.tar.gz fsf-binutils-gdb-92c10f5f61e8342eda76fb6927dcc1c885eda96a.tar.bz2 |
i386: Update sgotplt_jump_table_size setting
elf_i386_size_dynamic_sections has
htab->next_tls_desc_index = htab->elf.srelplt->reloc_count;
htab->sgotplt_jump_table_size = htab->next_tls_desc_index * 4;
This patch changes it to
htab->sgotplt_jump_table_size
= elf_x86_compute_jump_table_size (htab)
Since elf_x86_compute_jump_table_size is defined as
((htab)->elf.srelplt->reloc_count * (htab)->got_entry_size)
there is no change in output. It makes elf_i386_size_dynamic_sections
the same as elf_x86_64_size_dynamic_sections.
* elf32-i386.c (elf_i386_size_dynamic_sections): Set
sgotplt_jump_table_size with elf_x86_compute_jump_table_size.
Diffstat (limited to 'include/os9k.h')
0 files changed, 0 insertions, 0 deletions