i386/x32: Align .eh_frame section to 4 bytes
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 10 Jan 2017 22:18:11 +0000 (14:18 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 10 Jan 2017 22:21:21 +0000 (14:21 -0800)
commit52b232b366355b1d0a9d2721e55a6b2b96789b00
treea9075fb3400689a133b6fb9dae2314c9be47c25c
parent59a1e29d9e1fc7ed31e66d51899ada46e5dd9a56
i386/x32: Align .eh_frame section to 4 bytes

.eh_frame section covering PLT sections should be aligned to 4 bytes
for i386 and x32.

bfd/

* elf32-i386.c (elf_i386_check_relocs): Align .eh_frame section
to 4 bytes.
* elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Align
.eh_frame section to 4 bytes for x32.
(elf_x86_64_check_relocs): Likewise.

ld/

* testsuite/ld-x86-64/pr20830b.d: Updated.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
ld/ChangeLog
ld/testsuite/ld-x86-64/pr20830b.d