From b54d4b072212b616e6fe6a2089545a1dc54932a0 Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Tue, 29 Jun 2004 21:03:13 +0000 Subject: * elf32-xtensa.c (elf_xtensa_combine_prop_entries): Don't change the output section size. --- bfd/ChangeLog | 5 +++++ bfd/elf32-xtensa.c | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'bfd') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c181a37..ec9e832 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2004-06-29 Bob Wilson + + * elf32-xtensa.c (elf_xtensa_combine_prop_entries): Don't change the + output section size. + 2004-06-29 Alan Modra * elf64-mmix.c (mmix_set_relaxable_size): Save original size in diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c index 438e17b..c84dd34 100644 --- a/bfd/elf32-xtensa.c +++ b/bfd/elf32-xtensa.c @@ -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)) -- cgit v1.1