* objcopy.c (setup_section): Copy entsize.
authorJakub Jelinek <jakub@redhat.com>
Mon, 10 Dec 2001 11:03:54 +0000 (11:03 +0000)
committerJakub Jelinek <jakub@redhat.com>
Mon, 10 Dec 2001 11:03:54 +0000 (11:03 +0000)
binutils/ChangeLog
binutils/objcopy.c

index fa3b1a95d1ba4f48a55b77519120587630b87e61..0969acafc5943bcf916ccbfcf46289684b5cbadd 100644 (file)
@@ -1,3 +1,7 @@
+2001-12-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * objcopy.c (setup_section): Copy entsize.
+
 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
 
        * readelf.c (guess_is_rela): Add support for stormy16.
index b42fbe90d51003b37c81a41bf3eacf1b6b668804..6ce7e91cd70ca731872aacd0621bdefe45a28be1 100644 (file)
@@ -1602,6 +1602,9 @@ setup_section (ibfd, isection, obfdarg)
       goto loser;
     }
 
+  /* Copy merge entity size.  */
+  osection->entsize = isection->entsize;
+
   /* This used to be mangle_section; we do here to avoid using
      bfd_get_section_by_name since some formats allow multiple
      sections with the same name.  */