OSDN Git Service

* elf32-sparc.c (elf32_sparc_finish_dynamic_sections): Clear
authorjakub <jakub>
Thu, 19 Feb 2004 11:01:39 +0000 (11:01 +0000)
committerjakub <jakub>
Thu, 19 Feb 2004 11:01:39 +0000 (11:01 +0000)
.plt sh_entsize.

bfd/ChangeLog
bfd/elf32-sparc.c

index af6c0f3..f820b9a 100644 (file)
@@ -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.
index c20e403..74b0782 100644 (file)
@@ -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