diff options
author | Bob Wilson <bob.wilson@acm.org> | 2004-06-29 21:03:13 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@acm.org> | 2004-06-29 21:03:13 +0000 |
commit | b54d4b072212b616e6fe6a2089545a1dc54932a0 (patch) | |
tree | 2f5047efa29c59d6667030c6bead398834b325c6 /bfd/elf32-xtensa.c | |
parent | 4d1cd5c7c2db336f54221d310c95be8c3c80a247 (diff) | |
download | gdb-b54d4b072212b616e6fe6a2089545a1dc54932a0.zip gdb-b54d4b072212b616e6fe6a2089545a1dc54932a0.tar.gz gdb-b54d4b072212b616e6fe6a2089545a1dc54932a0.tar.bz2 |
* elf32-xtensa.c (elf_xtensa_combine_prop_entries): Don't change the
output section size.
Diffstat (limited to 'bfd/elf32-xtensa.c')
-rw-r--r-- | bfd/elf32-xtensa.c | 5 |
1 files changed, 1 insertions, 4 deletions
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)) |