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
commit9cdcc354541590c6324f2a96dc96167b8c90c1a9 (patch)
tree901a9e69568346df02970397316859e66fea6c93 /bfd/elf32-nios2.c
parentb08fa1d370c394b6febdf3fc89320f50d888ebab (diff)
downloadbinutils-redhat-9cdcc354541590c6324f2a96dc96167b8c90c1a9.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 eb472c16dc..a6c67201a8 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;
}
}
}