aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-sparc.c
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
commita8a6d7cef4feec69589446caa82f1236e3e3f6d6 (patch)
treedfe92f80e41107ae1463fc9b0da7cf7467907766 /bfd/elf32-sparc.c
parent9c59842f2a6340d2a121975cfb7420e860dff1e0 (diff)
downloadgdb-a8a6d7cef4feec69589446caa82f1236e3e3f6d6.zip
gdb-a8a6d7cef4feec69589446caa82f1236e3e3f6d6.tar.gz
gdb-a8a6d7cef4feec69589446caa82f1236e3e3f6d6.tar.bz2
* elf32-sparc.c (elf32_sparc_finish_dynamic_sections): Clear
.plt sh_entsize.
Diffstat (limited to 'bfd/elf32-sparc.c')
-rw-r--r--bfd/elf32-sparc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elf32-sparc.c b/bfd/elf32-sparc.c
index c20e403..74b0782 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