summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-02-19 11:01:39 +0000
committerJakub Jelinek <jakub@redhat.com>2004-02-19 11:01:39 +0000
commit803769322dd9dcc4c0ca8dce6799d8a1e6a3d912 (patch)
tree859fd6819f2a5aa65bbab1d84f86d52611a2512d
parent03c30bb59025fb1931e7329fb757423b2affc805 (diff)
downloadbinutils-redhat-803769322dd9dcc4c0ca8dce6799d8a1e6a3d912.tar.gz
* elf32-sparc.c (elf32_sparc_finish_dynamic_sections): Clear
.plt sh_entsize.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-sparc.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index af6c0f3370..f820b9a07f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-19 Jakub Jelinek <jakub@redhat.com>
+
+ * elf32-sparc.c (elf32_sparc_finish_dynamic_sections): Clear
+ .plt sh_entsize.
+
2004-02-18 Daniel Jacobowitz <drow@mvista.com>
* configure.in: Update version to 2.15.90.
diff --git a/bfd/elf32-sparc.c b/bfd/elf32-sparc.c
index c20e403588..74b0782d1d 100644
--- a/bfd/elf32-sparc.c
+++ b/bfd/elf32-sparc.c
@@ -3283,8 +3283,7 @@ elf32_sparc_finish_dynamic_sections (output_bfd, info)
splt->contents + splt->_raw_size - 4);
}
- elf_section_data (splt->output_section)->this_hdr.sh_entsize =
- PLT_ENTRY_SIZE;
+ elf_section_data (splt->output_section)->this_hdr.sh_entsize = 0;
}
/* Set the first entry in the global offset table to the address of