Create PLT eh_frame section if there is .eh_frame section
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 22 May 2012 14:46:44 +0000 (14:46 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 22 May 2012 14:46:44 +0000 (14:46 +0000)
commit5d4f7eb2f0a24d5211810fba26603962af5b2e5a
treebc9cf26a1620d223d770ce4e1f7223c73695e273
parent2fe0fd0638dafee893dcb791036a49e5a6988954
Create PLT eh_frame section if there is .eh_frame section

bfd/

PR ld/13909
* elf32-i386.c (elf_i386_create_dynamic_sections): Create PLT
eh_frame section if there is an input .eh_frame section.
* elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise.

ld/testsuite/

PR ld/13909
* ld-i386/i386.exp: Run pr13909.
* ld-x86-64/x86-64.exp: Likewise.

* ld-i386/dummy.s: New file.
* ld-i386/pr13909.d: Likewise.
* ld-x86-64/pr13909.d: Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-i386/dummy.s [new file with mode: 0644]
ld/testsuite/ld-i386/i386.exp
ld/testsuite/ld-i386/pr13909.d [new file with mode: 0644]
ld/testsuite/ld-x86-64/pr13909.d [new file with mode: 0644]
ld/testsuite/ld-x86-64/x86-64.exp