diff options
author | Jakub Jelinek <jakub@redhat.com> | 2001-12-10 11:03:54 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2001-12-10 11:03:54 +0000 |
commit | bc408b8a7828191e93b12aa1b7131f8895bb516a (patch) | |
tree | acd55bec080722cddbacdc68876f21fd9a6991c8 /binutils/objcopy.c | |
parent | 762a036f9a59530b89d855206bfdf9e25ee91c73 (diff) | |
download | gdb-bc408b8a7828191e93b12aa1b7131f8895bb516a.zip gdb-bc408b8a7828191e93b12aa1b7131f8895bb516a.tar.gz gdb-bc408b8a7828191e93b12aa1b7131f8895bb516a.tar.bz2 |
* objcopy.c (setup_section): Copy entsize.
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r-- | binutils/objcopy.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c index b42fbe9..6ce7e91 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -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. */ |