* elf32-xtensa.c (elf_xtensa_combine_prop_entries): Don't change the

output section size.
This commit is contained in:
Bob Wilson 2004-06-29 21:03:13 +00:00
parent 4d1cd5c7c2
commit b54d4b0722
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2004-06-29 Bob Wilson <bob.wilson@acm.org>
* elf32-xtensa.c (elf_xtensa_combine_prop_entries): Don't change the
output section size.
2004-06-29 Alan Modra <amodra@bigpond.net.au>
* elf64-mmix.c (mmix_set_relaxable_size): Save original size in

View File

@ -2277,10 +2277,7 @@ elf_xtensa_combine_prop_entries (output_bfd, sxtlit, sgotloc)
/* Clear the removed bytes. */
if ((bfd_size_type) (num * 8) < section_size)
{
memset (&contents[num * 8], 0, section_size - num * 8);
sxtlit->size = num * 8;
}
memset (&contents[num * 8], 0, section_size - num * 8);
if (! bfd_set_section_contents (output_bfd, sxtlit, contents, 0,
section_size))