Add padding to the plt section so that its size is a multiple of its
authorWalter Lee <walt@tilera.com>
Tue, 28 Aug 2012 06:28:31 +0000 (06:28 +0000)
committerWalter Lee <walt@tilera.com>
Tue, 28 Aug 2012 06:28:31 +0000 (06:28 +0000)
commit663b5850121926ab9d7685c4c4f2961ab65adcb8
tree40b695eafb405e53120578af6d9dd8d502954bb8
parente5b95258d9dd1ecc4a53baf56308ce78f19f4904
Add padding to the plt section so that its size is a multiple of its
entry size.
* elf32-tilepro.c (allocate_dynrelocs): Use PLT_ENTRY_SIZE as size
of header.
(tilepro_plt_entry_build): Account for new header size.
(tilepro_elf_finish_dynamic_sections): Ditto.
(tilepro_elf_plt_sym_val): Ditto.
* elfxx-tilegx.c (allocate_dynrelocs): Use PLT_ENTRY_SIZE as size
of header + tail.
(tilegx_elf_finish_dynamic_sections): Account for new padding.
bfd/ChangeLog
bfd/elf32-tilepro.c
bfd/elfxx-tilegx.c