Set .plt entry size to 0 in elf32-hppa.c
This commit is contained in:
parent
d8f16f3e9f
commit
f3c3938c1c
2 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2015-09-12 Helge Deller <deller@gmx.de>
|
||||||
|
|
||||||
|
PR ld/18514
|
||||||
|
* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Set .plt entry
|
||||||
|
size to 0.
|
||||||
|
|
||||||
2015-09-09 Jiong Wang <jiong.wang@arm.com>
|
2015-09-09 Jiong Wang <jiong.wang@arm.com>
|
||||||
|
|
||||||
* elfnn-aarch64.c (IS_AARCH64_TLS_RELAX_RELOC): Sort alphabetically.
|
* elfnn-aarch64.c (IS_AARCH64_TLS_RELAX_RELOC): Sort alphabetically.
|
||||||
|
|
|
@ -4585,9 +4585,10 @@ elf32_hppa_finish_dynamic_sections (bfd *output_bfd,
|
||||||
|
|
||||||
if (htab->splt != NULL && htab->splt->size != 0)
|
if (htab->splt != NULL && htab->splt->size != 0)
|
||||||
{
|
{
|
||||||
/* Set plt entry size. */
|
/* Set plt entry size to 0 instead of PLT_ENTRY_SIZE, since we add the
|
||||||
elf_section_data (htab->splt->output_section)
|
plt stubs and as such the section does not hold a table of fixed-size
|
||||||
->this_hdr.sh_entsize = PLT_ENTRY_SIZE;
|
entries. */
|
||||||
|
elf_section_data (htab->splt->output_section)->this_hdr.sh_entsize = 0;
|
||||||
|
|
||||||
if (htab->need_plt_stub)
|
if (htab->need_plt_stub)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue