Don't use elf_i386_eh_frame_plt directly
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 10 Jan 2017 19:30:25 +0000 (11:30 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 10 Jan 2017 19:30:25 +0000 (11:30 -0800)
commitf129e49f4d07f4d36319ac757fdcf3a8ce7d605b
treea1481c3a22710d99770720d1bedd1bc782c15543
parente92372274e77fc0ce87f35a833de8a60d733580a
Don't use elf_i386_eh_frame_plt directly

Use eh_frame_plt_size and eh_frame_plt from elf_i386_plt_layout for
.eh_frame covering the .plt section.

* elf32-i386.c (elf_i386_size_dynamic_sections): Set
plt_eh_frame->size to eh_frame_plt_size and use eh_frame_plt.
bfd/ChangeLog
bfd/elf32-i386.c