From: H.J. Lu Date: Sat, 16 Oct 2004 18:59:34 +0000 (+0000) Subject: 2004-10-16 H.J. Lu X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c0ab9d586b9f6a3049932bfe2b935270a9be7151;p=thirdparty%2Fbinutils-gdb.git 2004-10-16 H.J. Lu * elflink.c (elf_link_add_object_symbols): Also clear _cooked_size for warning sections. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9089d5e59c9..80e9bd1ee0a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2004-10-16 H.J. Lu + + * elflink.c (elf_link_add_object_symbols): Also clear + _cooked_size for warning sections. + 2004-09-07 Eric Botcazou Merge from mainline: diff --git a/bfd/elflink.c b/bfd/elflink.c index 253efd9a5cd..0353bdcb5f3 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -2948,6 +2948,7 @@ elf_link_add_object_symbols (bfd *abfd, struct bfd_link_info *info) the section size so that the warning does not get copied into the output file. */ s->_raw_size = 0; + s->_cooked_size = 0; continue; } } @@ -2974,6 +2975,7 @@ elf_link_add_object_symbols (bfd *abfd, struct bfd_link_info *info) /* Clobber the section size so that the warning does not get copied into the output file. */ s->_raw_size = 0; + s->_cooked_size = 0; } } }