summaryrefslogtreecommitdiff
path: root/bfd/elf32-nios2.c
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2013-06-22 19:57:42 +0000
committerSandra Loosemore <sandra@codesourcery.com>2013-06-22 19:57:42 +0000
commitfb2e9a8486bba186810811a7a0f880699f3157d8 (patch)
tree1864f2e3b2f72ab306ec7a581a6da1ce8ed70a47 /bfd/elf32-nios2.c
parentd4e5ccc4f41ced3661cbe3431420422dbde85e14 (diff)
downloadgdb-fb2e9a8486bba186810811a7a0f880699f3157d8.tar.gz
2013-06-22 Sandra Loosemore <sandra@codesourcery.com>
bfd/ * elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Don't set sh_entsize for PLT section.
Diffstat (limited to 'bfd/elf32-nios2.c')
-rw-r--r--bfd/elf32-nios2.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/bfd/elf32-nios2.c b/bfd/elf32-nios2.c
index eb472c16dc2..a6c67201a89 100644
--- a/bfd/elf32-nios2.c
+++ b/bfd/elf32-nios2.c
@@ -3264,9 +3264,6 @@ nios2_elf32_finish_dynamic_sections (bfd *output_bfd,
nios2_elf32_install_imm16 (splt, 4, hiadj (corrected));
nios2_elf32_install_imm16 (splt, 12, (corrected & 0xffff) + 4);
nios2_elf32_install_imm16 (splt, 16, (corrected & 0xffff) + 8);
-
- elf_section_data (splt->output_section)->this_hdr.sh_entsize
- = 24;
}
else
{
@@ -3292,9 +3289,6 @@ nios2_elf32_finish_dynamic_sections (bfd *output_bfd,
(got_address & 0xffff) + 4);
nios2_elf32_install_imm16 (splt, res_size + 20,
(got_address & 0xffff) + 8);
-
- elf_section_data (splt->output_section)->this_hdr.sh_entsize
- = 28 + res_size;
}
}
}