PR29613, use of uninitialized value in objcopy
authorAlan Modra <amodra@gmail.com>
Mon, 26 Sep 2022 08:55:24 +0000 (18:25 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 26 Sep 2022 09:02:46 +0000 (18:32 +0930)
commitc7afb87bea33c27c7e669b94275fb8c22d6f43bc
tree9bbe3cbc95caf02ee37a6c6dda0bb2b745cfaf69
parentc21736aed1d4877e090df60362413669dbdc391d
PR29613, use of uninitialized value in objcopy

PR 29613
* elf.c (_bfd_elf_write_secondary_reloc_section): Trim sh_size
back to relocs written.  Use better types for vars.
bfd/elf.c