From bd586261169549936444e4b09a7daa85ce1693f5 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 10 Dec 2001 11:03:54 +0000 Subject: [PATCH] * objcopy.c (setup_section): Copy entsize. --- binutils/ChangeLog | 4 ++++ binutils/objcopy.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index fa3b1a95d..0969acafc 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2001-12-10 Jakub Jelinek + + * objcopy.c (setup_section): Copy entsize. + 2001-12-07 Geoffrey Keating * readelf.c (guess_is_rela): Add support for stormy16. diff --git a/binutils/objcopy.c b/binutils/objcopy.c index b42fbe90d..6ce7e91cd 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. */ -- 2.11.4.GIT